Function at 0x436312
Capabilities:
Parse credit card information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
push 0x49b604
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0x10]
mov al, byte [esi + 0xb]
test edi, edi
setl byte [ebp - 2]
and al, 0x11
cmp byte [ebp - 2], 0
mov byte [ebp - 1], al
jne 0x436348
test byte [ebp + 0x14], 0x40
je 0x43634c
mov byte [ebp - 1], 0
and byte [ebp + 0x14], 1
push 0x50
pop eax
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042e1e2
mov eax, 0x400
cmp edi, eax
jge 0x436373
mov ecx, dword [ebp + 0xc]
push eax
mov edi, eax
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
mov dword [ebp - 0x10], eax
mov ebx, esi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x10]
cmp ebx, eax
jae 0x436a27
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x436a27
add eax, 0xfffff81c
mov ecx, ebx
sub ecx, eax
test ecx, 0xfffffffe
jl 0x4363d5
mov ecx, dword [ebp + 0xc]
add edi, 0x400
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edx, dword [ebp + 8]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
cmp word [edx], 0x25
je 0x436400
mov ecx, 0x3dd
mov ax, word [edx]
test ax, ax
je 0x436384
cmp ax, 0x25
je 0x436384
mov word [ebx], ax
inc ebx
inc ebx
inc edx
inc edx
dec ecx
mov dword [ebp - 8], ebx
mov dword [ebp + 8], edx
jns 0x4363e0
jmp 0x436384
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x14], edx
je 0x4366ef
lea eax, [edx + 2]
mov cx, word [eax]
cmp cx, 0x25
mov dword [ebp - 0x20], eax
jne 0x43642c
mov word [ebx], cx
inc ebx
inc ebx
add edx, 4
mov dword [ebp + 8], edx
jmp 0x436381
cmp cx, 0x23
jne 0x43646f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x40]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x436384
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x436384
mov word [ebx], cx
inc ebx
inc ebx
inc eax
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x436459
jmp 0x436381
cmp cx, 0x2a
jne 0x436500
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x436384
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x3c]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x4364d5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + ecx*4]
js 0x436384
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x4364ee
jmp 0x436381
cmp cx, 0x40
jne 0x436593
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x436384
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x3c]
push dword [eax + ecx*4 + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x436567
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + ecx*4 + 4]
js 0x436384
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x436581
jmp 0x436381
push ecx
call fcn.0040fd8a
add esp, 4
test al, al
jne 0x4365c1
cmp cx, 0x7e
jb 0x4366ef
xor eax, eax
mov ax, word [edx + 4]
push eax
call fcn.0040fd8a
add esp, 4
test al, al
je 0x4366ef
and dword [ebp - 0x24], 0
cmp cx, 0x7e
jb 0x4365d5
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x25
inc edx
inc edx
mov dword [ebp + 8], edx
movzx edx, word [edx]
xor ecx, ecx
and dword [ebp - 0x30], ecx
push edx
mov dword [ebp + 0x10], edx
call fcn.0040fd8a
add esp, 4
test al, al
je 0x436632
push 0
push 0xa
push dword [ebp - 0x30]
push ecx
call fcn.00471360
mov ecx, eax
movzx eax, word [ebp + 0x10]
mov ebx, edx
cdq
add ecx, eax
adc ebx, edx
add ecx, 0xffffffd0
adc ebx, 0xffffffff
add dword [ebp + 8], 2
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0x10], eax
call fcn.0040fd8a
add esp, 4
test al, al
jne 0x4365f2
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
cdq
cmp dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
ja 0x436384
jb 0x43664f
cmp ecx, eax
jae 0x436384
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x436384
mov eax, dword [eax + ecx*4]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x24], 0
mov dword [ebp + 0x10], eax
je 0x436692
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x22
jne 0x436692
mov ecx, dword [ebp + 0x10]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x43668a
dec dword [ebp + 0x10]
dec dword [ebp + 0x10]
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x4366cb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
js 0x436384
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ebp - 0x14]
mov cx, word [ecx]
add dword [ebp - 0x14], 2
mov word [ebx], cx
inc ebx
inc ebx
dec eax
jne 0x4366d8
jmp 0x436381
push 8
push str._RANDOM_
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43679e
add dword [ebp + 8], 0x10
and word [ebp - 0x7c], ax
call fcn.0042a64d
and edx, 0x7fffffff
push edx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0042dbf5
and word [ebp - 0x3e], 0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
mov dword [ebp + 0x10], eax
jge 0x436743
and dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43677c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
js 0x436384
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43678c
jmp 0x436381
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x20], ecx
xor eax, eax
jmp 0x4367c2
cmp ax, 0x25
je 0x4367cd
cmp ax, 0x3d
je 0x4367cd
call fcn.0040ac1b
test al, al
jne 0x4367cd
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x4367ab
movsx edx, byte [ebp - 1]
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
sar eax, 1
cmp word [ecx], 0x25
mov dword [ebp - 0xc], eax
mov byte [ebp + 0x13], 0
mov dword [ebp - 0x2c], edx
je 0x436844
lea ecx, [eax + eax + 4]
sub ecx, dword [ebp - 0x10]
add ecx, ebx
test ecx, 0xfffffffe
jl 0x436822
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
dec eax
mov dword [ebp - 0xc], eax
js 0x436384
mov ecx, eax
mov eax, dword [ebp - 0x14]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x436832
jmp 0x436381
cmp byte [ebp - 2], 0
jne 0x43688a
mov edx, dword [ebp - 0x20]
mov ax, word [edx]
cmp ax, 0x26
je 0x436862
cmp byte [ebp - 1], 0
je 0x43688a
cmp ax, 0x5e
je 0x43688a
mov eax, edx
inc ecx
inc ecx
cmp word [eax], 0x26
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x20], eax
jne 0x436923
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 1
jmp 0x436923
mov eax, dword [ebp - 0x20]
inc ecx
inc ecx
cmp word [eax], 0x5e
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
jne 0x4368a4
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp + 0x13], 8
mov dword [ebp - 0x20], eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
and word [eax], 0
and word [ecx], 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x4368f6
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x4368f6
mov eax, dword [ebp - 0xc]
add eax, 0x64
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042e20b
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov word [eax], 0x25
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x4369c9
cmp byte [ebp + 0x13], 0
jne 0x436384
cmp byte [ebp - 2], 0
mov byte [ebp + 0x13], 1
jne 0x436384
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
and word [eax], 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x20]
call fcn.004100d3
test eax, eax
mov ecx, dword [ebp - 0x24]
mov word [ecx], 0x25
jne 0x436960
cmp dword [ebp - 0x2c], eax
jne 0x436384
cmp byte [ebp + 0x13], al
jne 0x436384
mov byte [ebp + 0x13], 1
jmp 0x4368a7
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x4369a5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp - 0xc]
js 0x436384
mov eax, dword [ebp - 0xc]
inc eax
mov ecx, dword [ebp - 0x14]
mov cx, word [ecx]
add dword [ebp - 0x14], 2
mov word [ebx], cx
inc ebx
inc ebx
dec eax
jne 0x4369b2
jmp 0x436381
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x436a05
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042e20b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp - 0xc]
js 0x436384
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x436a15
jmp 0x436381
and word [ebx], 0
mov ecx, dword [ebp + 0xc]
sub ebx, esi
sar ebx, 1
lea eax, [ebx + 2]
push eax
call fcn.0042e20b
lea ecx, [ebp - 0x1c]
call fcn.00428a48
mov eax, 0x49b604
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10