Function at 0x4759c0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
mov edx, eax
mov dword [esp + 0x10], ecx
cmp word [ecx], 0x28
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
jne 0x475b6f
movzx edx, word [ecx + 2]
cmp edx, 0x2a
jne 0x475a10
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x475b6f
cmp edx, 0x3f
je 0x475a30
inc eax
mov dword [edi], eax
test ebx, ebx
jne 0x475a24
cmp eax, ebp
je 0x475e53
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x475b6f
movzx edx, word [ecx + 4]
cmp edx, 0x7c
jne 0x475a4d
add ecx, 6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x475b6f
cmp edx, 0x23
jne 0x475a8f
add ecx, 6
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
cmp ax, 0x29
je 0x475e4a
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
jne 0x475a65
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
add ecx, 4
mov dword [esp + 0x10], ecx
cmp edx, 0x28
jne 0x475ae2
cmp word [ecx + 2], 0x3f
je 0x475b6f
movzx eax, word [ecx]
test ax, ax
je 0x475b6f
cmp ax, 0x29
je 0x475acc
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
jne 0x475ab2
jmp 0x475b6f
cmp word [ecx], 0
je 0x475b6f
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x475b6f
cmp word [ecx], 0x50
jne 0x475aef
add ecx, 2
mov dword [esp + 0x10], ecx
movzx edx, word [ecx]
cmp edx, 0x3c
jne 0x475b05
movzx esi, word [ecx + 2]
cmp esi, 0x21
je 0x475b05
cmp esi, 0x3d
jne 0x475b0a
cmp edx, 0x27
jne 0x475b6f
inc eax
mov dword [edi], eax
test ebx, ebx
jne 0x475b19
cmp eax, ebp
je 0x475e53
movzx eax, word [ecx]
add ecx, 2
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x475b2d
mov eax, 0x3e
movzx esi, word [ecx]
mov edx, ecx
cmp esi, eax
je 0x475b44
add ecx, 2
mov dword [esp + 0x10], ecx
movzx esi, word [ecx]
cmp esi, eax
jne 0x475b36
test ebx, ebx
je 0x475b6f
mov eax, ecx
sub eax, edx
sar eax, 1
cmp ebp, eax
jne 0x475b6f
push ebp
push edx
push ebx
call fcn.00489df2
add esp, 0xc
test eax, eax
jne 0x475b6b
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x1c]
jae 0x475e4a
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
movzx eax, word [ecx]
cmp eax, 0x5c
jne 0x475be4
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
cmp eax, 0x51
jne 0x475e14
jmp 0x475bb0
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
cmp eax, 0x5c
jne 0x475bb0
cmp word [ecx], 0
je 0x475e4a
add ecx, 2
mov dword [esp + 0x10], ecx
cmp word [ecx], 0x45
jne 0x475bb0
jmp 0x475e14
cmp eax, 0x5b
jne 0x475cd3
xor esi, esi
nop
movzx eax, word [ecx + 2]
cmp eax, 0x5c
jne 0x475c29
add ecx, 4
cmp word [ecx], 0x45
jne 0x475c08
mov dword [esp + 0x10], ecx
jmp 0x475bf0
push 3
push 0x4b8714
push ecx
call fcn.00489df2
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x475c3e
add ecx, 8
mov dword [esp + 0x10], ecx
jmp 0x475bf0
test esi, esi
jne 0x475c3e
cmp eax, 0x5e
jne 0x475c3e
add ecx, 2
lea esi, [eax - 0x5d]
mov dword [esp + 0x10], ecx
jmp 0x475bf0
cmp word [ecx + 2], 0x5d
jne 0x475c51
test dword [ebx + 0x48], 0x2000000
jne 0x475c51
add ecx, 2
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
cmp eax, 0x5d
je 0x475e14
test ax, ax
je 0x475e50
cmp ax, 0x5c
jne 0x475cbf
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
cmp eax, 0x51
jne 0x475cbf
jmp 0x475c90
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
cmp eax, 0x5c
jne 0x475c90
cmp word [ecx], 0
je 0x475e4a
add ecx, 2
mov dword [esp + 0x10], ecx
cmp word [ecx], 0x45
jne 0x475c90
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
cmp eax, 0x5d
jne 0x475c64
jmp 0x475e14
test edi, edi
je 0x475db9
cmp eax, 0x23
jne 0x475db9
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
je 0x475e4a
mov edx, dword [ebx + 0x5c]
test edx, edx
je 0x475d34
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jae 0x475d5b
push ebp
lea edi, [ebx + 0x60]
push edx
call fcn.004878a0
add esp, 8
test eax, eax
je 0x475d5b
mov eax, dword [ebx + 0x60]
lea ecx, [ecx + eax*2 - 2]
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
je 0x475e4a
mov edi, dword [esp + 0x34]
jmp 0x475e14
mov edx, dword [ebx + 0x60]
mov edi, dword [ebx + 0x1c]
lea esi, [edx + edx]
sub edi, esi
cmp ecx, edi
ja 0x475d5b
movzx esi, byte [ebx + 0x64]
cmp ax, si
jne 0x475d5b
cmp edx, 1
je 0x475d16
movzx edx, byte [ebx + 0x65]
cmp word [ecx + 2], dx
je 0x475d16
add ecx, 2
mov dword [esp + 0x10], ecx
test ebp, ebp
je 0x475d9c
movzx eax, word [ecx]
mov edx, 0xdc00
cmp ax, dx
jb 0x475d9c
mov edx, 0xdfff
cmp ax, dx
ja 0x475d9c
movzx eax, word [ecx - 2]
mov edx, 0xd800
cmp ax, dx
jb 0x475d9c
mov edx, 0xdbff
cmp ax, dx
ja 0x475d9c
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, word [ecx]
test ax, ax
jne 0x475cf7
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp eax, 0x28
jne 0x475ded
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push ebp
push edi
push edx
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.004759c0
add esp, 0x1c
test eax, eax
jg 0x475e53
mov ecx, dword [esp + 0x10]
cmp word [ecx], 0
je 0x475e4a
jmp 0x475e14
cmp eax, 0x29
je 0x475e35
cmp eax, 0x7c
jne 0x475e14
cmp dword [esp + 0x14], 0
je 0x475e14
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
cmp eax, dword [esp + 0x18]
jle 0x475e0e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
add ecx, 2
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x475b84
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp dword [esp + 0x14], 0
je 0x475e4a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
cmp dword [edx], eax
jge 0x475e4a
mov dword [edx], eax
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret