Function at 0x10050c30
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x101811b8]
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 0x10050c8f
xor edx, edx
mov dword [ebp - 0xc4], edx
jmp 0x10050d67
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10050c94
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.10004ef0
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 0x10050d59
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10050d59
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.10004ef0
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 0x100511ca
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 0x10050d85
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1001e980
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x10050db5
push eax
call fcn.1011dc49
add esp, 4
push 0
push 0x1014697a
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001e980
mov ebx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], esi
jbe 0x100510f2
nop dword [eax + eax]
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
movzx eax, byte [eax + esi]
push eax
call fcn.101283a5
add esp, 4
test eax, eax
jne 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x26
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x25
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x3d
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x3f
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x2d
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x5f
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x2e
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
cmp byte [eax + esi], 0x7e
je 0x10050f21
cmp ebx, 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmovae eax, edi
cmp byte [eax + esi], 0x20
jne 0x10050ec5
push 1
push 0x1014d87c
call fcn.10007ff0
jmp 0x100510e8
push 0x25
call fcn.1004ee50
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.1004ee50
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.1004ee50
jmp 0x100510e8
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 0x10050f6c
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 0x100510e8
mov eax, 0x7fffffff
sub eax, edx
cmp eax, 1
jb 0x100511ee
lea ecx, [edx + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10050f91
mov ecx, 0x7fffffff
jmp 0x10050fca
mov eax, dword [ebp - 0x1dc]
shr eax, 1
mov dword [ebp - 0x1d0], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1dc], eax
jbe 0x10050fb9
mov ecx, 0x7fffffff
jmp 0x10050fca
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 0x1005101b
add eax, 0x23
mov ecx, 0xffffffff
cmp eax, dword [ebp - 0x1d4]
cmovbe eax, ecx
push eax
call fcn.1010c1ed
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100511e9
mov edx, dword [ebp - 0x1d8]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x1d0]
jmp 0x10051038
test eax, eax
je 0x10051036
push eax
call fcn.1010c1ed
mov ecx, dword [ebp - 0x1d0]
add esp, 4
mov edx, dword [ebp - 0x1d8]
jmp 0x10051038
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 0x100510be
mov ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x1d0], ecx
call fcn.10116d10
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 0x100510ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100511e9
mov eax, edx
push ecx
push eax
call fcn.1010be48
mov eax, dword [ebp - 0x1d4]
add esp, 8
jmp 0x100510e5
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.10116d10
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 0x10050df0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0xfde9
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.10008680
push dword [eax]
mov esi, dword [ebp - 0x1e0]
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.100055b0
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c4]
cmp eax, ecx
je 0x1005113a
push eax
call fcn.1011dc49
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005116e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100511e9
push edx
push ecx
call fcn.1010be48
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ebx, 0x10
jb 0x100511aa
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x100511a0
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100511f3
push ebx
push edi
call fcn.1010be48
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.1010c1dc
mov esp, ebp
pop ebp
ret 8
push 0x80
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc4]
call fcn.10004ff0
add esp, 0xc
call fcn.10005f30
call fcn.1011ae29
call fcn.10007f10
call fcn.1011ae29
int3