Function at 0x407c95
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x10]
test byte [ebx + 2], 1
push esi
push edi
mov esi, ecx
jne 0x4462bb
mov edi, dword [ebp + 0x14]
test byte [edi + 2], 1
jne 0x4462bb
cmp word [ebx], 0x51
je 0x438ff2
cmp word [edi], 0x51
je 0x442ba1
mov eax, dword [ebp + 8]
cmp eax, 0x3f
je 0x417b35
cmp eax, 0x34
je 0x407e33
xor eax, eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 1]
push eax
push edi
push ebx
push ecx
push edx
mov ecx, esi
mov byte [ebp - 1], 0
call fcn.00407bc0
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x4462bb
jmp 0x407e98
mov eax, dword [ebp + 8]
add eax, 0xffffffcc
cmp eax, 0x17
ja case.default.0x407d30
movzx eax, byte [eax + 0x4080ec]
jmp dword [eax*4 + 0x4080dc]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x174]
push 1
push 0
push eax
push edi
mov ecx, esi
call fcn.004040d5
mov edi, eax
jmp 0x439027
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x104]
jmp 0x407d40
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x12c]
jmp 0x407d40
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x12c]
jmp 0x407d40
mov edi, dword [ebp + 0xc]
push edi
push 0x781b
mov ecx, esi
call fcn.0044926b
push edi
mov ecx, esi
call fcn.004c20f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 0x1c]
call fcn.00404382
test al, al
jne 0x407dc1
mov eax, dword [edi + 0x1c]
push eax
call fcn.00416175
test al, al
jne 0x407dc1
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x1c]
cmp edx, dword [ecx + 0x80]
jne case.0x439056.61
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x174]
mov dword [ebp + 0x10], ecx
jmp case.0x439056.61
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x12c]
mov dword [ebp + 0x10], eax
jmp case.0x439056.61
cmp eax, 0x40
jg 0x442bd6
mov ecx, edx
call fcn.00402805
test al, al
jne 0x407e22
mov ecx, dword [ebx + 0x1c]
call fcn.00404382
test al, al
jne 0x407e22
mov eax, dword [ebx + 0x1c]
push eax
call fcn.00416175
test al, al
jne 0x407e22
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x1c]
cmp edx, dword [ecx + 0x80]
jne 0x442bd6
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x174]
mov dword [ebp + 0x10], ecx
jmp 0x442bd6
mov ecx, dword [ebx + 0x1c]
call fcn.00404030
jmp 0x4329a2
mov edx, dword [edi + 0x1c]
push edx
call fcn.00403dd7
test al, al
je 0x407ce3
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [eax + 0x80]
jne 0x407e70
add ebx, 4
push ebx
push 0
push 0
mov ecx, esi
call fcn.00408242
mov ebx, eax
mov edx, dword [esi + 4]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x80]
jne 0x407ce3
add edi, 4
push edi
push 0
push 0
mov ecx, esi
call fcn.00408242
mov edi, eax
jmp 0x407ce3
mov eax, dword [ebp + 0x18]
and eax, 1
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x408d5f
mov ecx, dword [ebp + 8]
cmp ecx, 0x3e
je 0x407ed8
cmp ecx, 0x3d
je 0x407ed8
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 0xc]
push edi
push ebx
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c2778
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xc]
push edi
push ebx
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
mov ecx, esi
call fcn.004c2bb2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebx + 0x1c]
mov byte [ebp + 0x13], 0
call fcn.00408143
test al, al
je 0x407f49
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 4]
push eax
call fcn.004c1d2c
test al, al
lea ecx, [ebx + 4]
jne 0x407f21
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, 0x41
je 0x407f33
cmp eax, 0x42
mov eax, 0x7556
jne 0x407f38
mov eax, 0x7d0d
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004b73a9
mov byte [ebp + 0x13], 1
mov ecx, dword [edi + 0x1c]
call fcn.00408143
test al, al
je 0x407f9b
mov ebx, dword [ebp + 0xc]
add edi, 4
push edi
mov ecx, ebx
call fcn.004c1d2c
test al, al
jne 0x407f69
mov edi, ebx
mov ecx, dword [ebp + 8]
cmp ecx, 0x41
je 0x407f7b
cmp ecx, 0x42
mov eax, 0x7556
jne 0x407f80
mov eax, 0x7d0d
push ecx
push edi
push eax
mov ecx, esi
call fcn.004b73a9
push ebx
mov ecx, esi
call fcn.004c20f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [ebp + 0x13], 0
je 0x408d78
mov ebx, dword [ebp + 0xc]
push ebx
mov ecx, esi
call fcn.004c20f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [ebp + 0x1c], 0
je 0x407fd2
cmp dword [ebp + 8], 0x3d
je 0x408d78
mov dword [ebp + 0x10], 0xa434
jmp 0x407ffa
mov eax, dword [ebp + 8]
cmp eax, 0x41
je 0x407fe8
cmp eax, 0x42
je 0x407fe8
mov dword [ebp + 0x10], 0xa423
jmp 0x407ffa
sub eax, 0x41
neg eax
sbb eax, eax
and eax, 0xe
add eax, 0xa422
mov dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x1c]
call fcn.00408143
test al, al
je 0x408019
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [ebx + 4]
push ecx
push edx
mov ecx, esi
call fcn.004b73a9
mov ecx, dword [edi + 0x1c]
call fcn.00408143
test al, al
je 0x408d78
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [edi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004b73a9
jmp 0x408d78
test byte [ebp + 0x18], 1
jne 0x40a913
cmp dword [ebp + 8], 0x3f
jne 0x40a913
jmp 0x408089
mov byte [ebp + 0x17], 1
jmp case.0x408dec.65
cmp byte [esi + 0x45], 0
jne 0x40abe9
mov dword [ebp - 0x14], 0x8000
mov byte [ebp + 0x17], 1
jmp 0x40abe9
cmp dword [ebp + 8], 0x40
jne 0x40abf8
jmp case.0x408dec.53
test byte [ebp + 0x18], 1
je 0x408e0a
push edi
push 0x756b
mov ecx, esi
call fcn.0044926b
push edi
mov ecx, esi
call fcn.004c20f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004c20f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004c1c68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [esi + 0x50], 0
jne 0x407efb
mov ecx, esi
call fcn.00403c64
test al, al
jne 0x407fb9
cmp dword [ebp + 8], 0x3f
je 0x417b69
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00408d3d
mov edx, dword [ebp + 8]
push edx
mov dword [ebp + 0x10], eax
call fcn.004428b0
test al, al
jne 0x4428c4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00408d3d
mov edx, dword [ebp + 0x10]
test byte [edx + 2], 1
mov ebx, eax
jne 0x4080b1
test byte [ebx + 2], 1
jne 0x4080b1
mov eax, dword [ebp + 8]
add eax, 0xffffffcc
cmp eax, 0x12
mov dword [ebp - 0x14], 0
mov byte [ebp + 0x17], 0
ja case.0x408dec.53
movzx eax, byte [eax + 0x408130]
jmp dword [eax*4 + 0x40811c]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax]
test byte [ecx*2 + 0x403ef0], 1
jne 0x40a8b8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
push edi
push ebx
push ecx
push edx
push eax
mov ecx, esi
call fcn.004082e8
mov cx, word [ebp - 0x14]
or word [eax + 2], cx
mov edx, dword [ebp - 8]
push 1
push 0
push edx
push eax
mov ecx, esi
call fcn.004040d5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movsx edx, word [ebx]
test byte [edx*2 + 0x403ef0], 1
je 0x408e0a
mov eax, dword [ebp - 8]
push eax
call fcn.00429e54
test al, al
je 0x408089
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.00429e54
test al, al
je 0x408089
mov eax, dword [ebx + 0x1c]
push eax
call fcn.00429e54
test al, al
je 0x408089
cmp byte [ebp + 0x17], 0
jne 0x408089
cmp byte [esi + 0x55], 0
jne 0x408041
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
push ebx
push ecx
push edi
push edx
push eax
mov ecx, esi
call fcn.0042a219
test eax, eax
jne 0x408e27
jmp 0x408e0a
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.00408143
test al, al
jne 0x412a47
push edi
call fcn.00403dd7
test al, al
jne 0x412a47
mov ecx, edi
call fcn.00408143
test al, al
jne 0x43bdd4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x104]
mov dword [ebp - 8], ecx
jmp case.0x408dec.53
test byte [esi + 0x38], 0x40
je 0x40abe9
jmp 0x408060
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebx + 0x1c]
cmp ecx, eax
je 0x4462ad
cmp dword [edi + 0x1c], eax
je 0x407e51
cmp ecx, eax
jne 0x407ce3
jmp 0x4462ad
or dword [ebp + 0x14], 0x80000
jmp 0x408d82
cmp byte [esi + 0x55], 0
jne case.0x408dec.53
mov ecx, dword [ebp - 8]
call fcn.00408143
test al, al
jne case.0x408dec.53
mov ecx, dword [ebp - 8]
call fcn.00404030
push eax
call fcn.004428e2
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x12c]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x18]
push edx
push ecx
cdq
push edi
push edx
push eax
mov ecx, esi
call fcn.00403bf6
push eax
push ebx
push edi
push 0x49
mov ecx, esi
call fcn.00407c95
mov ebx, eax
jmp 0x408df6
cmp eax, 0x11
je 0x43f368
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [eax + 0x80]
jne 0x407ce3
jmp 0x407e40
mov ecx, dword [ebp - 8]
push ecx
call fcn.00403dd7
test al, al
je case.0x408dec.53
mov dword [ebp + 8], 0x3f
jmp case.0x408dec.53
mov ecx, dword [ebx + 0x1c]
call fcn.00408143
test al, al
jne 0x439003
jmp 0x407cc4
cmp word [ebx], 0x51
jne 0x442bb6
mov ecx, dword [ebx + 0x1c]
call fcn.00408143
test al, al
je 0x439027
push edi
call fcn.00408185
test al, al
jne 0x407d1e
cmp word [ebx], 0x51
jne 0x442bb6
mov ecx, dword [ebx + 0x1c]
call fcn.00408143
test al, al
je 0x442bb6
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x1c]
add eax, 0xffffffc5
cmp eax, 5
mov dword [ebp + 0x10], edx
ja case.0x439056.61
jmp dword [eax*4 + 0x408104]
mov ecx, dword [ebp + 0x10]
call fcn.00402805
test al, al
je 0x407d96
jmp 0x407dc1
mov edx, dword [ebp + 0x18]
shr edx, 2
test dl, 1
je case.0x408dec.53
jmp 0x40807a
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x1c]
cmp edx, dword [ecx + 0x80]
jne 0x4329ab
jmp 0x407e51
mov ecx, dword [ebp - 8]
call fcn.00408143
test al, al
jne 0x408da6
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x12c]
jmp 0x408da9
mov ecx, dword [edi + 0x1c]
call fcn.00408143
test al, al
je 0x407cce
jmp 0x439003
push edi
call fcn.00408185
test al, al
je 0x407cce
mov eax, dword [ebp + 8]
cmp eax, 0x3f
mov edx, dword [ebx + 0x1c]
mov dword [ebp + 0x10], edx
jge 0x407de3
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
push edi
mov ecx, esi
call fcn.004040d5
mov edi, eax
jmp 0x407cce
mov ecx, dword [ebp + 0x10]
push 1
push 0
push ecx
push ebx
mov ecx, esi
call fcn.004040d5
mov ebx, eax
jmp 0x407cce
cmp dword [edi + 0x1c], eax
je 0x407ce3
jmp 0x407e51
call fcn.0041563c
jmp 0x4080c5