Function at 0x439f58
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 0x49062c
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 0x439f8e
test byte [ebp + 0x14], 0x40
je 0x439f92
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.0042aed6
mov eax, 0x400
cmp edi, eax
jge 0x439fb9
mov ecx, dword [ebp + 0xc]
push eax
mov edi, eax
call fcn.0042aeff
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 0x43a66d
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x43a66d
add eax, 0xfffff81c
mov ecx, ebx
sub ecx, eax
test ecx, 0xfffffffe
jl 0x43a01b
mov ecx, dword [ebp + 0xc]
add edi, 0x400
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042aeff
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 0x43a046
mov ecx, 0x3dd
mov ax, word [edx]
test ax, ax
je 0x439fca
cmp ax, 0x25
je 0x439fca
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 0x43a026
jmp 0x439fca
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x14], edx
je 0x43a335
lea eax, [edx + 2]
mov cx, word [eax]
cmp cx, 0x25
mov dword [ebp - 0x20], eax
jne 0x43a072
mov word [ebx], cx
inc ebx
inc ebx
add edx, 4
mov dword [ebp + 8], edx
jmp 0x439fc7
cmp cx, 0x23
jne 0x43a0b5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x34]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x439fca
mov ecx, dword [ecx + 0x30]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x439fca
mov word [ebx], cx
inc ebx
inc ebx
inc eax
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x43a09f
jmp 0x439fc7
cmp cx, 0x2a
jne 0x43a146
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x439fca
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x30]
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 0x43a11b
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.0042aeff
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 + 0x30]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + ecx*4]
js 0x439fca
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 0x43a134
jmp 0x439fc7
cmp cx, 0x40
jne 0x43a1d9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x439fca
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x30]
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 0x43a1ad
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.0042aeff
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 + 0x30]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + ecx*4 + 4]
js 0x439fca
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 0x43a1c7
jmp 0x439fc7
push ecx
call fcn.0042aa31
add esp, 4
test al, al
jne 0x43a207
cmp cx, 0x7e
jb 0x43a335
xor eax, eax
mov ax, word [edx + 4]
push eax
call fcn.0042aa31
add esp, 4
test al, al
je 0x43a335
and dword [ebp - 0x24], 0
cmp cx, 0x7e
jb 0x43a21b
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.0042aa31
add esp, 4
test al, al
je 0x43a278
push 0
push 0xa
push dword [ebp - 0x30]
push ecx
call fcn.00467ab0
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.0042aa31
add esp, 4
test al, al
jne 0x43a238
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
cdq
cmp dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
ja 0x439fca
jb 0x43a295
cmp ecx, eax
jae 0x439fca
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x439fca
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 0x43a2d8
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x22
jne 0x43a2d8
mov ecx, dword [ebp + 0x10]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x43a2d0
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 0x43a311
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.0042aeff
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 0x439fca
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 0x43a31e
jmp 0x439fc7
push 8
push str._RANDOM_
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43a3e4
add dword [ebp + 8], 0x10
and word [ebp - 0x7c], ax
call fcn.00427c6b
and edx, 0x7fffffff
push edx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043451e
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 0x43a389
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 0x43a3c2
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.0042aeff
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 0x439fca
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 0x43a3d2
jmp 0x439fc7
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x20], ecx
xor eax, eax
jmp 0x43a408
cmp ax, 0x25
je 0x43a413
cmp ax, 0x3d
je 0x43a413
call fcn.00426083
test al, al
jne 0x43a413
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x43a3f1
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 0x43a48a
lea ecx, [eax + eax + 4]
sub ecx, dword [ebp - 0x10]
add ecx, ebx
test ecx, 0xfffffffe
jl 0x43a468
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042aeff
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 0x439fca
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 0x43a478
jmp 0x439fc7
cmp byte [ebp - 2], 0
jne 0x43a4d0
mov edx, dword [ebp - 0x20]
mov ax, word [edx]
cmp ax, 0x26
je 0x43a4a8
cmp byte [ebp - 1], 0
je 0x43a4d0
cmp ax, 0x5e
je 0x43a4d0
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 0x43a569
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 1
jmp 0x43a569
mov eax, dword [ebp - 0x20]
inc ecx
inc ecx
cmp word [eax], 0x5e
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
jne 0x43a4ea
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 0x43a53c
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x43a53c
mov eax, dword [ebp - 0xc]
add eax, 0x64
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042aeff
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 0x43a60f
cmp byte [ebp + 0x13], 0
jne 0x439fca
cmp byte [ebp - 2], 0
mov byte [ebp + 0x13], 1
jne 0x439fca
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
and word [eax], 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x20]
call fcn.0040f7cf
test eax, eax
mov ecx, dword [ebp - 0x24]
mov word [ecx], 0x25
jne 0x43a5a6
cmp dword [ebp - 0x2c], eax
jne 0x439fca
cmp byte [ebp + 0x13], al
jne 0x439fca
mov byte [ebp + 0x13], 1
jmp 0x43a4ed
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 0x43a5eb
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.0042aeff
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 0x439fca
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 0x43a5f8
jmp 0x439fc7
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 0x43a64b
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.0042aeff
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 0x439fca
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 0x43a65b
jmp 0x439fc7
and word [ebx], 0
mov ecx, dword [ebp + 0xc]
sub ebx, esi
sar ebx, 1
lea eax, [ebx + 2]
push eax
call fcn.0042aeff
lea ecx, [ebp - 0x1c]
call fcn.0042602e
mov eax, 0x49062c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10