Function at 0x1016d3b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x102bd50]
movsx edx, byte [eax]
push ebx
xor ebx, ebx
mov ecx, 0xfffff000
and dword [ebp - 4], ecx
and dword [ebp - 0x14], ecx
push esi
xor esi, esi
inc eax
cmp edx, 0x41
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [0x102bd50], eax
jg 0x1016ed6
je 0x101727f
cmp edx, ebx
je 0x1016ec1
cmp edx, 0x2f
jle 0x1016fc8
cmp edx, 0x31
jle 0x1016de8
cmp edx, 0x39
jg 0x1016fc8
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x1004060]
lea ecx, [ebp - 8]
call fcn.01015a02
lea ecx, [ebp - 8]
call fcn.01014fba
test eax, eax
jne 0x1016dd5
mov eax, ecx
push eax
lea eax, [ebp - 0x20]
push 0x1004040
push eax
call fcn.01015e26
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.01014be5
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.01014a7f
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
and dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebp + 0xc], bl
je 0x1016e55
lea eax, [ebp - 0x58]
push eax
call fcn.01016b7b
push eax
lea eax, [ebp - 0xa0]
push 0x3c
push eax
call fcn.01015dd4
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.010158d9
lea ecx, [ebp - 0x18]
call fcn.01015045
cmp al, 0x3e
jne 0x1016e2d
push 0x20
lea ecx, [ebp - 0x18]
call fcn.01015bb1
push 0x3e
lea ecx, [ebp - 0x18]
call fcn.01015bb1
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1016e41
mov byte [eax], 1
mov eax, dword [0x102bd50]
cmp byte [eax], bl
jne 0x1016e4f
lea eax, [ebp - 0x18]
jmp 0x1016dd8
inc eax
mov dword [0x102bd50], eax
mov esi, eax
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.01017419
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.01014be5
lea ecx, [ebp - 8]
mov dword [0x102bd50], esi
call fcn.01014fba
test eax, eax
jne 0x1016ea1
cmp byte [esi - 1], 0x31
jne 0x1016ea1
mov eax, ecx
push eax
lea eax, [ebp - 0x88]
push 0x7e
push eax
call fcn.01015dd4
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.01014be5
lea ecx, [ebp - 0x18]
call fcn.01014fba
test eax, eax
jne 0x1016dd5
mov eax, ecx
push eax
lea ecx, [ebp - 8]
call fcn.010158d9
jmp 0x1016dd5
dec eax
mov dword [0x102bd50], eax
push 2
mov ecx, dword [ebp + 8]
call fcn.01014f31
jmp 0x1016de1
cmp edx, 0x42
je 0x101727c
jle 0x1016fc8
cmp edx, 0x5a
jle 0x101727f
cmp edx, 0x5f
jne 0x1016fc8
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x4f
mov dword [0x102bd50], eax
jg 0x1016fd7
cmp ecx, 0x44
jge 0x101725c
cmp ecx, 0x39
jg 0x1016f7e
je 0x1016f5c
cmp ecx, ebx
je 0x1016ec1
cmp ecx, 0x2f
jle 0x1016fc8
cmp ecx, 0x36
jle 0x1016f4c
cmp ecx, 0x38
jg 0x1016fc8
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040f0]
mov ecx, dword [ebp + 8]
call fcn.01015683
jmp 0x1016de1
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040f0]
jmp 0x1016da4
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040f0]
lea ecx, [ebp - 0x10]
call fcn.01015683
or dword [ebp - 0xc], 0x800
lea eax, [ebp - 0x10]
jmp 0x1016dd8
cmp ecx, 0x3f
je 0x1016fb2
cmp ecx, 0x40
jle 0x1016fc8
cmp ecx, 0x42
jle 0x101725c
cmp ecx, 0x43
jne 0x1016fc8
push 1
push 0x1003f74
lea eax, [ebp - 0x10]
push eax
call fcn.010166a0
add esp, 0xc
or dword [ebp - 0xc], 0x100
jmp 0x1016f76
movsx ecx, byte [eax]
inc eax
mov dword [0x102bd50], eax
cmp ecx, ebx
je 0x1016ec1
cmp ecx, 0x30
je 0x1016fcf
push 1
jmp 0x1016ec9
push ebx
push 0x100438c
jmp 0x1016f9d
cmp ecx, 0x54
jg 0x1017190
cmp ecx, 0x53
jge 0x101725c
sub ecx, 0x50
je 0x1017147
dec ecx
je 0x1016dac
dec ecx
jne 0x1016fc8
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040d4]
lea ecx, [ebp - 8]
call fcn.01015a02
mov eax, dword [0x102bd50]
movsx eax, byte [eax]
push dword [eax*4 + 0x1004054]
lea ecx, [ebp - 0x18]
call fcn.01015a02
mov eax, dword [0x102bd50]
movsx eax, byte [eax]
inc dword [0x102bd50]
cmp eax, 0x30
je 0x1017110
cmp eax, 0x31
je 0x1017069
add eax, 0xffffffce
cmp eax, 2
ja 0x101705e
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.01015b21
jmp 0x1016de1
dec dword [0x102bd50]
jmp 0x1016ec7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.01015b21
push 0x2c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.01016747
pop ecx
mov ecx, eax
call fcn.01015e4f
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.01016747
pop ecx
mov ecx, eax
call fcn.01015e4f
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
push 0x2c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.01016747
pop ecx
mov ecx, eax
call fcn.01015e4f
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
push 0x29
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.01015ebd
pop ecx
pop ecx
mov ecx, eax
call fcn.01015e4f
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.01015e4f
jmp 0x1016de1
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.010199cd
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x20
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x10]
call fcn.01015e4f
mov ecx, eax
call fcn.01015b21
mov ecx, eax
jmp 0x1017054
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040d4]
lea ecx, [ebp - 8]
call fcn.01015a02
push ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.01016d3b
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.01014be5
lea ecx, [ebp - 0x18]
call fcn.01014fba
test eax, eax
jne 0x101704a
test byte [ebp - 0x14], 0x40
je 0x101704a
jmp 0x1016fc8
cmp ecx, 0x55
jl 0x1016fc8
cmp ecx, 0x56
jle 0x101726c
cmp ecx, 0x57
jle 0x1016fc8
cmp ecx, 0x59
jle 0x101725c
cmp ecx, 0x5f
jne 0x1016fc8
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x41
mov dword [0x102bd50], eax
jl 0x1016fc8
cmp ecx, 0x44
jle 0x10171e2
cmp ecx, 0x46
jle 0x10171f2
cmp ecx, 0x4a
jg 0x1016fc8
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x1004138]
jmp 0x1016f3f
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x1004138]
lea ecx, [ebp - 0x10]
call fcn.01015683
mov eax, dword [0x102bd50]
cmp byte [eax], 0x3f
jne 0x1017237
lea eax, [ebp - 0x90]
push eax
call fcn.0101840a
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
mov eax, dword [0x102bd50]
cmp byte [eax], 0x40
jne 0x101724a
inc dword [0x102bd50]
jmp 0x101724a
lea eax, [ebp - 0x20]
push eax
call fcn.010177e8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.010158d9
push 0x1004388
lea ecx, [ebp - 0x10]
call fcn.01015c21
jmp 0x1016f76
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040d4]
jmp 0x1016f3f
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x10040d4]
jmp 0x1016da4
xor esi, esi
inc esi
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x1004044]
lea ecx, [ebp - 8]
call fcn.01015a02
cmp esi, ebx
je 0x1016dac
lea ecx, [ebp - 8]
call fcn.01014fba
test eax, eax
jne 0x1016dd5
or dword [ebp - 4], 0x20
jmp 0x1016dd5