Function at 0x413749
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x42572c]
mov edx, 0xfffff000
and dword [ebp - 4], edx
and dword [ebp - 0xc], edx
push esi
mov cl, byte [eax]
lea esi, [eax + 1]
push edi
xor edi, edi
mov dword [0x42572c], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
cmp cl, 0x41
jg 0x4138ba
je 0x413c31
test cl, cl
je 0x4138a3
cmp cl, 0x2f
jle 0x413b97
cmp cl, 0x31
jle 0x4137b4
cmp cl, 0x39
jg 0x413b97
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x4010d0]
jmp 0x413c3c
and dword [ebp - 0xc], edx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], edi
je 0x413830
lea eax, [ebp - 0x20]
push eax
call fcn.004146e3
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0x3c
lea ecx, [ebp - 0x28]
call fcn.00410336
mov ecx, eax
call fcn.00410ac9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410bf1
lea ecx, [ebp - 0x10]
call fcn.00413582
cmp al, 0x3e
jne 0x413802
push 0x20
lea ecx, [ebp - 0x10]
call fcn.00410c5a
push 0x3e
lea ecx, [ebp - 0x10]
call fcn.00410c5a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x413816
mov byte [eax], 1
mov esi, dword [0x42572c]
cmp byte [esi], 0
jne 0x413829
lea eax, [ebp - 0x10]
jmp 0x413c85
inc esi
mov dword [0x42572c], esi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004152fd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00410711
lea ecx, [ebp - 8]
mov dword [0x42572c], esi
call fcn.004154fb
test eax, eax
jne 0x413882
cmp byte [esi - 1], 0x31
jne 0x413882
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7e
lea ecx, [ebp - 0x28]
call fcn.00410336
mov ecx, eax
call fcn.00410ac9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00410711
lea ecx, [ebp - 0x10]
call fcn.004154fb
test eax, eax
jne 0x413c82
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00410bf1
jmp 0x413c82
lea eax, [esi - 1]
mov dword [0x42572c], eax
push 2
mov ecx, dword [ebp + 8]
call fcn.0041040f
jmp 0x413c8e
cmp cl, 0x42
je 0x413c2e
jle 0x413b97
cmp cl, 0x5a
jle 0x413c31
cmp cl, 0x5f
jne 0x413b97
movsx eax, byte [esi]
inc esi
mov dword [0x42572c], esi
cmp eax, 0x4f
jg 0x4139b7
cmp eax, 0x44
jge 0x413c11
cmp eax, 0x39
jg 0x413963
je 0x413941
test eax, eax
je 0x4138a3
cmp eax, 0x2f
jle 0x413b97
cmp eax, 0x36
jle 0x413931
cmp eax, 0x38
jg 0x413b97
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x401160]
mov ecx, dword [ebp + 8]
call fcn.004103da
jmp 0x413c8e
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x401160]
jmp 0x413c3c
movsx eax, byte [esi - 1]
lea ecx, [ebp - 0x18]
push dword [eax*4 + 0x401160]
call fcn.004103da
or dword [ebp - 0x14], 0x800
lea eax, [ebp - 0x18]
jmp 0x413c85
cmp eax, 0x3f
je 0x413996
cmp eax, 0x40
jle 0x413b97
cmp eax, 0x42
jle 0x413c11
push 1
push 0x4026d8
lea eax, [ebp - 0x18]
push eax
call fcn.004145f7
add esp, 0xc
or dword [ebp - 0x14], 0x100
jmp 0x41395b
mov al, byte [esi]
inc esi
mov dword [0x42572c], esi
test al, al
je 0x4138a3
cmp al, 0x30
jne 0x413b97
push edi
push 0x402b44
jmp 0x413981
cmp eax, 0x54
jg 0x413b62
cmp eax, 0x53
jge 0x413c11
sub eax, 0x50
je 0x413b1a
sub eax, 1
je 0x413c44
sub eax, 1
jne 0x413b97
movsx eax, byte [esi - 1]
lea ecx, [ebp - 8]
push dword [eax*4 + 0x401144]
call fcn.00410821
mov eax, dword [0x42572c]
lea ecx, [ebp - 0x10]
movsx eax, byte [eax]
push dword [eax*4 + 0x401218]
call fcn.00410821
mov eax, dword [0x42572c]
mov cl, byte [eax]
inc eax
mov dword [0x42572c], eax
cmp cl, 0x30
je 0x413ade
cmp cl, 0x31
je 0x413a3a
jle 0x413a34
cmp cl, 0x34
jle 0x413b56
dec eax
jmp 0x4138a6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00410ac9
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004143e7
pop ecx
mov ecx, eax
call fcn.00410b21
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004143e7
pop ecx
mov ecx, eax
call fcn.00410b21
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004143e7
pop ecx
mov ecx, eax
call fcn.00410b21
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
push 0x29
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00412d3f
pop ecx
pop ecx
mov ecx, eax
call fcn.00410b21
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00410b21
jmp 0x413c8e
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00412a51
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x20
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00410b21
mov ecx, eax
call fcn.00410ac9
mov ecx, eax
call fcn.00410ac9
jmp 0x413c8e
movsx eax, byte [esi - 1]
lea ecx, [ebp - 8]
push dword [eax*4 + 0x401144]
call fcn.00410821
push edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00413749
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00410711
lea ecx, [ebp - 0x10]
call fcn.004154fb
test eax, eax
jne 0x413b56
test byte [ebp - 0xc], 0x40
jne 0x413b97
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 8]
jmp 0x413b10
cmp eax, 0x56
jle 0x413c21
cmp eax, 0x57
jle 0x413b97
cmp eax, 0x59
jle 0x413c11
cmp eax, 0x5f
jne 0x413b97
mov al, byte [esi]
inc esi
mov dword [0x42572c], esi
cmp al, 0x41
jl 0x413b97
cmp al, 0x44
jle 0x413c01
cmp al, 0x46
jle 0x413b9e
cmp al, 0x4a
jle 0x413c01
push 1
jmp 0x4138ad
movsx eax, byte [esi - 1]
lea ecx, [ebp - 0x18]
push dword [eax*4 + 0x4011a8]
call fcn.004103da
mov eax, dword [0x42572c]
cmp byte [eax], 0x3f
lea eax, [ebp - 0x28]
push eax
jne 0x413be0
call fcn.00412b17
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
mov eax, dword [0x42572c]
cmp byte [eax], 0x40
jne 0x413bef
inc eax
mov dword [0x42572c], eax
jmp 0x413bef
call fcn.0041469b
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00410bf1
push 0x402b5c
lea ecx, [ebp - 0x18]
call fcn.00410d6a
jmp 0x41395b
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x4011a8]
jmp 0x413924
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x401144]
jmp 0x413924
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x401144]
jmp 0x413c3c
xor edi, edi
inc edi
movsx eax, byte [esi - 1]
push dword [eax*4 + 0x4010b4]
lea ecx, [ebp - 8]
call fcn.00410821
lea ecx, [ebp - 8]
call fcn.004154fb
test eax, eax
jne 0x413c82
test edi, edi
je 0x413c5a
or dword [ebp - 4], 0x20
jmp 0x413c82
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x40260c
lea ecx, [ebp - 0x28]
call fcn.004103da
mov ecx, eax
call fcn.00410ac9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00410711
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.0041029b
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret