Function at 0x59bdb0
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x65d457
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.00599700
xor edi, edi
lea ecx, [esp + 0x3c]
push edi
push edi
push 1
push edi
mov dword [esp + 0x94], edi
call fcn.005991a0
lea ebp, [ebx + 0x90]
push eax
mov ecx, ebp
call fcn.0059a050
test eax, eax
jne 0x59bfdc
mov eax, dword [ebx + 0x94]
cmp eax, edi
jne 0x59beae
push edi
push edi
push 1
push 0x7b
lea ecx, [esp + 0x3c]
lea esi, [ebx + 0xa0]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
jne 0x59c041
push edi
push edi
push 1
push 0x3f
lea ecx, [esp + 0x5c]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
jne 0x59c041
push edi
push edi
push 1
push 0x2a
lea ecx, [esp + 0x6c]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
jne 0x59c041
push edi
push edi
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
jne 0x59c041
mov ax, word [ebp]
push 1
lea ecx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push ecx
jmp 0x59bfae
cmp eax, 1
jne 0x59bfbe
mov ax, word [ebp]
cmp ax, 0x29
je 0x59bfdc
cmp ax, 0x7c
je 0x59bfdc
cmp dword [esp + 0x24], edi
jg 0x59bfe6
cmp ax, 0x28
je 0x59c06d
cmp ax, 0x5b
je 0x59c0a0
cmp ax, 0x2e
je 0x59c0a0
cmp ax, 0x77
je 0x59c0a0
cmp ax, 0x57
je 0x59c0a0
cmp ax, 0x73
je 0x59c0a0
cmp ax, 0x53
je 0x59c0a0
cmp ax, 0x64
je 0x59c0a0
cmp ax, 0x44
je 0x59c0a0
cmp ax, 0x5e
je 0x59c08f
cmp ax, 0x24
je 0x59c08f
cmp ax, 0x41
je 0x59c08f
cmp ax, 0x5a
je 0x59c08f
cmp ax, 0x7a
je 0x59c08f
cmp ax, 0x62
je 0x59c08f
cmp ax, 0x42
je 0x59c08f
cmp ax, 0x47
je 0x59c08f
cmp ax, 0x5c
je 0x59c07e
cmp ax, 0x6b
je 0x59c07e
cmp ax, 0x67
je 0x59c07e
push 1
lea edx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push edx
lea ecx, [esp + 0x28]
call fcn.00599720
mov ecx, ebx
call fcn.0059c800
push edi
push edi
push 1
push edi
lea ecx, [esp + 0x4c]
call fcn.005991a0
push eax
mov ecx, ebp
call fcn.0059a050
test eax, eax
je 0x59be08
cmp dword [esp + 0x24], edi
jle 0x59c0be
push 0x1c
call fcn.00648e86
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x84], 1
je 0x59c0b1
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jne 0x59c011
mov ecx, 0x945624
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
mov esi, edx
and edx, 0x10
and esi, 8
push esi
push edx
mov edx, dword [esp + 0x2c]
push edx
push ecx
mov ecx, eax
call fcn.005a14b0
mov esi, eax
lea ecx, [ebx + 0x14]
push esi
call fcn.0059bd10
jmp 0x59c0c8
cmp dword [esp + 0x24], edi
jne 0x59bfe0
mov ax, word [ebp]
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00599720
mov ecx, ebx
call fcn.0059c800
jmp 0x59bfdc
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.0059e180
jmp 0x59c0c6
mov eax, dword [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.005a0c40
jmp 0x59c0c6
mov ecx, dword [esp + 0x8c]
push ecx
mov ecx, ebx
call fcn.005a08f0
jmp 0x59c0c6
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.0059d3c0
jmp 0x59c0c6
xor esi, esi
lea ecx, [ebx + 0x14]
push esi
call fcn.0059bd10
jmp 0x59c0c8
push edi
mov ecx, ebx
call fcn.0059afc0
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
call fcn.005997d0
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x14], esi
cmp eax, edi
je case.0x59c10c.46
xor eax, eax
mov dword [esp + 0x10], edi
mov ax, word [ebp]
add eax, 0xffffffd6
cmp eax, 0x51
ja case.0x59c10c.46
xor ecx, ecx
mov cl, byte [eax + 0x59c730]
jmp dword [ecx*4 + 0x59c71c]
xor esi, esi
lea ecx, [esp + 0x2c]
push esi
push esi
call fcn.005a1800
mov dword [esp + 0x2c], 0x945620
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
lea edi, [ebx + 0x80]
mov edx, ebp
mov eax, edi
lea esi, [ebx + 0xa0]
mov ecx, dword [edx]
mov dword [esp + 0x84], 2
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, esi
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xc], edx
lea ebp, [ebx + 0xb0]
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call fcn.0059a080
test eax, eax
jne 0x59c1b0
mov ecx, ebx
call fcn.0059a080
test eax, eax
je 0x59c1a5
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
lea ecx, [ebx + 0x90]
mov word [esp + 0x20], ax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0059a050
test eax, eax
jne 0x59c30a
mov ebx, 0x7d
xor eax, eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
push edx
mov word [esp + 0x40], bx
mov dword [esp + 0x44], 1
lea ecx, [eax + 0x90]
call fcn.0059a050
test eax, eax
jne 0x59c306
mov ecx, dword [esp + 0x18]
add ecx, 0x90
mov ax, word [ecx]
mov dl, al
and edx, 0xff
cmp dx, ax
jne 0x59c23a
mov byte [esp + 0x8c], al
jmp 0x59c242
mov byte [esp + 0x8c], 0
push 1
lea ecx, [esp + 0x90]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.005a1760
mov edx, dword [esp + 0x18]
mov ecx, edi
lea eax, [edx + 0x90]
mov edx, dword [edx + 0x90]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, esi
lea eax, [edx + 0x90]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, ebp
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
call fcn.0059a080
test eax, eax
jne 0x59c2d3
mov ecx, dword [esp + 0x18]
call fcn.0059a080
test eax, eax
je 0x59c2c6
mov ecx, dword [esp + 0x18]
xor eax, eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
add ecx, 0x90
mov dword [esp + 0x24], 1
call fcn.0059a050
test eax, eax
je 0x59c1e4
mov ebx, dword [esp + 0x18]
lea eax, [ebx + 0x90]
mov edx, eax
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov dword [esi], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov dword [esi + 0xc], edx
call fcn.0059a080
test eax, eax
jne 0x59c36d
mov ecx, ebx
call fcn.0059a080
test eax, eax
je 0x59c362
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x59c37a
mov esi, 0x94561c
mov al, byte [esi]
xor edi, edi
test al, al
je 0x59c39c
movsx eax, byte [edi + esi]
push eax
call fcn.00633d30
add esp, 4
test eax, eax
je 0x59c39c
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x59c382
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x59c403
cmp al, 0x39
jg 0x59c403
lea ecx, [edi + 6]
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x10], ebp
jae 0x59c3d3
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x59c3cf
cmp al, 0x39
jg 0x59c3cf
movsx eax, al
lea edx, [ebp + ebp*4]
inc edi
cmp edi, ecx
lea ebp, [eax + edx*2 - 0x30]
jb 0x59c3b4
mov dword [esp + 0x10], ebp
mov al, byte [edi + esi]
test al, al
je 0x59c3f3
movsx ecx, al
push ecx
call fcn.00633d30
add esp, 4
test eax, eax
je 0x59c3f3
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x59c3da
mov al, byte [esi + edi]
add esi, edi
cmp al, 0x2c
je 0x59c44c
mov eax, 1
jmp 0x59c409
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp eax, 2
mov edi, ebp
jne 0x59c41f
mov edi, accept
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x59c41f
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0xffffffff
test eax, eax
mov dword [esp + 0x2c], 0x945620
je 0x59c5d0
push eax
call fcn.0063497e
add esp, 4
jmp 0x59c5d0
mov al, byte [esi + 1]
inc esi
xor ebp, ebp
test al, al
je 0x59c470
movsx edx, byte [esi + ebp]
push edx
call fcn.00633d30
add esp, 4
test eax, eax
je 0x59c470
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x59c456
mov al, byte [esi + ebp]
cmp al, 0x30
jl 0x59c410
cmp al, 0x39
jg 0x59c410
lea edx, [ebp + 6]
xor edi, edi
cmp ebp, edx
mov eax, ebp
jae 0x59c4a2
mov cl, byte [eax + esi]
cmp cl, 0x30
jl 0x59c4a2
cmp cl, 0x39
jg 0x59c4a2
movsx ecx, cl
lea edi, [edi + edi*4]
inc eax
cmp eax, edx
lea edi, [ecx + edi*2 - 0x30]
jb 0x59c486
add esi, eax
cmp byte [esi], 0
je 0x59c415
movsx edx, byte [esi]
push edx
call fcn.00633d30
add esp, 4
test eax, eax
je 0x59c415
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x59c4ad
jmp 0x59c415
mov ecx, ebp
lea eax, [ebx + 0x80]
mov dword [esp + 0x10], edi
mov edi, 1
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, dword [edx]
mov dword [ebp], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 4], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.0059a080
test eax, eax
jne 0x59c558
mov ecx, ebx
call fcn.0059a080
test eax, eax
je 0x59c53b
jmp 0x59c558
mov dword [esp + 0x10], edi
mov ecx, ebx
mov edi, accept
call fcn.0059c800
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.005991a0
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
je 0x59c66a
mov ecx, ebx
call fcn.0059c800
push 0x10
call fcn.00648e86
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 4
je 0x59c6fa
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.0059cc20
mov esi, eax
jmp 0x59c6fc
mov dword [esp + 0x10], 1
jmp 0x59c54c
test edi, edi
jne 0x59c5e1
push edi
mov ecx, ebx
call fcn.0059afc0
jmp 0x59c707
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jne 0x59c558
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.005991a0
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
jne 0x59c62b
push eax
push eax
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
je 0x59c632
mov ecx, ebx
call fcn.0059c800
push 0xc
call fcn.00648e86
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 3
je 0x59c6fa
mov edx, dword [esp + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.0059cb20
mov esi, eax
jmp 0x59c6fc
push 0
push 0
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.005991a0
push eax
mov ecx, esi
call fcn.0059a050
test eax, eax
je 0x59c6c4
mov ecx, ebx
call fcn.0059c800
push 0x10
call fcn.00648e86
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 5
je 0x59c6fa
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.0059d1d0
mov esi, eax
jmp 0x59c6fc
push 0x10
call fcn.00648e86
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 6
je 0x59c6fa
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.0059cee0
mov esi, eax
jmp 0x59c6fc
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
call fcn.0059bd10
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4