Function at 0x442bb0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a52b8
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.0049b5d0
lea eax, [esp + 0x18]
push str.IDS_STRING_OAV_TITLE
push eax
call fcn.005214a0
add esp, 8
lea esi, [ebx + 0x190]
push eax
mov ecx, esi
mov dword [esp + 0x4a4], 0
call fcn.0040cb00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442c51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.004afb4e
mov esi, 0x7d1
push esi
mov ecx, ebx
call fcn.004af936
test eax, eax
je 0x442c75
push 0
mov ecx, eax
call fcn.004afc19
inc esi
cmp esi, 0x7d5
jle 0x442c60
mov ecx, ebx
call fcn.00442010
test eax, eax
je 0x443210
lea eax, [ebx + 0x13c]
push eax
call fcn.00427560
mov esi, dword [ebx + 0x16c]
add esp, 4
cmp dword [ebx + 0x168], esi
jbe 0x442caf
call fcn.004e73ca
mov edi, dword [ebx + 0x168]
mov ecx, dword [ebx + 0x15c]
mov dword [esp + 0x44], ecx
cmp edi, dword [ebx + 0x16c]
jbe 0x442ccc
call fcn.004e73ca
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x15c]
push esi
push edx
lea ecx, [ebx + 0x15c]
push edi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00441eb0
push 0x208
lea ecx, [esp + 0x288]
push 0
push ecx
mov dword [esp + 0x24], 0x7d1
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x288]
push edx
push 0x5c3b68
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebx + 0x158], 0
jbe 0x4431f1
mov eax, dword [ebx + 0x154]
mov edi, dword [eax]
mov esi, dword [ebx + 0x13c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
jmp 0x442d50
mov eax, dword [ebx + 0x154]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x13c]
test esi, esi
je 0x442d68
cmp esi, eax
je 0x442d6d
call fcn.004e73ca
cmp edi, dword [esp + 0x78]
je 0x4431f1
test esi, esi
jne 0x442dde
call fcn.004e73ca
cmp edi, dword [esi + 0x18]
jne 0x442d8a
call fcn.004e73ca
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x48]
lea esi, [ebx + 0x11c]
push ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004404b0
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
test ebx, ebx
je 0x442db5
cmp ebx, esi
je 0x442dba
call fcn.004e73ca
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x443163
push 4
call fcn.004a3ce6
xor edi, edi
add esp, 4
cmp eax, edi
je 0x442de2
lea edx, [esp + 0x54]
mov dword [eax], edx
jmp 0x442de4
mov esi, dword [esi]
jmp 0x442d80
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x4a0], 2
call fcn.004a581f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x44317d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x6c], eax
mov byte [esp + 0x4a0], 3
call fcn.004a581f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x44317d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x4a0], 4
mov dword [esp + 0x4c], edi
cmp ebx, edi
jne 0x44305d
call fcn.004e73ca
xor ebx, ebx
cmp esi, dword [ebx + 0x18]
jne 0x442e77
call fcn.004e73ca
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x50], ecx
cmp eax, edi
jne 0x443064
call fcn.004e73ca
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x18]
jne 0x442e9f
call fcn.004e73ca
push 0x208
lea eax, [esp + 0x80]
push edi
push eax
call fcn.004e5fc0
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
add esp, 0xc
push eax
push 0x208
lea ecx, [esp + 0x84]
push ecx
call fcn.0041c6a0
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040e080
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x4a0], 5
jge 0x442f16
push esi
lea ecx, [esp + 0x18]
call fcn.0040c000
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.004e6e7e
add esp, 8
cmp esi, edi
jl 0x443242
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x443242
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
xor edx, edx
push ecx
lea ecx, [esp + 0x70]
mov word [eax + esi*2], dx
call fcn.0040cb00
mov eax, dword [ebx + 0x10]
push eax
push 0x208
lea edx, [esp + 0x84]
push edx
call fcn.0041c6a0
lea eax, [esp + 0x7c]
push 0x5c
push eax
call fcn.004e5d7c
add esp, 8
cmp eax, edi
je 0x442f81
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
jmp 0x442f90
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x442f90
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c660
push 0x22
lea ecx, [esp + 0x18]
call fcn.0043fb40
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x442fe2
push esi
lea ecx, [esp + 0x18]
call fcn.0040c000
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.004e6e7e
add esp, 8
cmp esi, edi
jl 0x443242
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x443242
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
lea eax, [esp + 0x14]
mov word [edx + esi*2], cx
push eax
lea ecx, [esp + 0x74]
call fcn.0040cb00
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x284]
push ecx
push edx
call fcn.004e8728
add esp, 8
test eax, eax
jne 0x443047
push edi
push 0x5e8ee8
lea ecx, [esp + 0x1c]
call fcn.0040c660
push 4
call fcn.004a3ce6
add esp, 4
cmp eax, edi
je 0x44306b
lea ecx, [esp + 0x2c]
mov dword [eax], ecx
jmp 0x44306d
mov ebx, dword [ebx]
jmp 0x442e6d
mov eax, dword [eax]
jmp 0x442e91
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov byte [esp + 0x4a8], 7
call fcn.004418a0
test eax, eax
je 0x4430fb
mov ebx, dword [esp + 0x18]
push ebx
mov ecx, edi
call fcn.004af936
mov esi, eax
test esi, esi
je 0x4430cc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ebx
mov eax, dword [ecx + 8]
push eax
mov ecx, esi
call fcn.004afb4e
push 5
mov ecx, esi
call fcn.004afc19
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x58]
call fcn.00440f20
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 0x15c]
call fcn.00442b10
inc ebx
cmp ebx, 0x7d5
mov dword [esp + 0x18], ebx
jg 0x443187
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x44310e
push eax
call fcn.004a3d15
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.004a3d15
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x4a0], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44314f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4a0], 0xffffffff
call fcn.00420090
lea ecx, [esp + 0x20]
call fcn.0041b630
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x442d50
push 0x80004005
call fcn.0040b390
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x44319a
push eax
call fcn.004a3d15
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.004a3d15
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x4a0], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4431db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4a0], 0xffffffff
call fcn.00420090
mov ebx, edi
mov ecx, dword [ebx + 0x16c]
sub ecx, dword [ebx + 0x168]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x443219
push 6
mov ecx, ebx
call fcn.004a7be4
mov eax, 1
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.004e5fb0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040b390
int3