Function at 0x10076956
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x34], 0x48e7
mov dword [ebp - 0x68], 0x1000f4d8
cmp dword [ebp - 0x34], 0x4a81
jle 0x10076a2b
and dword [ebp - 0xc], 0
jmp 0x10076987
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3db8
jge 0x10076a2b
and dword [ebp - 0x30], 0
jmp 0x100769a1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3c9d
jge 0x10076a26
and dword [ebp - 0x14], 0
jmp 0x100769b7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4bab
jge 0x10076a21
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x30]
and edx, dword [ebp - 0x14]
mov eax, edx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x70], ax
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0x100]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x100]
call fcn.100252df
jmp 0x100769b0
jmp 0x1007699a
jmp 0x10076980
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10076d37
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x3c], 0x6233
mov dword [ebp - 0x9c], 0x1000f520
cmp dword [ebp - 0x3c], 0x65e6
jle 0x10076ae5
and dword [ebp - 0x24], 0
jmp 0x10076a68
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xbb2
jge 0x10076ae5
and dword [ebp - 0x1c], 0
jmp 0x10076a7e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x784c
jge 0x10076ae0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xd0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.100252df
jmp 0x10076a77
jmp 0x10076a61
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x3c], 0x6164
jge 0x10076b00
push dword [ebp - 0x9c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x4690
mov dword [ebp - 0x60], 0x1000f56c
cmp dword [ebp - 0x40], 0x4933
jle 0x10076bd0
and dword [ebp - 8], 0
jmp 0x10076b34
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20e8
jge 0x10076bd0
and dword [ebp - 0x28], 0
jmp 0x10076b4e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xf51
jge 0x10076bcb
and dword [ebp - 4], 0
jmp 0x10076b64
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4777
jge 0x10076bc6
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 4]
or eax, dword [ebp - 8]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x4c], ax
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xe8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.100252df
jmp 0x10076b5d
jmp 0x10076b47
jmp 0x10076b2d
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10076be7
push 0
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
jmp 0x10076d23
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x38], 0x1a21
mov dword [ebp - 0x58], 0x1000f59c
cmp dword [ebp - 0x38], 0x1dca
jle 0x10076ce2
and dword [ebp - 0x2c], 0
jmp 0x10076c27
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4cc2
jge 0x10076ce2
and dword [ebp - 0x10], 0
jmp 0x10076c41
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x4f36
jge 0x10076cdd
and dword [ebp - 0x18], 0
jmp 0x10076c5b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x277f
jge 0x10076cd8
and dword [ebp - 0x20], 0
jmp 0x10076c71
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x68a5
jge 0x10076cd3
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
shl eax, cl
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xb8], eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x118]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100252df
jmp 0x10076c6a
jmp 0x10076c54
jmp 0x10076c3a
jmp 0x10076c20
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
cmp dword [ebp - 0x38], 0x173e
jge 0x10076d23
push dword [ebp - 0x58]
call fcn.1008287d
pop ecx
cmp dword [ebp - 0x40], 0x42d0
jge 0x10076d35
push dword [ebp - 0x60]
call fcn.1008287d
pop ecx
jmp 0x10076d45
push 0
push 0x5702
call fcn.10079ec9
pop ecx
pop ecx
cmp dword [ebp - 0x34], 0x48bc
jge 0x10076d57
push dword [ebp - 0x68]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret