Function at 0x58fe30
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x618057
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.0058d850
xor edi, edi
lea ecx, [esp + 0x3c]
push edi
push edi
push 1
push edi
mov dword [esp + 0x94], edi
call fcn.0058d2f0
lea ebp, [ebx + 0x90]
push eax
mov ecx, ebp
call fcn.0058e140
test eax, eax
jne 0x59005c
mov eax, dword [ebx + 0x94]
cmp eax, edi
jne 0x58ff2e
push edi
push edi
push 1
push 0x7b
lea ecx, [esp + 0x3c]
lea esi, [ebx + 0xa0]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
jne 0x5900c1
push edi
push edi
push 1
push 0x3f
lea ecx, [esp + 0x5c]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
jne 0x5900c1
push edi
push edi
push 1
push 0x2a
lea ecx, [esp + 0x6c]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
jne 0x5900c1
push edi
push edi
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
jne 0x5900c1
mov ax, word [ebp]
push 1
lea ecx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push ecx
jmp 0x59002e
cmp eax, 1
jne 0x59003e
mov ax, word [ebp]
cmp ax, 0x29
je 0x59005c
cmp ax, 0x7c
je 0x59005c
cmp dword [esp + 0x24], edi
jg 0x590066
cmp ax, 0x28
je 0x5900ed
cmp ax, 0x5b
je 0x590120
cmp ax, 0x2e
je 0x590120
cmp ax, 0x77
je 0x590120
cmp ax, 0x57
je 0x590120
cmp ax, 0x73
je 0x590120
cmp ax, 0x53
je 0x590120
cmp ax, 0x64
je 0x590120
cmp ax, 0x44
je 0x590120
cmp ax, 0x5e
je 0x59010f
cmp ax, 0x24
je 0x59010f
cmp ax, 0x41
je 0x59010f
cmp ax, 0x5a
je 0x59010f
cmp ax, 0x7a
je 0x59010f
cmp ax, 0x62
je 0x59010f
cmp ax, 0x42
je 0x59010f
cmp ax, 0x47
je 0x59010f
cmp ax, 0x5c
je 0x5900fe
cmp ax, 0x6b
je 0x5900fe
cmp ax, 0x67
je 0x5900fe
push 1
lea edx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push edx
lea ecx, [esp + 0x28]
call fcn.0058d870
mov ecx, ebx
call fcn.00590880
push edi
push edi
push 1
push edi
lea ecx, [esp + 0x4c]
call fcn.0058d2f0
push eax
mov ecx, ebp
call fcn.0058e140
test eax, eax
je 0x58fe88
cmp dword [esp + 0x24], edi
jle 0x59013e
push 0x1c
call fcn.00603d1d
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x84], 1
je 0x590131
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jne 0x590091
mov ecx, 0x8df4dc
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.00595570
mov esi, eax
lea ecx, [ebx + 0x14]
push esi
call fcn.00590f20
jmp 0x590148
cmp dword [esp + 0x24], edi
jne 0x590060
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.0058d870
mov ecx, ebx
call fcn.00590880
jmp 0x59005c
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.00592240
jmp 0x590146
mov eax, dword [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.00594d00
jmp 0x590146
mov ecx, dword [esp + 0x8c]
push ecx
mov ecx, ebx
call fcn.005949b0
jmp 0x590146
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.00591480
jmp 0x590146
xor esi, esi
lea ecx, [ebx + 0x14]
push esi
call fcn.00590f20
jmp 0x590148
push edi
mov ecx, ebx
call fcn.0058f0b0
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
call fcn.0058d920
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x14], esi
cmp eax, edi
je case.0x59018c.46
xor eax, eax
mov dword [esp + 0x10], edi
mov ax, word [ebp]
add eax, 0xffffffd6
cmp eax, 0x51
ja case.0x59018c.46
xor ecx, ecx
mov cl, byte [eax + 0x5907b0]
jmp dword [ecx*4 + 0x59079c]
xor esi, esi
lea ecx, [esp + 0x2c]
push esi
push esi
call fcn.005958c0
mov dword [esp + 0x2c], 0x8df4d8
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.0058e170
test eax, eax
jne 0x590230
mov ecx, ebx
call fcn.0058e170
test eax, eax
je 0x590225
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.0058e140
test eax, eax
jne 0x59038a
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.0058e140
test eax, eax
jne 0x590386
mov ecx, dword [esp + 0x18]
add ecx, 0x90
mov ax, word [ecx]
mov dl, al
and edx, 0xff
cmp dx, ax
jne 0x5902ba
mov byte [esp + 0x8c], al
jmp 0x5902c2
mov byte [esp + 0x8c], 0
push 1
lea ecx, [esp + 0x90]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.00595820
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.0058e170
test eax, eax
jne 0x590353
mov ecx, dword [esp + 0x18]
call fcn.0058e170
test eax, eax
je 0x590346
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.0058e140
test eax, eax
je 0x590264
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.0058e170
test eax, eax
jne 0x5903ed
mov ecx, ebx
call fcn.0058e170
test eax, eax
je 0x5903e2
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5903fa
mov esi, 0x8df4d4
mov al, byte [esi]
xor edi, edi
test al, al
je 0x59041c
movsx eax, byte [edi + esi]
push eax
call fcn.005ee994
add esp, 4
test eax, eax
je 0x59041c
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x590402
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x590483
cmp al, 0x39
jg 0x590483
lea ecx, [edi + 6]
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x10], ebp
jae 0x590453
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x59044f
cmp al, 0x39
jg 0x59044f
movsx eax, al
lea edx, [ebp + ebp*4]
inc edi
cmp edi, ecx
lea ebp, [eax + edx*2 - 0x30]
jb 0x590434
mov dword [esp + 0x10], ebp
mov al, byte [edi + esi]
test al, al
je 0x590473
movsx ecx, al
push ecx
call fcn.005ee994
add esp, 4
test eax, eax
je 0x590473
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x59045a
mov al, byte [esi + edi]
add esi, edi
cmp al, 0x2c
je 0x5904cc
mov eax, 1
jmp 0x590489
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp eax, 2
mov edi, ebp
jne 0x59049f
mov edi, accept
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x59049f
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0xffffffff
test eax, eax
mov dword [esp + 0x2c], 0x8df4d8
je 0x590650
push eax
call fcn.005ef5ee
add esp, 4
jmp 0x590650
mov al, byte [esi + 1]
inc esi
xor ebp, ebp
test al, al
je 0x5904f0
movsx edx, byte [esi + ebp]
push edx
call fcn.005ee994
add esp, 4
test eax, eax
je 0x5904f0
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x5904d6
mov al, byte [esi + ebp]
cmp al, 0x30
jl 0x590490
cmp al, 0x39
jg 0x590490
lea edx, [ebp + 6]
xor edi, edi
cmp ebp, edx
mov eax, ebp
jae 0x590522
mov cl, byte [eax + esi]
cmp cl, 0x30
jl 0x590522
cmp cl, 0x39
jg 0x590522
movsx ecx, cl
lea edi, [edi + edi*4]
inc eax
cmp eax, edx
lea edi, [ecx + edi*2 - 0x30]
jb 0x590506
add esi, eax
cmp byte [esi], 0
je 0x590495
movsx edx, byte [esi]
push edx
call fcn.005ee994
add esp, 4
test eax, eax
je 0x590495
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x59052d
jmp 0x590495
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.0058e170
test eax, eax
jne 0x5905d8
mov ecx, ebx
call fcn.0058e170
test eax, eax
je 0x5905bb
jmp 0x5905d8
mov dword [esp + 0x10], edi
mov ecx, ebx
mov edi, accept
call fcn.00590880
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.0058d2f0
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
je 0x5906ea
mov ecx, ebx
call fcn.00590880
push 0x10
call fcn.00603d1d
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 4
je 0x59077a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.00590c90
mov esi, eax
jmp 0x59077c
mov dword [esp + 0x10], 1
jmp 0x5905cc
test edi, edi
jne 0x590661
push edi
mov ecx, ebx
call fcn.0058f0b0
jmp 0x590787
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jne 0x5905d8
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.0058d2f0
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
jne 0x5906ab
push eax
push eax
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
je 0x5906b2
mov ecx, ebx
call fcn.00590880
push 0xc
call fcn.00603d1d
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 3
je 0x59077a
mov edx, dword [esp + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.00590b90
mov esi, eax
jmp 0x59077c
push 0
push 0
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.0058d2f0
push eax
mov ecx, esi
call fcn.0058e140
test eax, eax
je 0x590744
mov ecx, ebx
call fcn.00590880
push 0x10
call fcn.00603d1d
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 5
je 0x59077a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.00591290
mov esi, eax
jmp 0x59077c
push 0x10
call fcn.00603d1d
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 6
je 0x59077a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.00590fa0
mov esi, eax
jmp 0x59077c
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
call fcn.00590f20
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