Function at 0x45c390
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebx + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [ebx + 0xc]
xor eax, eax
add ecx, dword [ebx + 8]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ecx
lea ecx, [ecx]
movsx esi, byte [ecx]
cmp esi, edx
jne 0x45c46d
sub ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x1c]
mov dword [ebx + 8], ecx
cmp edi, edx
je 0x45ca25
mov edx, dword [edi + 0xd4]
mov dword [ebp - 0x28], edx
call fcn.0045bde0
test al, al
je 0x45c452
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x45c434
sub eax, ecx
cmp dword [ebp - 0x18], 0
mov dword [esi + 4], eax
je 0x45c426
sub dword [ebp - 0x18], ecx
jmp 0x45c431
cmp dword [ebp - 0x24], 0
je 0x45c431
sub dword [ebx], ecx
sub dword [ebx + 4], ecx
sub dword [ebx + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x14], 0x10
jb 0x45c447
mov ecx, dword [ecx]
add eax, ecx
mov dword [ebx + 0xc], ecx
movsx esi, byte [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45c462
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + 0xd4], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x45ca25
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x45c4b0
lea ecx, [esi - 9]
cmp ecx, 0x35
ja 0x45c712
movsx ecx, byte [esi + 0x4c74c3]
test ecx, ecx
je 0x45c712
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebx + 0xc]
mov dword [ebx], edx
sub ecx, edx
xor edi, edi
lea edx, [ecx + edx - 1]
mov dword [ebp - 0x24], ecx
mov dword [ebx + 4], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
jmp 0x45c4b3
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x14]
je 0x45c6cf
cmp esi, 0x3e
jne 0x45c566
test al, 0xc0
jne 0x45c57f
sub edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x10]
inc edx
mov dword [ebx + 8], edx
cmp ecx, 1
jne 0x45c51c
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], ecx
jne 0x45c547
cmp dword [ebp - 0x1c], 0x2f
jne 0x45c547
test edi, edi
je 0x45c510
test eax, 0x200
je 0x45c510
lea ecx, [edi - 9]
cmp ecx, 0x1e
ja 0x45c547
movsx ecx, byte [edi + 0x4c74fb]
test ecx, ecx
je 0x45c547
mov ecx, dword [ebp + 8]
or dword [ecx + 0xc], 0x10000
jmp 0x45c547
dec edx
cmp edx, ecx
jle 0x45c547
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
sub esi, ecx
inc esi
mov dword [ebp - 4], ecx
sub edi, esi
dec dword [ebp - 4]
je 0x45c540
mov dl, byte [esi]
mov cl, byte [edi + esi]
inc esi
cmp dl, cl
je 0x45c52f
jmp 0x45c547
mov dword [ebp - 0xc], 0
and eax, 0xfffffdff
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
jne 0x45c712
test al, 0x20
je 0x45c9cb
jmp 0x45c712
cmp esi, 0x3c
jne 0x45c57f
cmp dword [ebp - 8], 2
je 0x45cada
cmp dword [ebp - 8], 0xffffffff
je 0x45cada
mov cl, byte [ebp - 8]
test cl, 1
je 0x45c6a6
test eax, 0x2c0
je 0x45c60a
cmp esi, 0x22
jne 0x45c5b1
test al, al
jns 0x45c5ce
mov edx, dword [ebp - 0x1c]
xor eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
cmp esi, 0x27
jne 0x45c5ce
test al, 0x40
je 0x45c5ce
mov edx, dword [ebp - 0x1c]
xor eax, 0x40
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
test eax, 0x200
je 0x45c69b
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x45c69b
movsx ecx, byte [esi + 0x4c7287]
test ecx, ecx
je 0x45c69b
mov edx, dword [ebp - 0x1c]
xor eax, 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
cmp esi, 0x22
jne 0x45c630
test eax, 0x100
je 0x45c69b
mov edx, dword [ebp - 0x1c]
xor eax, 0x180
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
cmp esi, 0x27
jne 0x45c652
test eax, 0x100
je 0x45c69b
mov edx, dword [ebp - 0x1c]
xor eax, 0x140
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
cmp esi, 0x3d
jne 0x45c679
cmp dword [ebp - 0x1c], esi
je 0x45c679
test eax, 0x100
jne 0x45c680
mov edx, dword [ebp - 0x1c]
xor eax, 0x100
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
test eax, 0x100
je 0x45c69b
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x45c693
movsx ecx, byte [esi + 0x4c7287]
test ecx, ecx
jne 0x45c69b
xor eax, 0x300
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x45c712
test cl, 0x40
je 0x45c712
cmp esi, 0x22
jne 0x45c6be
test al, 0x40
jne 0x45c712
xor eax, 0x80
mov dword [ebp - 4], eax
jmp 0x45c712
cmp esi, 0x27
jne 0x45c712
test al, al
js 0x45c712
xor eax, 0x40
mov dword [ebp - 4], eax
jmp 0x45c712
test eax, eax
je 0x45c9e6
test al, 0x10
je 0x45c730
cmp esi, 0x3c
je 0x45cae5
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x45c6f7
movsx ecx, byte [esi + 0x4c7287]
test ecx, ecx
jne 0x45c712
xor eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 2
mov dword [ebp - 0xc], 0x4c7524
mov dword [ebp - 0x10], 1
mov esi, dword [ebp - 0x14]
push esi
call dword [0x4a8430]
add esi, eax
mov eax, dword [ebp - 4]
add esp, 4
mov dword [ebp - 0x14], esi
xor edx, edx
mov ecx, esi
jmp 0x45c3d0
test al, 1
je 0x45c7f7
mov ecx, 1
xor eax, ecx
mov dword [ebp - 4], eax
cmp esi, 0x60
ja 0x45c7dd
cmp esi, 0x40
jbe 0x45c759
cmp esi, 0x5b
jb 0x45c7dd
cmp esi, 0x5f
je 0x45c7dd
cmp esi, 0x3a
je 0x45c7dd
cmp esi, 0x2f
jne 0x45c785
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], 0x4c7528
add eax, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], eax
jmp 0x45c712
cmp esi, 0x21
jne 0x45c792
or eax, 2
mov dword [ebp - 4], eax
jmp 0x45c712
cmp esi, 0x3f
jne 0x45c7bb
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], 0x4c752c
add eax, ecx
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x18], eax
jmp 0x45c712
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], ecx
mov dword [eax], 0x4c7530
jmp 0x45c977
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], 0x4c7528
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], eax
jmp 0x45c712
test al, 2
je 0x45c8c1
xor eax, 2
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x45c815
or eax, 4
mov dword [ebp - 4], eax
jmp 0x45c712
test al, 0x20
je 0x45c85e
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x45c83f
movsx eax, byte [esi + str.A_v_v_0]
test eax, eax
je 0x45c83f
mov dword [ebp - 0xc], 0x4c7528
mov dword [ebp - 8], 0x40
jmp 0x45c70b
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0x4c7554
jmp 0x45c970
cmp esi, 0x5b
jne 0x45c86e
or eax, 8
mov dword [ebp - 4], eax
jmp 0x45c712
cmp esi, 0x44
jne 0x45c87e
or eax, 0x20
mov dword [ebp - 4], eax
jmp 0x45c712
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
add edx, 0x10
push edx
mov dword [ebp - 0xc], 0x4c7528
mov dword [ebp - 0x10], 1
mov dword [eax], 0x4c7568
call fcn.00458fd0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x45c712
test al, 4
je 0x45c92d
xor eax, 4
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x45c8ea
mov dword [ebp - 0xc], 0x4c7580
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 0x20
jmp 0x45c712
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov eax, esp
add ecx, 0x10
push ecx
mov dword [ebp - 0xc], 0x4c7528
mov dword [ebp - 0x10], 1
mov dword [eax], 0x4c7584
call fcn.00458fd0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x45c712
test al, 8
je 0x45c999
xor eax, 8
mov dword [ebp - 4], eax
cmp esi, 0x43
jne 0x45c956
mov dword [ebp - 0xc], 0x4c7598
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 8
jmp 0x45c712
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0x4c759c
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [ebp - 0xc], 0x4c7528
call fcn.00458fd0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x45c712
test al, 0x20
je 0x45c712
cmp esi, 0x3c
jne 0x45c9b1
or eax, 1
mov dword [ebp - 4], eax
jmp 0x45c712
cmp esi, 0x3e
jne 0x45c712
mov eax, dword [ebp - 0x14]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 8], 0x40
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 8]
sub edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], edx
mov dword [eax], ecx
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x45c9f7
mov dword [ebp - 4], 1
jmp 0x45c712
lea ecx, [esi - 9]
mov dword [ebp - 8], 4
cmp ecx, 0x17
ja 0x45c6fd
movsx eax, byte [esi + 0x4c7287]
test eax, eax
je 0x45c6fd
mov dword [ebp - 4], 0x10
jmp 0x45c712
mov edx, dword [ebp + 8]
mov esi, dword [edx + 4]
cmp dword [ebx + 8], esi
jne 0x45ca4a
pop edi
mov dword [edx + 8], 0
mov dword [edx], 0
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 8], 4
je 0x45c9cb
cmp dword [ebp - 8], 2
je 0x45c9cb
mov ecx, 0x4c745c
test al, 0x20
jne 0x45caaa
mov eax, dword [ebp - 8]
cmp eax, 0x40
je 0x45caaa
cmp eax, 1
jne 0x45ca7b
mov ecx, 0x4c7470
jmp 0x45caaf
test eax, eax
jne 0x45ca86
mov ecx, 0x4c747c
jmp 0x45caaf
cmp eax, 8
jne 0x45ca92
mov ecx, 0x4c7484
jmp 0x45caaf
cmp eax, 0x10
jne 0x45ca9e
mov ecx, 0x4c7494
jmp 0x45caaf
cmp eax, 0x20
jne 0x45caaf
mov ecx, 0x4c74ac
jmp 0x45caaf
mov ecx, 0x4c7460
push 0xffffffffffffffff
push esi
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add edx, 0x10
push edx
mov dword [ebp - 8], 0xffffffff
mov dword [eax], 0x4c74b4
call fcn.00458fd0
add esp, 0x18
jmp 0x45c9cb
sub edx, dword [ebx + 0xc]
mov dword [ebx + 8], edx
jmp 0x45c9cb
sub edx, dword [ebx + 0xc]
mov dword [ebp - 8], 4
mov dword [ebx + 8], edx
jmp 0x45c9cb