Function at 0x41b7fc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], 0
call fcn.004d24e0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004d2990
sub esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.004d2540
call fcn.004d2540
call fcn.004d2590
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004d0c70
sub esp, 0xc
call fcn.004d28b0
call fcn.004d2640
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x115c180
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004d28e0
test eax, eax
je 0x41b8df
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004d0160
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x1c], eax
call fcn.004d2590
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004d00f0
sub esp, 0xc
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
jmp 0x41b8e0
nop
call fcn.004bcb55
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x63
jle 0x41bb9f
call fcn.004d2540
call fcn.004d2540
call fcn.004d2590
mov dword [esp + 4], eax
mov dword [esp], 0x3e8
call fcn.004d0600
sub esp, 8
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov edx, 0x1169750
mov dword [esp + 8], 0x3e8
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.DLL_GetEnvironmentVariableW
sub esp, 0xc
mov dword [ebp - 0x28], eax
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1166108
call fcn.004d2710
sub esp, 4
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1171140
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004bead8
sub esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.004d25f0
mov edx, 0
mov eax, 0
cmp edx, dword [ebp - 0x38]
sbb eax, dword [ebp - 0x34]
jge 0x41ba21
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x115e42c
call fcn.004d2710
sub esp, 4
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
jmp 0x41ba5b
nop
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1166108
call fcn.004d2710
sub esp, 4
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
cmp dword [ebp + 0xc], 0
jle 0x41bb03
call fcn.004d2540
call fcn.004d2540
mov dword [esp], 0x1163500
call fcn.004d2710
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x115ac44
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x116c728
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x3c], eax
call fcn.004d2690
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004934ba
sub esp, 0x10
mov dword [ebp - 0x44], eax
call fcn.004d25f0
jmp 0x41bba0
nop
call fcn.004d2540
call fcn.004d2540
mov dword [esp], 0x1169820
call fcn.004d2710
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x115ac44
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2540
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x116c728
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x48], eax
call fcn.004d2690
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.004934ba
sub esp, 0x10
mov dword [ebp - 0x50], eax
call fcn.004d25f0
jmp 0x41bba0
nop
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.004d2920
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004d2920
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004d2920
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 8