Function at 0x4482e4
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004445f0
mov eax, dword [ebp + 0x34]
push ebx
push esi
xor esi, esi
xor ebx, ebx
mov dword [eax], esi
mov eax, dword [0x458244]
inc ebx
cmp eax, esi
jne 0x4483d2
push 0x458244
call dword [sym.imp.MSO.DLL_Ordinal_425]
cmp eax, esi
jl 0x4484e0
cmp dword [ebp + 0xc], esi
mov eax, dword [0x458244]
mov ecx, dword [eax]
je 0x448357
push esi
push eax
call dword [ecx + 0xc0]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x3c]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x4c]
jmp 0x44836b
push ebx
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + pe_nt_image_headers32]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.MSO.DLL_Ordinal_424]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [0x458244]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xcc]
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push esi
push 0x4482c6
push eax
call dword [ecx + 0x90]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x458244]
push dword [ebp + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
mov eax, dword [0x458244]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
push dword [ebp + 0x20]
mov eax, dword [0x458244]
mov ecx, dword [eax]
push 0xfffffffffffffff9
push eax
call dword [ecx + 0xb0]
mov eax, dword [0x458244]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x44842a
mov ecx, dword [eax]
push esi
push 0xe
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0xc], esi
push edi
je 0x448450
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x458244]
call fcn.00447fe7
cmp eax, esi
jge 0x44848e
jmp 0x4484df
push 0x824
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.MSO.DLL_Ordinal_1326]
cmp dword [ebp + 0x1c], esi
jne 0x448476
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x44848e
push dword [ebp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call edi
test eax, eax
jne 0x44848e
lea eax, [ebp - 0x1058]
push eax
call edi
mov eax, dword [0x458244]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov edi, dword [ebp + 0x30]
mov eax, dword [0x458244]
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
push dword [ebp + 8]
mov eax, dword [0x458244]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x88]
cmp eax, esi
jl 0x4484df
cmp dword [ebp - 0x10], 2
jne 0x4484dd
push dword [ebp + 0x34]
push edi
push dword [0x458244]
call fcn.0044807d
jmp 0x4484df
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x30