Function at 0x1012e8e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], ebx
nop dword [eax]
cmp edi, dword [edx]
jb 0x1012e92e
mov eax, edi
sub eax, dword [edx + 4]
cmp eax, dword [edx + 0x10]
je 0x1012ef37
push dword [edx + 0x48]
lea eax, [ebp - 0x20]
mov ecx, edx
push edi
push eax
call fcn.100d0ea0
cmp byte [ebp - 0x1c], 0
mov edi, dword [ebp - 0x20]
jne 0x1012ef37
movzx ebx, byte [edi]
cmp ebx, 0x80
jae 0x1012e93c
inc edi
jmp 0x1012e96b
movzx ecx, byte [edi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x1012e957
add edi, 2
jmp 0x1012e96b
push ebx
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.100d1e00
mov ebx, dword [ebp - 0x24]
add esp, 0xc
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1012ef32
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0x10
ja case.0x1012e982.2
jmp dword [eax*4 + 0x1012ef48]
cmp bl, 0xa
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 4
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x1012e9ac
push eax
call fcn.10127720
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 4]
push edi
push eax
call fcn.1012b210
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x25
jne case.0x1012e982.2
mov eax, dword [edi]
or esi, 0x80
mov ebx, dword [ebp - 8]
add edi, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
movss xmm0, dword [ebp - 0xc]
movss dword [ebx + 0x3c], xmm0
jmp 0x1012e900
cmp bl, 0x2d
jne case.0x1012e982.2
mov eax, dword [edi]
or esi, 0x100
mov ebx, dword [ebp - 8]
add edi, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
movss xmm0, dword [ebp - 0xc]
movss dword [ebx + 0x40], xmm0
jmp 0x1012e900
cmp bl, 0x35
jne case.0x1012e982.2
mov eax, dword [edi]
or esi, 0x200
mov ebx, dword [ebp - 8]
add edi, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
movss xmm0, dword [ebp - 0xc]
movss dword [ebx + 0x44], xmm0
jmp 0x1012e900
cmp bl, 0x3d
jne case.0x1012e982.2
mov eax, dword [edi]
or esi, 0x400
mov ebx, dword [ebp - 8]
add edi, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
movss xmm0, dword [ebp - 0xc]
movss dword [ebx + 0x48], xmm0
jmp 0x1012e900
cmp bl, 0x42
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x20]
or dword [ebx + 8], 1
cmp dword [eax], 0x101d7ea0
jne 0x1012ecd3
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x20]
jmp 0x1012ecd3
cmp bl, 0x48
jne case.0x1012e982.2
lea eax, [ebp - 0x30]
or esi, 0x800
push eax
push edi
call fcn.100c29b0
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
je 0x1012ead5
mov al, 1
jmp 0x1012ead7
xor al, al
mov ebx, dword [ebp - 8]
mov byte [ebx + 0x4c], al
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x52
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 8
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x1012eb10
push eax
call fcn.10100f00
add esp, 4
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp - 4]
push edi
push eax
call fcn.10101010
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x5a
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 0x10
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x1012eb4f
push eax
call fcn.10100f00
add esp, 4
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp - 4]
push edi
push eax
call fcn.10101010
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x60
jne case.0x1012e982.2
lea eax, [ebp - 0x38]
or esi, 0x1000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x38]
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x68
jne case.0x1012e982.2
lea eax, [ebp - 0x40]
or esi, 0x2000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x72
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 0x20
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x1012ec0e
push ecx
call fcn.10118640
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x34], eax
movzx eax, byte [edi]
cmp eax, 0x80
jae 0x1012ec1b
inc edi
jmp 0x1012ec2f
push eax
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.100d1cc0
mov edi, dword [ebp - 0x48]
add esp, 0xc
mov eax, dword [ebp - 0x44]
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
add eax, edi
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], eax
cmovl eax, dword [ebp - 0x10]
add eax, dword [edx + 4]
add dword [edx + 0x44], 0xffffffff
mov dword [edx], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
js 0x1012ef35
mov ecx, dword [ebp - 0xc]
push edx
push edi
call fcn.10110070
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
inc dword [edx + 0x44]
cmp dword [edx + 0x3c], 0
jne 0x1012ef35
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edx + 0x10], eax
cmovs ecx, eax
add ecx, dword [edx + 4]
mov dword [edx], ecx
jmp 0x1012e900
cmp bl, 0x7a
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x24]
or dword [ebx + 8], 2
cmp dword [eax], 0x101d7ea0
jne 0x1012ecd3
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 4]
push edx
push edi
push dword [eax]
call fcn.100d1030
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
cmp bl, 0x82
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 0x40
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x1012ed1d
push ecx
call fcn.1012aef0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x38], eax
movzx eax, byte [edi]
cmp eax, 0x80
jae 0x1012ed2a
inc edi
jmp 0x1012ed3e
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.100d1cc0
mov edi, dword [ebp - 0x50]
add esp, 0xc
mov eax, dword [ebp - 0x4c]
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
add eax, edi
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], eax
cmovl eax, dword [ebp - 0x10]
add eax, dword [edx + 4]
add dword [edx + 0x44], 0xffffffff
mov dword [edx], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
js 0x1012ef35
mov ecx, dword [ebp - 0xc]
push edx
push edi
call fcn.1012ef90
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
inc dword [edx + 0x44]
cmp dword [edx + 0x3c], 0
jne 0x1012ef35
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edx + 0x10], eax
cmovs ecx, eax
add ecx, dword [edx + 4]
mov dword [edx], ecx
jmp 0x1012e900
cmp bl, 0x8a
jne case.0x1012e982.2
mov ebx, dword [ebp - 8]
add edi, 0xfffffffe
mov eax, dword [ebx + 0x1c]
add edi, 2
test eax, eax
je 0x1012edee
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1012ede9
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x14], eax
jmp 0x1012ee1d
cmp edx, dword [ebx + 0x18]
jne 0x1012edfb
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
inc eax
push eax
call fcn.10094700
mov eax, dword [ebx + 0x1c]
inc dword [eax]
push dword [ebx + 0x10]
call fcn.1012ac00
mov ecx, dword [ebx + 0x14]
mov edx, eax
mov eax, dword [ebx + 0x1c]
add esp, 4
mov dword [ebp - 0xc], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 0x14]
movzx eax, byte [edi]
cmp eax, 0x80
jae 0x1012ee2a
inc edi
jmp 0x1012ee3e
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.100d1cc0
mov edi, dword [ebp - 0x58]
add esp, 0xc
mov eax, dword [ebp - 0x54]
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
add eax, edi
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], eax
cmovl eax, dword [ebp - 0x10]
add eax, dword [edx + 4]
add dword [edx + 0x44], 0xffffffff
mov dword [edx], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
js 0x1012ef35
mov ecx, dword [ebp - 0xc]
push edx
push edi
call fcn.1012e0d0
mov edi, eax
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
inc dword [edx + 0x44]
cmp dword [edx + 0x3c], 0
jne 0x1012ef35
mov eax, dword [edx + 0x10]
xor ecx, ecx
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
cmovs ecx, eax
add ecx, dword [edx + 4]
mov dword [edx], ecx
cmp edi, ecx
jae 0x1012e900
movzx eax, byte [edi]
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], 0x18a
cmp al, byte [ecx]
jne 0x1012eed4
movzx eax, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x1012eed4
xor eax, eax
jmp 0x1012eed9
sbb eax, eax
or eax, 1
test eax, eax
je 0x1012edc7
jmp 0x1012e900
mov eax, ebx
and al, 7
cmp al, 4
je 0x1012ef18
test ebx, ebx
je 0x1012ef18
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push edi
add eax, 4
push eax
push ebx
call fcn.100c3a10
mov ebx, dword [ebp - 8]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1012ef35
mov edx, dword [ebp - 4]
jmp 0x1012e900
mov edx, dword [ebp - 4]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 8]
mov dword [edx + 0x3c], eax
mov eax, edi
or dword [ebx + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8