Function at 0x44f940
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7265
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x4c0], edi
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
mov dword [ebp - 4], 1
test eax, eax
jne 0x44f9ee
xor ecx, ecx
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f9d0
sub ecx, edx
jne 0x44f9ee
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
call fcn.0040bbd0
jmp 0x44ff54
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.004821a0
add esp, 0xc
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x4b4], 0
call fcn.0042f3f0
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x10], 0
je 0x44fa66
cmp dword [esi + 0x14], 8
jb 0x44fa36
mov eax, dword [esi]
jmp 0x44fa38
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 0x4a8], ebx
test ebx, ebx
jne 0x44fa6e
cmp dword [esi + 0x14], 8
jb 0x44fa53
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x4a8], ebx
test ebx, ebx
jne 0x44fa6e
xor ebx, ebx
mov dword [ebp - 0x4a8], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x42c], 8
jb 0x44fa89
push dword [ebp - 0x440]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x470]
call fcn.0042ea30
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x10], 0
je 0x44faff
cmp dword [esi + 0x14], 8
jb 0x44facf
mov eax, dword [esi]
jmp 0x44fad1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 0x4b0], ebx
test ebx, ebx
jne 0x44fb07
cmp dword [esi + 0x14], 8
jb 0x44faec
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x4b0], ebx
test ebx, ebx
jne 0x44fb07
xor ebx, ebx
mov dword [ebp - 0x4b0], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x45c], 8
jb 0x44fb22
push dword [ebp - 0x470]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x4a0]
call fcn.0042ebc0
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x10], 0
je 0x44fb98
cmp dword [esi + 0x14], 8
jb 0x44fb68
mov eax, dword [esi]
jmp 0x44fb6a
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 0x4ac], ebx
test ebx, ebx
jne 0x44fba0
cmp dword [esi + 0x14], 8
jb 0x44fb85
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x4ac], ebx
test ebx, ebx
jne 0x44fba0
xor ebx, ebx
mov dword [ebp - 0x4ac], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48c], 8
jb 0x44fbbb
push dword [ebp - 0x4a0]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x458]
call fcn.0042ed50
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
je 0x44fc25
cmp dword [esi + 0x14], 8
jb 0x44fc01
mov eax, dword [esi]
jmp 0x44fc03
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x44fc27
cmp dword [esi + 0x14], 8
jb 0x44fc18
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x44fc27
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x444], 8
jb 0x44fc42
push dword [ebp - 0x458]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x458]
call fcn.0042eee0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x44fc7e
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push dword [ebp - 0x4a8]
call esi
mov ebx, eax
mov dword [ebp - 0x4a8], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x444], 0x10
jb 0x44fcb0
push dword [ebp - 0x458]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x488]
call fcn.0042f0d0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x44fcea
mov eax, dword [eax]
push eax
push dword [ebp - 0x4b0]
call esi
mov ebx, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x474], 0x10
jb 0x44fd10
push dword [ebp - 0x488]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
test ebx, ebx
je 0x44fe64
lea ecx, [ebp - 0x470]
call fcn.0044d5a0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x44fd4a
mov eax, dword [eax]
push eax
push dword [ebp - 0x4ac]
call esi
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x45c], 0x10
jb 0x44fd70
push dword [ebp - 0x470]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
test esi, esi
je 0x44fe64
push 0xe
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0x4b410c
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
call fcn.0040c0d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x440]
call fcn.004303b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x42c], 8
jb 0x44fe00
push dword [ebp - 0x440]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
call dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4b4]
push ecx
push eax
call ebx
mov ebx, dword [ebp - 0x4a4]
test eax, eax
je 0x44fe6a
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
push dword [ebp - 0x4b4]
call esi
test eax, eax
je 0x44fe6a
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.0041cde0
jmp 0x44fe6a
mov ebx, dword [ebp - 0x4a4]
cmp dword [ebp - 0x418], 0
jne 0x44febc
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x44febc
cmp byte [ebp - 0x410], 0
jne 0x44fe97
xor ecx, ecx
jmp 0x44fea9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44fea0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.0042be50
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4b4], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov esi, dword [ebp - 0x414]
cmp esi, 0x10
jae 0x44ff10
mov eax, dword [ebp - 0x418]
inc eax
je 0x44ff2d
push eax
lea eax, [ebp - 0x428]
push eax
push edi
call fcn.0047d010
mov esi, dword [ebp - 0x414]
add esp, 0xc
jmp 0x44ff2d
lea eax, [ebp - 0x428]
push eax
push edi
lea ecx, [ebp - 0x4b5]
call fcn.0040bb50
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x418]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
mov dword [ebp - 0x4bc], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x414], 0x10
jb 0x44ff79
push dword [ebp - 0x428]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret 8