Function at 0x40a099
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x423410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], edi
cmp dword [0x424fa0], edi
je 0x40a0db
cmp dword [ebp + 8], edi
jne 0x40a0db
xor esi, esi
mov dword [0x425018], edi
inc esi
jmp 0x40a0e4
xor esi, esi
inc esi
mov dword [0x425018], esi
mov ebx, 0x4f11c8
push ebx
mov dword [0x4f15a4], edi
mov dword [0x4f15a8], edi
call fcn.0040b780
pop ecx
mov dword [0x4f15ac], eax
cmp dword [ebp + 8], edi
je 0x40a1b5
cmp byte [0x4f11c8], 0
mov eax, ebx
je 0x40a129
cmp byte [eax], 0x5c
jne 0x40a11d
mov byte [eax], 0x2f
push eax
call fcn.0040acb0
cmp byte [eax], 0
pop ecx
jne 0x40a115
mov al, byte [0x4f11c8]
mov dword [ebp - 0x110], ebx
cmp al, 0x2f
jne 0x40a153
mov dword [0x4f15a8], esi
mov word [ebp - 0x108], 0x2f
mov dword [ebp - 0x110], 0x4f11c9
jmp 0x40a1b5
movzx eax, al
push eax
call fcn.0040adc8
pop ecx
test eax, eax
je 0x40a1b5
cmp byte [0x4f11c9], 0x3a
jne 0x40a1b5
cmp byte [0x4f11ca], 0x2f
mov al, byte [0x4f11c8]
mov byte [ebp - 0x108], al
mov dword [0x4f15a8], esi
mov byte [ebp - 0x107], 0x3a
lea eax, [ebp - 0x106]
mov dword [ebp - 0x110], 0x4f11ca
jne 0x40a1b2
mov byte [ebp - 0x106], 0x2f
lea eax, [ebp - 0x105]
mov dword [ebp - 0x110], 0x4f11cb
mov byte [eax], 0
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00409972
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
cmp eax, edi
jne 0x40a6bd
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x10c], eax
cmp dword [ebp + 8], edi
jne 0x40a218
cmp dword [0x424fa8], edi
je 0x40a202
push 0x2f
push ebx
call fcn.00410475
pop ecx
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], edi
jne 0x40a212
mov dword [ebp - 0x110], ebx
jmp 0x40a218
inc dword [ebp - 0x110]
mov eax, dword [ebp - 0x110]
movzx esi, byte [eax]
mov edi, 0x4e5064
test esi, esi
je 0x40a432
cmp esi, 0x3b
ja 0x40a345
je 0x40a333
mov eax, esi
sub eax, 0x20
je 0x40a310
dec eax
dec eax
je 0x40a3a1
sub eax, 8
je 0x40a3a1
sub eax, 5
je 0x40a266
sub eax, 0xb
jmp 0x40a35c
mov eax, dword [ebp - 0x10c]
lea esi, [ebp - 0x108]
mov byte [eax], 0
call fcn.00408c85
mov eax, esi
push 0x41dc5c
push eax
call fcn.0040b400
pop ecx
pop ecx
test eax, eax
jne 0x40a295
mov byte [ebp - 0x108], al
jmp 0x40a2f8
cmp dword [0x424fec], 0
jne 0x40a2c5
lea eax, [ebp - 0x108]
push 0x41e680
push eax
call fcn.0040b400
pop ecx
pop ecx
test eax, eax
jne 0x40a2c5
mov byte [ebp - 0x108], al
mov dword [ebp - 0x11c], 1
cmp byte [ebp - 0x108], 0
je 0x40a2f8
lea eax, [ebp - 0x108]
push 2
push eax
call fcn.00409972
pop ecx
pop ecx
mov ecx, eax
and ecx, 0x7f00
mov dword [ebp - 0x114], eax
cmp ecx, 0x100
jg 0x40a6bd
and dword [ebp - 0x118], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
jmp 0x40a3b0
cmp dword [0x424fc0], 0
jne 0x40a3a1
mov ecx, ebx
call fcn.00408c55
test eax, eax
jne 0x40a3a1
mov eax, dword [ebp - 0x10c]
mov byte [eax], 0x20
jmp 0x40a3aa
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov byte [eax], 0x3b
inc eax
jmp 0x40a399
cmp esi, 0x3c
je 0x40a3a1
cmp esi, 0x3d
jbe 0x40a35e
cmp esi, 0x3f
jbe 0x40a3a1
cmp esi, 0x5c
je 0x40a3a1
cmp esi, 0x7c
je 0x40a3a1
push esi
call fcn.0040afcb
pop ecx
test eax, eax
jne 0x40a36e
cmp esi, 0x7f
jb 0x40a3b0
push dword [ebp - 0x110]
call fcn.0040ac88
push eax
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
call fcn.0040a7a0
push dword [ebp - 0x10c]
call fcn.0040acb0
add esp, 0x14
mov dword [ebp - 0x10c], eax
jmp 0x40a3b0
mov eax, dword [ebp - 0x10c]
mov byte [eax], 0x5f
inc dword [ebp - 0x10c]
push dword [ebp - 0x110]
call fcn.0040acb0
movzx esi, byte [eax]
pop ecx
mov dword [ebp - 0x110], eax
test esi, esi
jne 0x40a22e
xor eax, eax
cmp dword [ebp - 0x11c], eax
je 0x40a432
cmp dword [0x424fbc], eax
jne 0x40a432
push eax
mov esi, 0x2000
push esi
push 0x4e9064
push ebx
call fcn.0040141c
push eax
push 0x41e8d4
push edi
call fcn.0040ab01
add esp, 0x18
push eax
push edi
push 0x424f80
call dword [0x4f1380]
add esp, 0x10
test dword [ebp - 0x114], 0xffff80ff
jne 0x40a437
mov eax, dword [ebp - 0x114]
and eax, 0x7f00
or eax, 1
mov dword [ebp - 0x114], eax
jmp 0x40a437
mov esi, 0x2000
push dword [0x4f15ac]
push ebx
call fcn.00404147
cmp byte [eax], 0x2f
pop ecx
pop ecx
jne 0x40a571
push 4
push ebx
call fcn.00409972
xor eax, eax
pop ecx
pop ecx
cmp dword [0x4f15a4], eax
je 0x40a501
cmp dword [0x424fbc], eax
jne 0x40a49a
push eax
push esi
push 0x4e9064
push ebx
call fcn.0040141c
push eax
push 0x41e8c0
push edi
call fcn.0040ab01
add esp, 0x18
push eax
push edi
push 0x424f80
call dword [0x4f1380]
add esp, 0x10
mov eax, dword [0x4e5060]
mov eax, dword [eax + 0x24]
test al, 0x6f
je 0x40a4ec
and eax, 0x7f
push eax
push ebx
call dword [0x41d094]
test eax, eax
jne 0x40a4ec
push 1
push esi
push 0x4e9064
push ebx
call fcn.0040141c
add esp, 0xc
push eax
call dword [0x41d0e0]
push eax
push 0x41e888
push edi
call fcn.0040ab01
add esp, 0x10
push eax
push edi
push 0x424f80
call dword [0x4f1380]
add esp, 0x10
mov eax, dword [ebp - 0x114]
and eax, 0xffff90ff
or eax, 0x1000
jmp 0x40a6bd
cmp dword [0x425014], 1
jne 0x40a55c
mov eax, dword [0x4e5060]
mov eax, dword [eax + 0x24]
test al, 0x6f
je 0x40a55c
and eax, 0x7f
push eax
push ebx
call dword [0x41d094]
test eax, eax
jne 0x40a55c
push 1
push esi
push 0x4e9064
push ebx
call fcn.0040141c
add esp, 0xc
push eax
call dword [0x41d0e0]
push eax
push 0x41e888
push edi
call fcn.0040ab01
add esp, 0x10
push eax
push edi
push 0x424f80
call dword [0x4f1380]
add esp, 0x10
mov eax, dword [ebp - 0x114]
and eax, 0xffff82ff
or eax, 0x200
jmp 0x40a6bd
mov eax, dword [ebp - 0x10c]
mov byte [eax], 0
cmp dword [0x424fdc], 0
jne 0x40a5aa
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x40a5aa
inc esi
movzx eax, byte [esi]
push eax
call fcn.0040aec8
pop ecx
test eax, eax
jne 0x40a58d
cmp byte [esi], 0
jne 0x40a5aa
mov eax, dword [ebp - 0x118]
mov byte [eax], 0
lea esi, [ebp - 0x108]
call fcn.00408c85
cmp byte [ebp - 0x108], 0
jne 0x40a604
push 1
push 0x2000
push 0x4e9064
push ebx
call fcn.0040141c
push eax
push 0x41e864
push edi
call fcn.0040ab01
add esp, 0x18
push eax
push edi
push 0x424f80
call dword [0x4f1380]
mov eax, dword [ebp - 0x114]
and eax, 0xffff83ff
add esp, 0x10
or eax, 0x300
jmp 0x40a6bd
lea eax, [ebp - 0x108]
push 3
push eax
call fcn.00409972
push 4
push ebx
call fcn.00409972
mov eax, dword [0x4e5060]
add esp, 0x10
test byte [eax + 0x28], 0x20
je 0x40a6b7
mov al, byte [0x4f15b0]
add al, 0x60
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x117]
push 0x41e860
push eax
call fcn.0040ab90
cmp dword [0x424fbc], 0
pop ecx
pop ecx
jne 0x40a68d
push 0
push 0x2000
push 0x4e9064
push ebx
call fcn.0040141c
push eax
lea eax, [ebp - 0x118]
push eax
push 0x41e84c
push edi
call fcn.0040ab01
add esp, 0x1c
push eax
push edi
push 0x424f80
call dword [0x4f1380]
add esp, 0x10
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [0x41d0b0]
test eax, eax
jne 0x40a55c
push 1
push 0x41e824
push edi
call fcn.0040ab01
pop ecx
pop ecx
jmp 0x40a5df
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040da8f
leave
ret