Function at 0x10036a64
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp - 0xc], ecx
and byte [eax], dl
mov eax, dword [ebp + 0x1c]
cmp eax, edx
je 0x10036a82
cmp dword [ebp + 0x20], edx
jle 0x10036a82
and byte [eax], dl
cmp dword [ecx], edx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
jle 0x10036d80
push dword [ebp - 8]
mov edi, dword [ebp + 8]
call fcn.10036a4b
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], ebx
je 0x10036cb6
mov eax, dword [ebx + 0x1c]
cmp eax, 3
jne 0x10036b22
push 0x2e
push edi
call fcn.10013bf5
pop ecx
test eax, eax
pop ecx
jne 0x10036cb6
push 7
push str.http:__
push edi
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10036cb6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 8
mov dword [ebp - 4], esi
jle 0x10036cb6
lea eax, [edi + 7]
push 0x2f
push eax
call fcn.10013bf5
pop ecx
pop ecx
lea ecx, [esi + edi - 1]
cmp ecx, eax
jne 0x10036cb6
push esi
push edi
push dword [ebp + 0xc]
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10036d29
jmp 0x10036cb6
cmp eax, 5
jne 0x10036bc6
cmp dword [ebp + 0xc], 0
je 0x10036cb6
push 6
push str.res:__
push dword [ebp + 0xc]
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10036cb6
push str.shdoclc.dll_dnserror.htm
push dword [ebp + 0xc]
call fcn.10013e0e
pop ecx
test eax, eax
pop ecx
je 0x10036cb6
push 7
push str.http:__
push edi
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10036cb6
lea esi, [edi + 7]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x10036cb6
mov dl, byte [ecx + esi]
cmp dl, 0x2f
je 0x10036bae
cmp dl, 0x3f
je 0x10036bae
cmp dl, 0x3a
je 0x10036bae
cmp dl, 0x23
je 0x10036bae
inc ecx
cmp ecx, eax
jl 0x10036b92
test ecx, ecx
jle 0x10036cb6
cmp byte [ecx + esi + 1], 0
je 0x10036d32
jmp 0x10036cb6
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x10036cb6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push edi
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10036cb6
xor esi, esi
cmp dword [ebx + 0x18], esi
je 0x10036cb6
cmp dword [ebx], esi
jle 0x10036c2f
push esi
mov ecx, ebx
call fcn.1003645d
mov edi, eax
test edi, edi
je 0x10036c2a
push edi
push dword [ebp + 8]
call fcn.10013e0e
pop ecx
test eax, eax
pop ecx
jne 0x10036c2a
push edi
push dword [ebp + 0x10]
call fcn.10013e0e
pop ecx
test eax, eax
pop ecx
je 0x10036cb6
inc esi
cmp esi, dword [ebx]
jl 0x10036bfa
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x10036c68
push edi
mov ecx, ebx
call fcn.10036443
mov esi, eax
test esi, esi
je 0x10036c62
push esi
push dword [ebp + 8]
call fcn.10013e0e
pop ecx
test eax, eax
pop ecx
jne 0x10036cb6
push esi
push dword [ebp + 0x10]
call fcn.10013e0e
pop ecx
test eax, eax
pop ecx
jne 0x10036cb6
inc edi
cmp edi, dword [ebx + 8]
jl 0x10036c36
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x10036d17
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
jne 0x10036c8f
push 0x3f
push dword [ebp + 8]
call fcn.10013bf5
pop ecx
test eax, eax
pop ecx
je 0x10036c8f
inc eax
mov dword [ebp + 0x10], eax
push edi
push dword [ebp + 0x10]
call fcn.10013e0e
pop ecx
mov esi, eax
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp + 0x10], esi
je 0x10036cb0
jae 0x10036cb6
cmp byte [esi - 1], 0x26
jne 0x10036cb6
cmp byte [eax + esi], 0x3d
je 0x10036ccc
inc dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [ecx]
jge 0x10036d80
jmp 0x10036a90
lea esi, [esi + eax + 1]
mov cl, 0x26
mov al, byte [esi]
and dword [ebp - 4], 0
test al, al
je 0x10036cfc
cmp cl, al
je 0x10036cfc
cmp al, 0x3f
je 0x10036cfc
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov al, byte [eax + esi]
test al, al
jne 0x10036cdc
push 1
pop eax
test eax, eax
je 0x10036d80
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebp + 8], eax
je 0x10036d37
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10036d43
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov cl, 0x2f
add esi, dword [ebp + 8]
jmp 0x10036cd2
sub dword [ebp - 4], 8
lea esi, [edi + 7]
jmp 0x10036cfc
mov dword [ebp - 4], ecx
jmp 0x10036cfc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 0x14], ecx
je 0x10036d80
test ecx, ecx
je 0x10036d80
cmp dword [ebp - 4], 0
jle 0x10036d80
mov eax, dword [ebx + 0x1c]
test eax, eax
jl 0x10036d80
cmp eax, 1
jle 0x10036ed5
cmp eax, 2
je 0x10036d8a
cmp eax, 3
je 0x10036ed5
cmp eax, 4
je 0x10036d8a
cmp eax, 5
je 0x10036ed5
push 0x63
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
movsx eax, byte [esi]
push eax
call fcn.10014090
test eax, eax
pop ecx
jne 0x10036daa
movsx eax, byte [esi]
push eax
call fcn.10013ea2
test eax, eax
pop ecx
je 0x10036ed5
and dword [ebp - 8], 0
and dword [ebp + 0x10], 0
push 1
mov dword [ebp + 0xc], 0xfffffff6
pop ebx
cmp dword [ebp - 4], ebx
jle 0x10036ec8
cmp dword [ebp + 0x10], 0
jne 0x10036ea2
movsx eax, byte [ebx + esi]
lea edi, [ebx + esi]
push eax
call fcn.10014090
test eax, eax
pop ecx
jne 0x10036e21
movsx eax, byte [edi]
push eax
call fcn.10013ea2
test eax, eax
pop ecx
jne 0x10036e21
mov eax, ebx
sub eax, dword [ebp + 0xc]
cmp eax, 2
jle 0x10036e91
mov al, byte [edi]
cmp al, 0x25
je 0x10036e1c
cmp al, 0x2b
je 0x10036e91
cmp al, 0x2e
jne 0x10036e98
mov dword [ebp - 8], 1
jmp 0x10036e98
mov dword [ebp + 0xc], ebx
jmp 0x10036e98
mov eax, ebx
sub eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x10036e98
mov al, byte [ebx + esi - 1]
push eax
call fcn.1002eae0
mov edx, eax
mov al, byte [edi]
shl edx, 4
push eax
mov dword [ebp - 0x20], edx
call fcn.1002eae0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
add eax, ecx
cmp eax, 0x3d
ja 0x10036e78
je 0x10036e98
cmp eax, 0x24
jb 0x10036e91
cmp eax, 0x26
jbe 0x10036e98
cmp eax, 0x2b
je 0x10036e98
cmp eax, 0x2e
je 0x10036e13
cmp eax, 0x2f
je 0x10036e98
cmp eax, 0x39
jbe 0x10036e91
cmp eax, 0x3b
jbe 0x10036e98
jmp 0x10036e91
cmp eax, 0x3f
jb 0x10036e91
cmp eax, 0x40
jbe 0x10036e98
cmp eax, 0x5c
je 0x10036e98
cmp eax, 0x5f
je 0x10036e98
cmp eax, 0x7e
je 0x10036e98
mov dword [ebp + 0x10], 1
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x10036dc5
cmp dword [ebp - 8], 0
je 0x10036ec8
cmp dword [ebp + 0x10], 0
jne 0x10036ec8
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
cmp eax, 2
jle 0x10036ec8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 4
jne 0x10036d80
jmp 0x10036ed5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 4
je 0x10036d80
cmp dword [ebp + 8], 0
jne 0x10036efa
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 0
mov eax, dword [ebp - 0xc]
jne 0x10036eec
mov eax, dword [eax + 0x10]
jmp 0x10036eef
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [ebp + 8], eax
je 0x10036d80
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push dword [ebp - 0x18]
mov ebx, eax
call edi
push dword [ebp + 8]
add ebx, eax
call edi
push dword [ebp - 0x1c]
mov dword [ebp + 0x10], ebx
mov ebx, eax
add ebx, dword [ebp - 4]
call edi
mov ecx, dword [ebp + 0x10]
add ebx, ecx
lea eax, [eax + ebx + 0xa]
cmp dword [ebp + 0x18], eax
jle 0x10036d80
push 0x3f
push dword [ebp + 8]
call fcn.10013bf5
neg eax
sbb eax, eax
pop ecx
neg eax
mov dword [ebp + 0x10], eax
pop ecx
push dword [ebp - 0x14]
sete al
push dword [ebp - 0x1c]
dec eax
and al, 0xe7
push dword [ebp - 0x18]
add eax, 0x3f
movsx eax, al
push eax
push dword [ebp + 8]
push str._s_c_s_s_s
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 4]
add esp, 0x1c
inc eax
push eax
push esi
push dword [ebp + 0x14]
call edi
add eax, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push eax
call esi
cmp dword [ebp + 0x1c], 0
je 0x10036f99
push dword [ebp + 0x20]
push dword [ebp - 0x1c]
push dword [ebp + 0x1c]
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
jmp 0x10036d83