Function at 0x1003e25f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062547
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], 0x4a6d
mov dword [ebp - 0x54], 0x1000b010
cmp dword [ebp - 0x38], 0x4c54
jle 0x1003e32a
and dword [ebp - 0x30], 0
jmp 0x1003e2ac
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x75e7
jge 0x1003e32a
and dword [ebp - 0x24], 0
jmp 0x1003e2c2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x272a
jge 0x1003e325
and dword [ebp - 0x1c], 0
jmp 0x1003e2d8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4a31
jge 0x1003e323
mov eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x8c]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.10012710
jmp 0x1003e2d1
jmp 0x1003e2bb
jmp 0x1003e2a5
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003e4aa
lea eax, [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1003e45d
mov dword [ebp - 0x34], 0x1fe1
mov dword [ebp - 0x64], 0x1000b050
cmp dword [ebp - 0x34], 0x2087
jle 0x1003e3fe
and dword [ebp - 0x28], 0
jmp 0x1003e37e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2fae
jge 0x1003e3fe
and dword [ebp - 0x2c], 0
jmp 0x1003e394
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3d42
jge 0x1003e3f9
and dword [ebp - 0x20], 0
jmp 0x1003e3aa
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfcc
jge 0x1003e3f7
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.10012710
jmp 0x1003e3a3
jmp 0x1003e38d
jmp 0x1003e377
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1003e41f
push 0x2134
push 0x2513
push 0x680
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x1c35
jge 0x1003e435
push dword [ebp - 0x64]
call fcn.1004c14f
pop ecx
jmp 0x1003e451
or dword [ebp - 4], 0xffffffff
jmp 0x1003e45b
jmp 0x1003e4a8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003e48b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x1003e4a8
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10012a00
mov dword [eax], 1
jmp 0x1003e480
jmp 0x1003e4db
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1003e4ce
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003e4cc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x1003e4db
push 0x9d1
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x493e
jge 0x1003e4f4
push dword [ebp - 0x54]
call fcn.1004c14f
pop ecx
jmp 0x1003e510
or dword [ebp - 4], 0xffffffff
jmp 0x1003e51a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret