Function at 0x10055d2a
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010ec44]
push ebx
push esi
xor esi, esi
movsx ecx, byte [eax]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
push edi
lea edi, [eax + 1]
mov dword [0x1010ec44], edi
cmp ecx, 0x41
jg 0x10055eea
je 0x1005634d
test ecx, ecx
je 0x10055ed0
cmp ecx, 0x2f
jle case.default.0x10056255
cmp ecx, 0x31
jle 0x10055dd8
cmp ecx, 0x39
jg case.default.0x10056255
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x10001308]
lea ecx, [ebp - 8]
call fcn.10052c4f
cmp dword [ebp - 8], 0
je 0x10055dc3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x100084fc
lea ecx, [ebp - 0x20]
call fcn.100529fc
mov ecx, eax
call fcn.10052ed3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
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
mov esp, ebp
pop ebp
ret
mov ebx, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
cmp byte [ebp + 0xc], bl
je 0x10055e5f
lea eax, [ebp - 0x20]
push eax
call fcn.10056fa4
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
push 0x3c
lea ecx, [ebp - 0x18]
call fcn.1005298b
mov ecx, eax
call fcn.10052ed3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.10052f63
lea ecx, [ebp - 0x10]
call fcn.10055abd
cmp al, 0x3e
jne 0x10055e27
push 0x20
lea ecx, [ebp - 0x10]
call fcn.10052fa6
push 0x3e
lea ecx, [ebp - 0x10]
call fcn.10052fa6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10055e3b
mov byte [eax], 1
mov edi, dword [0x1010ec44]
cmp byte [edi], bl
jne 0x10055e55
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
jmp 0x10055dce
mov ebx, dword [ebp - 0x10]
inc edi
mov dword [0x1010ec44], edi
push esi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10057c9b
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [0x1010ec44], edi
test ecx, ecx
je 0x10055ead
cmp byte [edi - 1], 0x31
jne 0x10055ead
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x7e
lea ecx, [ebp - 0x28]
call fcn.1005298b
mov ecx, eax
call fcn.10052ed3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
test ebx, ebx
je 0x10055ec3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.10052f63
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x10055dd1
lea eax, [edi - 1]
mov ecx, dword [ebp + 8]
push 1
mov dword [0x1010ec44], eax
call fcn.10052a31
mov eax, dword [ebp + 8]
jmp 0x10055dd1
cmp ecx, 0x42
je 0x1005634a
jle case.default.0x10056255
cmp ecx, 0x5a
jle 0x1005634d
cmp ecx, 0x5f
jne case.default.0x10056255
movsx eax, byte [edi]
lea ecx, [edi + 1]
mov dword [0x1010ec44], ecx
cmp eax, 0x4f
jg 0x10056025
cmp eax, 0x44
jge 0x1005632a
cmp eax, 0x39
jg 0x10055f9c
je 0x10055f78
test eax, eax
je 0x10055f70
cmp eax, 0x2f
jle case.default.0x10056255
cmp eax, 0x36
jle 0x10055f60
cmp eax, 0x38
jg case.default.0x10056255
movsx eax, byte [ecx - 1]
push dword [eax*4 + 0x10001398]
mov ecx, dword [ebp + 8]
call fcn.100529fc
jmp 0x10055ee2
movsx eax, byte [ecx - 1]
push dword [eax*4 + 0x10001398]
jmp 0x10055d8d
lea eax, [ecx - 1]
jmp 0x10055ed3
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x20]
push dword [eax*4 + 0x10001398]
call fcn.100529fc
mov edx, dword [ebp - 0x1c]
or edx, 0x8000
mov ecx, dword [ebp - 0x20]
jmp 0x10055ec3
cmp eax, 0x3f
je 0x10055fda
cmp eax, 0x40
jle case.default.0x10056255
cmp eax, 0x42
jle 0x1005632a
cmp eax, 0x43
jne case.default.0x10056255
push 1
lea eax, [ebp - 0x20]
push 0x100085c8
push eax
call fcn.10056e6d
mov edx, dword [ebp - 0x1c]
add esp, 0xc
or edx, 0x1000
jmp 0x10055f94
movsx eax, byte [ecx]
inc ecx
mov dword [0x1010ec44], ecx
test eax, eax
je 0x10055f70
mov edi, dword [ebp + 8]
cmp eax, 0x30
je 0x10055ffb
mov dword [edi + 4], esi
mov byte [edi + 4], 2
mov dword [edi], esi
jmp 0x1005601e
push esi
lea eax, [ebp - 0x20]
push 0x10008a58
push eax
call fcn.10056e6d
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x20]
or ecx, 0x1000
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, edi
jmp 0x10055dd1
cmp eax, 0x54
jg 0x10056220
cmp eax, 0x53
jge 0x1005632a
sub eax, 0x50
je 0x100561c4
sub eax, 1
je 0x10055d95
sub eax, 1
jne case.default.0x10056255
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 8]
push dword [eax*4 + 0x1000137c]
call fcn.10052c4f
mov eax, dword [0x1010ec44]
mov al, byte [eax]
test al, al
jne 0x10056082
push 1
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.10052f3f
jmp 0x10055ee2
movsx eax, al
sub eax, 0x30
js case.default.0x10056255
cmp eax, 5
jae case.default.0x10056255
push dword [eax*4 + 0x10001518]
lea ecx, [ebp - 0x10]
call fcn.10052c4f
mov eax, dword [0x1010ec44]
movsx ecx, byte [eax]
lea edx, [eax + 1]
mov dword [0x1010ec44], edx
cmp ecx, 0x30
je 0x10056185
cmp ecx, 0x31
je 0x100560d9
lea eax, [ecx - 0x32]
cmp eax, 2
jbe 0x1005620c
lea eax, [edx - 1]
jmp 0x10055ed3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10052f63
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10056c80
pop ecx
mov ecx, eax
call fcn.10052ef7
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10056c80
pop ecx
mov ecx, eax
call fcn.10052ef7
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10056c80
pop ecx
mov ecx, eax
call fcn.10052ef7
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
push 0x29
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10055139
pop ecx
pop ecx
mov ecx, eax
call fcn.10052ef7
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.10052ef7
jmp 0x10055ee2
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10054e13
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x24]
push 0x20
mov dword [ebp - 0x14], eax
call fcn.10052fa6
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
call fcn.10052f63
lea ecx, [ebp - 0x20]
jmp 0x1005620f
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 8]
push dword [eax*4 + 0x1000137c]
call fcn.10052c4f
push esi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10055d2a
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1005620c
test eax, 0x400
je 0x1005620c
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov byte [eax + 4], 2
mov dword [eax], esi
jmp 0x10055dd1
lea ecx, [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10052ed3
jmp 0x10055ee2
cmp eax, 0x56
jle 0x1005633a
cmp eax, 0x57
jle case.default.0x10056255
cmp eax, 0x59
jle 0x1005632a
cmp eax, 0x5f
jne case.default.0x10056255
movsx eax, byte [ecx]
inc ecx
sub eax, 0x41
mov dword [0x1010ec44], ecx
cmp eax, 0xb
ja case.default.0x10056255
movzx eax, byte [eax + 0x1005638a]
jmp dword [eax*4 + 0x1005637e]
movsx eax, byte [ecx - 1]
push dword [eax*4 + 0x100013e0]
jmp 0x10055f56
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x18]
push dword [eax*4 + 0x100013e0]
call fcn.100529fc
mov eax, dword [0x1010ec44]
cmp byte [eax], 0x3f
lea eax, [ebp - 0x28]
push eax
jne 0x100562ae
call fcn.10054ee3
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
mov eax, dword [0x1010ec44]
cmp byte [eax], 0x40
jne 0x100562bd
inc eax
mov dword [0x1010ec44], eax
jmp 0x100562bd
call fcn.10056f5a
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10052f63
push 0x10008a70
lea ecx, [ebp - 0x18]
call fcn.10052ff8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
jmp 0x10055dce
movsx eax, byte [ecx - 1]
lea ecx, [ebp - 0x20]
push dword [eax*4 + 0x100013e0]
call fcn.100529fc
jmp 0x10056303
cmp al, 0x40
je 0x10056313
inc ecx
mov dword [0x1010ec44], ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.10052fa6
mov ecx, dword [0x1010ec44]
mov al, byte [ecx]
test al, al
jne 0x100562ef
cmp al, 0x40
jne 0x1005631a
inc ecx
mov dword [0x1010ec44], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x10055dce
movsx eax, byte [ecx - 1]
push dword [eax*4 + 0x1000137c]
jmp 0x10055f56
movsx eax, byte [ecx - 1]
push dword [eax*4 + 0x1000137c]
jmp 0x10055d8d
xor esi, esi
inc esi
movsx eax, byte [edi - 1]
lea ecx, [ebp - 8]
push dword [eax*4 + 0x100012ec]
call fcn.10052c4f
test esi, esi
je 0x10055d95
cmp dword [ebp - 8], 0
je 0x10055dc3
or dword [ebp - 4], 0x200
jmp 0x10055dc3