Function at 0x44f920
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504b05
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x567e00]
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, ecx
xor ebx, ebx
lea eax, [ebp - 0x70]
push 1
mov dword [ebp - 0x74], ebx
push eax
mov dword [edi], ebx
call fcn.004e58e0
add esp, 8
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.0044fbe0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x44f9b4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f9aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f9aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
push 0x68
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.004c6f3f
mov esi, eax
add esp, 4
mov dword [ebp - 0x94], esi
xor eax, eax
test esi, esi
je 0x44fa52
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 7
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.kupdate
mov dword [ebp - 4], 5
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403a70
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
mov ebx, 7
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x74], ebx
push eax
mov ecx, esi
call fcn.004bbf50
mov dword [edi], eax
mov dword [ebp - 4], 8
test bl, 4
je 0x44fab1
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x44fa9d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fa93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fb42
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 7
test bl, 2
je 0x44fb0a
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x44faf6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44faec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fb42
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 2
test bl, 1
je 0x44fb52
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44fb52
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44fb48
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xa
je 0x44fb6b
push dword [ebp - 0x88]
call dword [ebp - 0x7c]
cmp dword [ebp - 0x8c], 0
je 0x44fb80
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x44fb8e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x44fba1
push eax
call fcn.004c6f86
add esp, 4
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x44fbb4
push ecx
call fcn.004c6f86
add esp, 4
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.004c6f8b
mov esp, ebp
pop ebp
ret