Function at 0x1005c0b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018afb6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
test edi, edi
jne 0x1005c10f
xor edx, edx
mov dword [ebp - 0xc4], edx
jmp 0x1005c1e7
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005c114
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push 0x80
push eax
lea eax, [ebp - 0xc4]
lea ebx, [ecx + 1]
lea esi, [ebx*4]
mov dword [ebp - 0x1d8], ebx
push esi
push eax
call fcn.10004920
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0xc4]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push edi
push 0
push 0xfde9
call esi
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1005c1d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1005c1d9
mov ebx, dword [ebp - 0x1d8]
push 0
push 0
push 0
push 0
push ebx
push edi
push 0
push 0xfde9
call esi
mov esi, eax
lea eax, [ebp - 0xc0]
push 0x80
push eax
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.10004920
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0xc4]
push ebx
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x1005c64a
mov edx, dword [ebp - 0xc4]
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c205
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1001f970
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x1005c235
push eax
call fcn.1016217a
add esp, 4
push 0
push 0x10192a2a
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001f970
mov ebx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], esi
jbe 0x1005c572
nop dword [eax + eax]
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
movzx eax, byte [eax + esi]
push eax
call fcn.1016cabc
add esp, 4
test eax, eax
jne 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x26
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x25
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x3d
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x3f
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x2d
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x5f
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x2e
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x7e
je 0x1005c3a1
cmp ebx, 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmovae eax, edi
cmp byte [eax + esi], 0x20
jne 0x1005c345
push 1
push 0x10198a84
call fcn.10007a20
jmp 0x1005c568
push 0x25
call fcn.10059c80
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
mov cl, byte [eax + esi]
mov al, 9
shr cl, 4
cmp al, cl
sbb al, al
add cl, 0x30
and al, 7
add al, cl
lea ecx, [ebp - 0x28]
movzx eax, al
push eax
call fcn.10059c80
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
mov cl, byte [eax + esi]
mov al, 9
and cl, 0xf
cmp al, cl
sbb al, al
add cl, 0x30
and al, 7
add al, cl
lea ecx, [ebp - 0x28]
movzx eax, al
push eax
call fcn.10059c80
jmp 0x1005c568
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
cmp ebx, 0x10
mov dword [ebp - 0x1d8], edx
cmovae eax, edi
mov dword [ebp - 0x1dc], ecx
mov al, byte [eax + esi]
mov byte [ebp - 0x1c9], al
cmp edx, ecx
jae 0x1005c3ec
lea eax, [edx + 1]
cmp ecx, 0x10
mov cl, byte [ebp - 0x1c9]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x1005c568
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x1005c66e
lea ecx, [edx + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x1005c411
mov ecx, SysReAllocString
jmp 0x1005c44a
mov eax, dword [ebp - 0x1dc]
shr eax, 1
mov dword [ebp - 0x1d0], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1dc], eax
jbe 0x1005c439
mov ecx, SysReAllocString
jmp 0x1005c44a
mov eax, dword [ebp - 0x1dc]
add eax, dword [ebp - 0x1d0]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1d4], eax
cmp eax, 0x1000
jb 0x1005c49b
add eax, 0x23
mov ecx, 0xffffffff
cmp eax, dword [ebp - 0x1d4]
cmovbe eax, ecx
push eax
call fcn.1013725d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1005c669
mov edx, dword [ebp - 0x1d8]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x1d0]
jmp 0x1005c4b8
test eax, eax
je 0x1005c4b6
push eax
call fcn.1013725d
mov ecx, dword [ebp - 0x1d0]
add esp, 4
mov edx, dword [ebp - 0x1d8]
jmp 0x1005c4b8
xor eax, eax
cmp dword [ebp - 0x1dc], 0x10
lea ebx, [edx + 1]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x14], ecx
push edx
jb 0x1005c53e
mov ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x1d0], ecx
call fcn.1015b290
mov eax, dword [ebp - 0x1d4]
add esp, 0xc
mov ecx, dword [ebp - 0x1d8]
mov dl, byte [ebp - 0x1c9]
mov byte [ecx + eax], dl
mov byte [ecx + eax + 1], 0
mov ecx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1d0]
inc ecx
cmp ecx, 0x1000
jb 0x1005c52c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c669
mov eax, edx
push ecx
push eax
call fcn.10136eb8
mov eax, dword [ebp - 0x1d4]
add esp, 8
jmp 0x1005c565
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.1015b290
mov eax, dword [ebp - 0x1d4]
add esp, 0xc
mov ecx, dword [ebp - 0x1d8]
mov dl, byte [ebp - 0x1c9]
mov byte [ecx + eax], dl
mov byte [ecx + eax + 1], 0
mov dword [ebp - 0x28], eax
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x1005c270
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0xfde9
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.100080b0
push dword [eax]
mov esi, dword [ebp - 0x1e0]
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10004fe0
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c4]
cmp eax, ecx
je 0x1005c5ba
push eax
call fcn.1016217a
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005c5ee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c5e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c669
push edx
push ecx
call fcn.10136eb8
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ebx, 0x10
jb 0x1005c62a
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x1005c620
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c673
push ebx
push edi
call fcn.10136eb8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret 8
push 0x80
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc4]
call fcn.10004a20
add esp, 0xc
call fcn.10005960
call fcn.1015f359
call fcn.10007940
call fcn.1015f359
int3