Function at 0x405830
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x405aa6
cmp eax, 0x7c
je 0x405aa6
cmp eax, 0x29
jne 0x40586e
cmp dword [esi + 0x10], 0
jne 0x405aa6
test dword [esi + 0x50], 0x10000000
je 0x405ab6
jmp 0x4059b3
cmp eax, 0x2e
jne 0x405882
push 5
lea ecx, [esi + 0x24]
call fcn.00408420
jmp 0x4059c0
cmp eax, 0x5c
jne 0x4058de
mov ecx, esi
call fcn.00408490
test byte [esi + 0x50], 0x80
je 0x4058d2
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4058b1
push 4
lea ecx, [esi + 0x24]
call fcn.00408420
mov ecx, esi
call fcn.00408490
jmp 0x405a98
cmp al, 0x42
jne 0x4058d2
push 4
lea ecx, [esi + 0x24]
call fcn.00408420
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00408490
jmp 0x405a98
mov ecx, esi
call fcn.00405ae0
jmp 0x4059c7
cmp eax, 0x5b
jne 0x405900
mov ecx, esi
call fcn.00408490
mov ecx, esi
call fcn.00405f10
cmp dword [esi + 0x4c], 0x5d
jne 0x405abf
jmp 0x4059c0
cmp eax, 0x28
jne 0x405933
mov ecx, esi
call fcn.00408490
mov ecx, esi
call fcn.004088a0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x405ab6
mov ecx, esi
call fcn.00408490
test bl, bl
je 0x405a98
jmp 0x4059c7
cmp eax, 0x5e
jne 0x40594e
push 2
lea ecx, [esi + 0x24]
call fcn.00408420
mov ecx, esi
call fcn.00408490
jmp 0x405a98
cmp eax, 0x24
jne 0x405969
push 3
lea ecx, [esi + 0x24]
call fcn.00408420
mov ecx, esi
call fcn.00408490
jmp 0x405a98
cmp eax, 0x2a
je 0x405aad
cmp eax, 0x2b
je 0x405aad
cmp eax, 0x3f
je 0x405aad
cmp eax, 0x7b
je 0x405aad
cmp eax, 0x7d
jne 0x4059a1
test dword [esi + 0x50], 0x10000000
je 0x405ac8
jmp 0x4059b3
cmp eax, 0x5d
jne 0x4059b3
test dword [esi + 0x50], 0x10000000
je 0x405abf
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00404ef0
mov ecx, esi
call fcn.00408490
mov eax, dword [esi + 0x4c]
xor ebx, ebx
or edi, 0xffffffff
cmp eax, 0x2a
je 0x405a5a
cmp eax, 0x2b
jne 0x4059e2
lea ebx, [edi + 2]
jmp 0x405a5a
cmp eax, 0x3f
jne 0x4059ec
lea edi, [eax - 0x3e]
jmp 0x405a5a
cmp eax, 0x7b
jne 0x405a98
mov ecx, esi
call fcn.00408490
push closesocket
push 0xa
mov ecx, esi
call fcn.00406af0
cmp eax, 0x7fffffff
je 0x405ad1
mov eax, dword [esi + 0x4c]
mov ebx, dword [esi + 0x44]
cmp eax, 0x2c
je 0x405a24
mov edi, ebx
jmp 0x405a48
mov ecx, esi
call fcn.00408490
mov eax, dword [esi + 0x4c]
cmp eax, 0x7d
je 0x405a51
mov ecx, esi
call fcn.00406530
test al, al
je 0x405ad1
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
cmp eax, 0x7d
jne 0x405ad1
cmp edi, 0xffffffff
je 0x405a5a
cmp edi, ebx
jl 0x405ad1
mov eax, dword [esi + 0x28]
mov ecx, esi
or dword [eax + 8], 4
call fcn.00408490
test dword [esi + 0x50], 0x400
je 0x405a85
cmp dword [esi + 0x4c], 0x3f
jne 0x405a85
mov ecx, esi
mov byte [esp + 0xc], 0
call fcn.00408490
jmp 0x405a8a
mov byte [esp + 0xc], 1
push dword [esp + 0xc]
lea ecx, [esi + 0x24]
push edi
push ebx
call fcn.00405510
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x405844
pop edi
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 0xa
mov ecx, esi
call fcn.00407920
push 5
mov ecx, esi
call fcn.00407920
push 4
mov ecx, esi
call fcn.00407920
push 6
mov ecx, esi
call fcn.00407920
push 7
mov ecx, esi
call fcn.00407920
int3