Function at 0x1003747b
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1009b2e0]
push ebx
push esi
xor esi, esi
mov cl, byte [eax]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push edi
lea edi, [eax + 1]
mov dword [0x1009b2e0], edi
cmp cl, 0x41
jg 0x10037624
je 0x10037a97
test cl, cl
je 0x1003760a
cmp cl, 0x2f
jle case.default.0x1003798d
cmp cl, 0x31
jle 0x10037532
cmp cl, 0x39
jg case.default.0x1003798d
movsx eax, byte [edi - 1]
lea eax, [eax*8 + 0x10085e80]
push eax
lea ecx, [ebp - 8]
call fcn.10034055
cmp dword [ebp - 8], 0
je 0x1003751f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.operator
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 8
call fcn.10033d93
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.100341f2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
leave
ret
mov ebx, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
cmp byte [ebp + 0xc], bl
je 0x100375ab
lea eax, [ebp - 0x20]
push eax
call fcn.1003889c
push eax
lea eax, [ebp - 0x18]
push 0x3c
push eax
call fcn.10034183
add esp, 0x10
lea ecx, [ebp - 0x10]
push eax
call fcn.100342ec
lea ecx, [ebp - 0x10]
call fcn.1003727e
cmp al, 0x3e
jne 0x10037576
push 0x20
lea ecx, [ebp - 0x10]
call fcn.10034343
push 0x3e
lea ecx, [ebp - 0x10]
call fcn.10034343
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1003758a
mov byte [eax], 1
mov edi, dword [0x1009b2e0]
cmp byte [edi], bl
jne 0x100375a1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
jmp 0x1003752a
mov ebx, dword [ebp - 0x10]
inc edi
mov dword [0x1009b2e0], edi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.100396b5
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov dword [0x1009b2e0], edi
test ecx, ecx
je 0x100375f1
cmp byte [edi - 1], 0x31
jne 0x100375f1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push 0x7e
push eax
call fcn.10034183
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x1003751f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.100342ec
jmp 0x1003751f
lea eax, [edi - 1]
mov dword [0x1009b2e0], eax
mov ecx, dword [ebp + 8]
push 1
call fcn.10033e33
mov eax, dword [ebp + 8]
jmp 0x1003752d
cmp cl, 0x42
je 0x10037a94
jle case.default.0x1003798d
cmp cl, 0x5a
jle 0x10037a97
cmp cl, 0x5f
jne case.default.0x1003798d
movsx eax, byte [edi]
lea ecx, [edi + 1]
mov dword [0x1009b2e0], ecx
cmp eax, 0x4f
jg 0x10037767
cmp eax, 0x44
jge 0x10037a63
cmp eax, 0x39
jg 0x100376e3
je 0x100376b6
test eax, eax
je 0x100376ab
cmp eax, 0x2f
jle case.default.0x1003798d
cmp eax, 0x36
jle 0x1003769b
cmp eax, 0x38
jg case.default.0x1003798d
movsx eax, byte [ecx - 1]
lea eax, [eax*8 + 0x10085fa0]
mov ecx, dword [ebp + 8]
push eax
call fcn.10033d93
jmp 0x1003761c
movsx eax, byte [ecx - 1]
lea eax, [eax*8 + 0x10085fa0]
jmp 0x100374db
mov dword [0x1009b2e0], edi
jmp 0x10037612
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x18]
lea eax, [eax*8 + 0x10085fa0]
push eax
call fcn.10033d93
mov edx, dword [ebp - 0x14]
or edx, 0x8000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x1003752d
cmp eax, 0x3f
je 0x10037714
cmp eax, 0x40
jle case.default.0x1003798d
cmp eax, 0x42
jle 0x10037a63
push 1
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10038772
mov edx, dword [ebp - 0x14]
add esp, 0xc
or edx, 0x1000
jmp 0x100376d3
mov dl, byte [ecx]
lea eax, [ecx + 1]
mov dword [0x1009b2e0], eax
test dl, dl
je 0x1003775c
mov edi, dword [ebp + 8]
cmp dl, 0x30
je 0x10037735
mov dword [edi + 4], esi
mov byte [edi + 4], 2
mov dword [edi], esi
jmp 0x10037755
push esi
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.10038772
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x18]
or ecx, 0x1000
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, edi
jmp 0x1003752d
mov dword [0x1009b2e0], ecx
jmp 0x10037612
cmp eax, 0x54
jg 0x1003794c
cmp eax, 0x53
jge 0x10037a63
sub eax, 0x50
je 0x100378fc
sub eax, 1
je 0x100374e4
sub eax, 1
jne case.default.0x1003798d
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 8]
lea eax, [eax*8 + 0x10085f68]
push eax
call fcn.10034055
mov eax, dword [0x1009b2e0]
mov al, byte [eax]
test al, al
jne 0x100377c5
push 1
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.10034258
jmp 0x1003761c
movsx eax, al
sub eax, 0x30
js case.default.0x1003798d
cmp eax, 5
jae case.default.0x1003798d
lea eax, [eax*8 + 0x100862a8]
push eax
lea ecx, [ebp - 0x18]
call fcn.10034055
mov eax, dword [0x1009b2e0]
mov cl, byte [eax]
inc eax
mov dword [0x1009b2e0], eax
cmp cl, 0x30
je 0x100378c2
cmp cl, 0x31
je 0x10037816
jle 0x10037810
cmp cl, 0x34
jle 0x10037938
dec eax
jmp 0x1003760d
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.100342ec
lea eax, [ebp - 0x20]
push eax
call fcn.100385c8
pop ecx
push 0x2c
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10034214
push eax
lea ecx, [ebp - 0x10]
call fcn.100342ec
lea eax, [ebp - 0x20]
push eax
call fcn.100385c8
pop ecx
push 0x2c
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10034214
push eax
lea ecx, [ebp - 0x10]
call fcn.100342ec
lea eax, [ebp - 0x20]
push eax
call fcn.100385c8
pop ecx
push 0x2c
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10034214
push eax
lea ecx, [ebp - 0x10]
call fcn.100342ec
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10036853
pop ecx
pop ecx
push 0x29
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10034214
push eax
lea ecx, [ebp - 0x10]
call fcn.100342ec
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10034214
jmp 0x1003761c
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10036512
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push 0x20
mov dword [ebp - 0xc], eax
call fcn.10034343
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.100341f2
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
jmp 0x1003793f
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 8]
lea eax, [eax*8 + 0x10085f68]
push eax
call fcn.10034055
push esi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1003747b
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10037938
test eax, 0x400
jne case.default.0x1003798d
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.100341f2
jmp 0x1003761c
cmp eax, 0x56
jle 0x10037a73
cmp eax, 0x57
jle case.default.0x1003798d
cmp eax, 0x59
jle 0x10037a63
cmp eax, 0x5f
jne case.default.0x1003798d
movsx eax, byte [ecx]
inc ecx
sub eax, 0x41
mov dword [0x1009b2e0], ecx
cmp eax, 0xc
ja case.default.0x1003798d
movzx eax, byte [eax + 0x10037ad7]
jmp dword [eax*4 + 0x10037acb]
movsx eax, byte [ecx - 1]
lea eax, [eax*8 + 0x10086030]
jmp 0x10037690
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x18]
lea eax, [eax*8 + 0x10086030]
push eax
call fcn.10033d93
mov eax, dword [0x1009b2e0]
cmp byte [eax], 0x3f
lea eax, [ebp - 0x28]
push eax
jne 0x100379e7
call fcn.100365e9
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.100342ec
mov eax, dword [0x1009b2e0]
cmp byte [eax], 0x40
jne 0x100379f6
inc eax
mov dword [0x1009b2e0], eax
jmp 0x100379f6
call fcn.10038854
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.100342ec
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10086980
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 2
call fcn.10034294
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
jmp 0x1003752a
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x18]
lea eax, [eax*8 + 0x10086030]
push eax
call fcn.10033d93
jmp 0x10037a4a
cmp al, 0x40
je 0x10037a5a
inc ecx
mov dword [0x1009b2e0], ecx
lea ecx, [ebp - 0x18]
push eax
call fcn.10034343
mov ecx, dword [0x1009b2e0]
mov al, byte [ecx]
test al, al
jne 0x10037a36
cmp al, 0x40
jne 0x10037a10
inc ecx
mov dword [0x1009b2e0], ecx
jmp 0x10037a10
movsx eax, byte [ecx - 1]
lea eax, [eax*8 + 0x10085f68]
jmp 0x10037690
movsx eax, byte [ecx - 1]
lea eax, [eax*8 + 0x10085f68]
jmp 0x100374db
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov byte [eax + 4], 2
mov dword [eax], esi
jmp 0x1003752d
xor esi, esi
inc esi
movsx eax, byte [edi - 1]
lea ecx, [ebp - 8]
lea eax, [eax*8 + str.ta_in]
push eax
call fcn.10034055
test esi, esi
je 0x100374e4
cmp dword [ebp - 8], 0
je 0x1003751f
or dword [ebp - 4], 0x200
jmp 0x1003751f