Function at 0x52ab90
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ecx, edi
call fcn.00530350
mov ecx, dword [edi + 0x28]
mov edx, 0x39
cmp ecx, edx
jne 0x52abed
test al, al
jne 0x52abed
mov eax, dword [edi + 8]
cmp eax, 0x2bc
jle 0x52abe7
cmp eax, 0x2d0
jg 0x52abe7
fld dword [0x688804]
push ecx
fstp dword [edi + 0x34]
mov dword [edi + 0x28], 0x3a
fld dword [0x688a48]
fstp dword [esp]
push 0x14
push 3
push str.anim_jumpinpool
call fcn.0052cf70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ecx, 0x3a
jne 0x52ada6
mov esi, dword [edi]
mov eax, dword [esi + 0x820]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x118]
and eax, 0xffff
lea ebp, [eax + eax*4]
shl ebp, 5
add ebp, dword [ecx]
fld dword [ebp + 4]
fld qword [0x6888f0]
fmul st(1), st(0)
fxch st(1)
call fcn.00643d70
mov dword [esp + 0x10], eax
fidivr dword [esp + 0x10]
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x52ac45
fstp st(0)
jmp 0x52ac6c
fstp st(1)
fld1
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x52ac5c
fstp st(0)
fld dword [0x688940]
jmp 0x52ac6c
fld qword [0x688618]
fldz
fsub st(1), st(0)
fxch st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
mov ecx, ebp
fstp dword [edi + 0x84]
fld dword [0x6893c0]
fstp dword [esp]
call fcn.00477710
test al, al
je 0x52ad70
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 8]
add eax, 0x49
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
add edx, 1
push edx
sub esp, 8
sub ecx, 0x2f
fstp dword [esp + 4]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
mov ebx, 0x20
mov eax, esi
fstp dword [esp]
call fcn.00456bd0
fld dword [0x688890]
push 0x16
fstp dword [eax + 0x24]
fld dword [0x68892c]
fstp dword [eax + 0x34]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 8]
add eax, 0x73
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add edx, 1
push edx
mov edx, dword [edi]
mov eax, dword [edx + 0x820]
mov esi, dword [eax]
sub esp, 8
sub ecx, 0xa
fstp dword [esp + 4]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp dword [esp]
call fcn.0051cd00
mov eax, dword [edi]
cmp byte [eax + 0x8c5], 0
jne 0x52ad70
fldz
mov ecx, dword [0x6ba020]
mov esi, dword [eax + 0x784]
fst dword [esp + 0x10]
fcomp dword [ecx + 0xac8]
fnstsw ax
test ah, 0x44
jnp 0x52ad5c
fld dword [ecx + 0xac8]
push ecx
fstp dword [esp]
call fcn.005b57c0
fstp dword [esp + 0x14]
add esp, 4
fld dword [esp + 0x10]
push ecx
mov eax, 0x35
fstp dword [esp]
mov ecx, esi
call fcn.005192b0
cmp dword [ebp + 0x5c], 0
jle 0x52abe7
fld dword [0x688648]
push ecx
fstp dword [esp]
push 0
push 1
push str.anim_swim
mov dword [edi + 0x28], 0x3b
mov byte [edi + 0xbd], 1
call fcn.0052cf70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ecx, 0x3b
jne 0x52ae65
cmp byte [edi + 0xba], 0
jne 0x52adcd
push 0x708
lea eax, [ecx - 0x32]
mov esi, edi
call fcn.00535c30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [edi + 8]
cmp ecx, 0x19
jg 0x52adf0
test al, al
jne 0x52adf0
fld dword [0x672460]
fstp dword [edi + 0x84]
fld dword [edi + 0x2c]
fsub qword [0x688620]
jmp 0x52ae11
cmp ecx, 0x280
jle 0x52ae36
test al, al
je 0x52ae36
fld dword [0x672460]
fstp dword [edi + 0x84]
fld dword [edi + 0x2c]
fadd qword [0x688620]
push 0
fstp dword [edi + 0x2c]
mov eax, edi
mov dword [edi + 0x28], edx
mov dword [edi + 0x64], 2
call fcn.00533b40
xor esi, esi
mov eax, edi
call fcn.00533750
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp byte [edi + 0x51], 0
je 0x52abe7
fld dword [0x688900]
push ecx
fstp dword [esp]
push 0
push 3
push str.anim_uptoeat
mov dword [edi + 0x28], 0x3c
call fcn.0052cf70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ecx, 0x3c
jne 0x52aeb9
mov eax, dword [edi + 0x118]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x820]
mov ecx, dword [edx + 8]
and eax, 0xffff
lea eax, [eax + eax*4]
shl eax, 5
add eax, dword [ecx]
cmp byte [edi + 0x51], 0
je 0x52aec8
cmp dword [eax + 0x5c], 0
jle 0x52abe7
fldz
push ecx
fstp dword [esp]
mov dword [edi + 0x28], 0x3d
push 0
push 0
push str.anim_eat
call fcn.0052cf70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ecx, 0x3d
jne 0x52aeed
cmp byte [edi + 0x51], 0
jne 0x52abe7
fld dword [0x689534]
push ecx
fstp dword [esp]
push 0
push 3
push str.anim_uptoeat
mov dword [edi + 0x28], 0x3e
call fcn.0052cf70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ecx, 0x3e
jne 0x52abe7
mov edx, dword [edi]
mov eax, dword [edx + 0x820]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x118]
and eax, 0xffff
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 5
cmp dword [eax + edx + 0x5c], 0
jle 0x52abe7
fldz
push ecx
fstp dword [esp]
mov dword [edi + 0x28], 0x3b
push 0
push 1
push str.anim_swim
call fcn.0052cf70
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00528ee0