Function at 0x432136
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push 2
pop esi
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0xffffffff
push esi
mov dword [ebp - 0x64], edx
call fcn.00413ed8
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x43217b
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xd0]
mov dword [ecx + edx*4], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x43216c
push 1
pop edi
cmp dword [ebp - 0x14], eax
jne 0x4321ac
mov edx, dword [ebp - 0x14]
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
setl bl
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov ecx, eax
neg edx
sbb edx, edx
inc edx
add edx, dword [ebp - 0x14]
je 0x4321ae
mov ecx, edi
push 3
pop ebx
add ecx, 0x25bf
je 0x4321c8
mov dword [ebp - 8], 0x9b64fda7
inc dword [ebp - 8]
jmp 0x43225a
mov dword [ebp - 8], 0x75158018
lea ecx, [ebp - 0xa8]
push edi
call fcn.00413ed8
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4321f3
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0xec], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x4321e2
mov dword [ebp - 0x10], eax
jmp 0x432210
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + edx*4], 0x79942796
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x4321fd
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xe4]
dec esi
neg esi
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
mov ecx, dword [ebp - 0xa8]
setg dl
mov dword [ecx], edx
mov byte [ebp - 9], al
cmp byte [ebp - 9], al
je 0x43224a
push eax
push 0xd77
call dword [sym.imp.USER32.dll_EndPaint]
lea ecx, [ebp - 0xa8]
call fcn.0041431c
push 2
xor eax, eax
pop esi
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x43226f
push 0x26c5
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0xd0]
call fcn.0041431c
push ebx
lea ecx, [ebp - 0x84]
call fcn.00413ed8
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 8], 0
jmp 0x4322a9
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], 0x10c93b4e
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x432296
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], esi
jg 0x432371
push esi
lea ecx, [ebp - 0x9c]
call fcn.00413ed8
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4322e4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + edx*4], 5
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x4322d1
mov ebx, dword [ebp - 0x9c]
mov dword [ebx + 4], eax
mov dword [ebp - 8], eax
jmp 0x432305
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x20], 0xda622a14
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x4322f7
mov dword [ebp - 0x20], eax
jmp 0x432327
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x84]
push 2
mov ecx, dword [edx + ecx*4]
mov dword [edx + esi*4], ecx
inc dword [ebp - 0x20]
pop esi
cmp dword [ebp - 0x20], esi
jle 0x43230f
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + edx*4], eax
jne 0x432344
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
cmp ecx, esi
jle 0x4322f2
mov byte [ebp - 9], al
cmp byte [ebp - 9], al
je 0x432357
push 0x1cb2
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x9c]
call fcn.0041431c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x4322be
push 3
pop ebx
lea ecx, [ebp - 0x84]
call fcn.0041431c
mov dword [ebp - 8], 0xe3580d4
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x10], 0xb79f6a71
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
push ebx
call fcn.00413ed8
mov eax, 0x761ac7eb
mov dword [ebp - 0x1c], 0xfb07d0d1
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4323d9
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x74], 0x6c715341
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x4323cb
mov dword [ebp - 0x10], eax
jmp 0x4323f3
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + edx*4], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x4323e4
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x10], 0xfffffff7
mov ecx, dword [ebp - 8]
test ecx, ecx
sets dl
mov dword [ebp - 0x14], edx
xor edx, edx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x2c44
setl dl
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], eax
je 0x432430
mov esi, edi
cmp dword [ebp - 0x10], eax
jne 0x432432
mov esi, eax
mov ecx, dword [ebp - 8]
xor edx, edx
cmp esi, ecx
mov ecx, dword [ebp - 8]
push 9
sete dl
add ecx, dword [ebp - 8]
imul edx, ecx
xor ecx, ecx
add edx, 0x34859bb
cmp edx, 0x3b16aac8
pop edx
setge cl
cmp edx, ecx
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0xb4]
sbb esi, esi
xor edx, edx
neg esi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
cmp esi, ecx
setl dl
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], eax
jl 0x4324f3
mov dword [ebp - 0x18], 0xdb9bec7a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x74]
mov esi, dword [ebp - 0x6c]
sub esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
neg esi
sbb esi, esi
xor edx, edx
inc esi
mov ecx, dword [ebp + ecx*4 - 0x74]
cmp esi, ecx
mov ecx, dword [ebp - 0x1c]
sete dl
xor ebx, ebx
cmp ecx, edx
setl bl
imul ebx, dword [ebp - 8]
sub ebx, dword [ebp - 0x18]
je 0x4324c5
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x74]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x74]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x74], eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4324eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
dec dword [ebp - 0x10]
jns 0x432488
push 3
pop ebx
lea ecx, [ebp - 0xb4]
call fcn.0041431c
push 9
pop esi
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 0x1c], 0x4e20eeb
mov dword [ebp - 0x24], 0x38fd2320
mov dword [ebp - 0x10], eax
jmp 0x432732
mov dword [ebp - 8], eax
jmp 0x43252f
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x44], 0xfffffff6
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x432521
mov dword [ebp - 8], eax
cmp dword [ebp - 8], esi
je 0x43272f
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x10], eax
je 0x43254f
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
jne 0x432576
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
je 0x432566
mov ecx, edi
cmp dword [ebp - 0x18], eax
jne 0x432568
mov ecx, eax
add ecx, 0x53f0d3ec
mov dword [ebp - 0x44], ecx
je 0x432576
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x10]
je 0x43271b
mov dword [ebp - 0x2c], 0x7758a8c
lea ecx, [ebp - 0x90]
push 4
call fcn.00413ed8
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4325b3
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x90]
mov dword [ecx + edx*4], 0x600bf094
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x4325a0
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], eax
jl 0x43270c
push dword [ebp + 0xc]
movdqa xmm0, xmmword [0xaba8e0]
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x50], eax
push ecx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
movdqu xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0x48], eax
call fcn.0041519b
mov esi, dword [ebp - 0x50]
and dword [esi + 4], 0
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x44]
mov eax, dword [esi + 4]
cmp dword [ebp + eax*4 - 0x44], ecx
jl 0x4326c5
mov dword [ebp - 0x14], 0xfffffff8
mov byte [ebp - 9], 0
cmp byte [ebp - 9], 0
je 0x43263a
push 0x14d5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax + 8], 8
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, edx
setle cl
xor edx, edx
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x90]
cmp ecx, dword [eax]
setne dl
xor ecx, ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
mov eax, dword [ebp - 0x14]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x44]
mov edx, 0x41e56eb4
setg cl
xor ebx, ebx
sub edx, ecx
mov ecx, edi
cmp edx, eax
mov eax, dword [ebp - 0x18]
setge bl
xor edx, edx
sub ecx, ebx
mov dword [ebp + eax*4 - 0x44], ebx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
setle dl
sub edx, 0x8af1
neg edx
sbb edx, edx
add edx, 0xffff52ae
mov dword [ebp - 0x28], edx
jmp 0x4326e8
mov byte [ebp - 9], 0
cmp byte [ebp - 9], 0
je 0x4326d5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0x44], eax
inc dword [esi + 4]
cmp dword [esi + 4], 2
jle 0x432603
lea ecx, [ebp - 0x50]
call fcn.0041431c
dec dword [ebp - 0x18]
push 0
pop eax
jns 0x4325c9
push 9
pop esi
lea ecx, [ebp - 0x90]
call fcn.0041431c
xor eax, eax
jmp 0x432720
cmp dword [ebp - 0x24], eax
jne 0x43272c
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jne 0x432540
push 3
pop ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x14
mov dword [ebp - 8], 0xffffffff
jg 0x43251c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x43276b
push eax
push 0x1217
push 0xc82
push eax
push 0x7b0
push 0x719
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x43277f
mov dword [ebp - 0x24], 6
cmp dword [ebp - 0x24], eax
jne 0x432785
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff8
jle 0x432770
push 4
lea ecx, [ebp - 0x38]
call fcn.00413ed8
mov dword [ebp - 0x1c], 0x66fe7d8a
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], eax
jmp 0x4327ac
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + edx*4], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x4327a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jg 0x43293c
mov ecx, dword [ebp - 0x38]
push 0xfffffffffffffffc
mov dword [ebp - 0x2c], ecx
pop edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0x57a55752
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
jg 0x432929
mov dword [ebp - 8], edi
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 8], eax
jmp 0x432878
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], eax
jl 0x432819
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ecx + edx*4]
mov dword [esi + edi*4], ecx
mov dword [ebp - 0x60], ecx
dec dword [ebp - 0x18]
jns 0x4327ff
mov dword [ebp - 0x18], eax
jmp 0x43286d
mov dword [ebp - 0x14], 0x969161d5
mov dword [ebp - 0x14], eax
jmp 0x432838
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + edx*4], eax
jne 0x43283d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x43282a
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], eax
jl 0x43286a
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x432865
push 0xc1e
push 0x3d3
push 0x44b
call dword [sym.imp.GDI32.dll_GetPixel]
xor eax, eax
dec dword [ebp - 0x14]
jns 0x432845
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jle 0x43281e
inc dword [ebp - 8]
push 0xfffffffffffffffc
pop edx
cmp dword [ebp - 8], ebx
jle 0x4327f4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
neg edi
mov ecx, dword [ebp - 0x60]
sbb edi, edi
xor edx, edx
neg edi
sub edi, ecx
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + esi*4], edi
mov ecx, 0x919c44d4
setge dl
cmp ecx, edx
mov ecx, dword [ebp - 0x28]
sbb edx, edx
xor ebx, ebx
inc edx
cmp edx, ecx
mov ecx, dword [ebp - 0x10]
setg bl
xor edx, edx
cmp ebx, ecx
setne dl
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x24]
mov dword [ecx + edx*4], esi
xor edx, edx
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add esi, 0x68d9a65c
cmp esi, ecx
setg dl
cmp edx, dword [ebp - 0x1c]
jne 0x43290c
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + edx*4], eax
jne 0x43290c
xor edi, edi
mov ecx, eax
inc edi
jmp 0x432911
xor edi, edi
inc edi
mov ecx, edi
push 3
pop ebx
mov dword [ebp - 0x24], ecx
inc dword [ebp - 0x10]
push 0xfffffffffffffffc
pop edx
cmp dword [ebp - 0x10], ebx
jle 0x4327dd
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], 0xfffffffa
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x4327c7
lea ecx, [ebp - 0x38]
call fcn.0041431c
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
je 0x43294e
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx]
imul eax, dword [esi]
cmp eax, 0xfffffff7
mov eax, dword [ebp + 8]
sbb ecx, ecx
neg ecx
mov eax, dword [eax]
cmp ecx, dword [eax + 0xc]
jge 0x43296f
cmp dword [edx], 0
jne 0x432971
xor edi, edi
cmp edi, dword [edx]
jne 0x432977
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x78]
mov eax, dword [esi]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret