Function at 0x50c360
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x958]
lea esi, [edi + 0x958]
xor bl, bl
test eax, eax
mov byte [esp + 0xf], bl
mov byte [edi + 0x27], bl
je 0x50c3ba
mov cl, byte [eax + 0x36]
and cl, 7
cmp cl, 2
jne 0x50c3ba
fld dword [eax + 0x4c]
fld dword [eax + 0x48]
fld dword [eax + 0x44]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x8ccc80]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x50c3ba
mov byte [edi + 0x27], 1
cmp dword [edi + 0xb0], 2
jne 0x50c41c
mov eax, dword [edi + 0xc34]
cmp eax, 8
mov bl, 1
je 0x50c3d5
cmp eax, 7
jne 0x50c41c
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x530]
add esp, 4
cmp ecx, 0x3f
je 0x50c3ec
xor bl, bl
push 0
push 0xffffffffffffffff
call fcn.0056e0d0
add esp, 8
test eax, eax
jne 0x50c41c
mov ecx, dword [esi]
test ecx, ecx
je 0x50c408
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
cmp byte [edi + 0x2b], 1
je 0x50c426
test bl, bl
je 0x50c42d
mov al, byte [edi + 0x58]
test al, al
je 0x50c43c
cmp dword [esi], 0
je 0x50c43c
cmp byte [edi + 0x34], 1
jne 0x50c7b6
push 0
push 0xffffffffffffffff
call fcn.0056e0d0
add esp, 8
test eax, eax
je 0x50c4b9
call fcn.00441390
test al, al
jne 0x50c497
push 0xffffffffffffffff
call fcn.0056e210
mov eax, dword [eax + 0x47c]
add esp, 4
lea ecx, [eax + 4]
call fcn.006819d0
test eax, eax
je 0x50c497
push 0xffffffffffffffff
call fcn.0056e210
mov eax, dword [eax + 0x47c]
add esp, 4
lea ecx, [eax + 4]
call fcn.006819d0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
cmp eax, 0x3fe
je 0x50c4b9
mov ecx, dword [esi]
test ecx, ecx
je 0x50c4a3
push esi
call fcn.00571a00
push 0
push 0xffffffffffffffff
call fcn.0056e0d0
add esp, 8
mov dword [esi], eax
push esi
mov ecx, eax
jmp 0x50c573
mov ecx, dword [esi]
test ecx, ecx
je 0x50c4c5
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x530]
add esp, 4
cmp ecx, 0x3b
je 0x50c518
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x530]
add esp, 4
cmp ecx, 0x39
je 0x50c518
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x530]
add esp, 4
cmp ecx, 0x35
jne 0x50c51f
mov byte [esp + 0xf], 1
jmp 0x50c578
movzx eax, byte [edi + 0x59]
mov edx, dword [esi]
imul eax, eax, 0x238
mov ecx, dword [eax + edi + 0x390]
cmp edx, ecx
lea eax, [eax + edi + 0x390]
je 0x50c578
test ecx, ecx
je 0x50c547
push eax
call fcn.00571a00
movzx ecx, byte [edi + 0x59]
mov edx, dword [esi]
imul ecx, ecx, 0x238
mov dword [ecx + edi + 0x390], edx
movzx eax, byte [edi + 0x59]
imul eax, eax, 0x238
mov ecx, dword [eax + edi + 0x390]
lea eax, [eax + edi + 0x390]
push eax
call fcn.00571b70
movzx ecx, byte [0xb7cd74]
imul ecx, ecx, 0x190
mov eax, dword [ecx + 0xb7cd98]
test eax, eax
mov bl, 1
je 0x50c5c1
mov ecx, dword [eax + 0x58c]
test ecx, ecx
je 0x50c5c1
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push eax
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x58c]
add esp, 4
call fcn.006d1e20
test al, al
je 0x50c5c1
xor bl, bl
movzx edx, byte [0xb7cd74]
imul edx, edx, 0x190
mov eax, dword [edx + 0xb7cd98]
cmp dword [eax + 0x530], 0x3b
jne 0x50c64b
test bl, bl
jne 0x50c64b
mov al, byte [esp + 0xf]
test al, al
jne 0x50c64b
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x50c64b
mov ecx, dword [esi]
test ecx, ecx
je 0x50c5ff
push esi
call fcn.00571a00
movzx ecx, byte [0xb7cd74]
imul ecx, ecx, 0x190
mov edx, dword [ecx + 0xb7cd98]
mov eax, dword [edx + 0x58c]
mov dword [esi], eax
movzx ecx, byte [0xb7cd74]
imul ecx, ecx, 0x190
mov edx, dword [ecx + 0xb7cd98]
mov eax, dword [edx + 0x58c]
test eax, eax
jne 0x50c643
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
mov dword [esi], eax
mov ecx, dword [esi]
push esi
call fcn.00571b70
movzx eax, byte [0xb7cd74]
imul eax, eax, 0x190
mov ecx, dword [eax + 0xb7cd98]
mov eax, dword [ecx + 0x530]
cmp eax, 0x39
je 0x50c672
cmp eax, 0x35
jne 0x50c6f2
test bl, bl
jne 0x50c6f2
mov al, byte [esp + 0xf]
test al, al
jne 0x50c6b5
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x50c6b5
mov ecx, dword [esi]
test ecx, ecx
je 0x50c694
push esi
call fcn.00571a00
movzx edx, byte [0xb7cd74]
imul edx, edx, 0x190
mov eax, dword [edx + 0xb7cd98]
mov ecx, dword [eax + 0x58c]
push esi
mov dword [esi], ecx
call fcn.00571b70
movzx ecx, byte [0xb7cd74]
imul ecx, ecx, 0x190
mov edx, dword [ecx + 0xb7cd98]
mov eax, dword [edx + 0x58c]
test eax, eax
jne 0x50c6f2
mov ecx, dword [esi]
test ecx, ecx
je 0x50c6de
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
movzx eax, byte [0xb7cd74]
imul eax, eax, 0x190
mov ecx, dword [eax + 0xb7cd98]
cmp dword [ecx + 0x530], 0x3d
jne 0x50c72e
mov ecx, dword [esi]
test ecx, ecx
je 0x50c71a
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
movzx edx, byte [0xb7cd74]
imul edx, edx, 0x190
mov eax, dword [edx + 0xb7cd98]
cmp dword [eax + 0x530], 0x3a
jne 0x50c76a
mov ecx, dword [esi]
test ecx, ecx
je 0x50c756
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
mov ecx, dword [esi]
mov dl, byte [ecx + 0x36]
and dl, 7
cmp dl, 2
jne 0x50c7b6
mov eax, dword [edi + 0xb4]
test eax, eax
jne 0x50c7b6
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x530]
add esp, 4
cmp ecx, 0x3f
jne 0x50c7b6
mov ecx, dword [esi]
test ecx, ecx
je 0x50c7a2
push esi
call fcn.00571a00
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push esi
mov ecx, eax
mov dword [esi], eax
call fcn.00571b70
pop edi
pop esi
pop ebx
pop ecx
ret