Function at 0x43e70820
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x208
push 0
push 0
dec ecx
jne 0x43e70828
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x43e70ac4
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.43e687a0
xor ebx, ebx
lea eax, [ebp - 0x101c]
mov edx, 0x1000
call fcn.43e541d0
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 0x101c]
mov edx, 0x1000
call fcn.43e66a8c
test eax, eax
je 0x43e70a99
mov eax, dword [ebp - 4]
shr eax, 2
dec eax
test eax, eax
jb 0x43e70a99
inc eax
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x101c]
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [esi]
je 0x43e70a8d
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.43e6b81c
mov edx, dword [ebp - 0xc]
mov eax, 0x43e70adc
call fcn.43e680c0
test al, al
je 0x43e70a8d
lea edx, [ebp - 0x1020]
mov eax, 0x43e70ae8
call fcn.43e6837c
mov eax, dword [ebp - 0x1020]
mov edx, dword [ebp - 0xc]
call fcn.43e680c0
test al, al
jne 0x43e70a8d
lea edx, [ebp - 0x1024]
mov eax, dword [ebp - 0xc]
call fcn.43e68b4c
lea eax, [ebp - 0x1024]
mov edx, 0x43e70afc
call fcn.43e537c8
mov eax, dword [ebp - 0x1024]
lea edx, [ebp - 0x18]
call fcn.43e6bae0
lea edx, [ebp - 0x1028]
mov eax, dword [ebp - 0x18]
call fcn.43e68bc8
mov edx, dword [ebp - 0x1028]
lea eax, [ebp - 0x18]
call fcn.43e536d4
lea edx, [ebp - 0x102c]
mov eax, dword [ebp - 0xc]
call fcn.43e68ad0
mov eax, dword [ebp - 0x102c]
call fcn.43e539c0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x1030]
call fcn.43e68f8c
mov eax, dword [ebp - 0x1030]
mov edx, dword [ebp - 0x18]
call fcn.43e69508
test al, al
je 0x43e70a8d
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.43e6b6b8
mov eax, dword [ebp - 0xc]
call fcn.43e691c0
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov eax, 0x43e70b0c
call fcn.43e68248
mov edi, eax
inc edi
test edi, edi
jbe 0x43e70a4c
mov dword [ebp - 8], 1
test bl, bl
jne 0x43e70a42
lea eax, [ebp - 0x14]
push eax
mov edx, 0x43e70b0c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.43e692a0
mov eax, dword [ebp - 0x14]
call fcn.43e537c0
test eax, eax
je 0x43e70a42
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.43e5390c
je 0x43e70a42
lea edx, [ebp - 0x1034]
mov eax, dword [ebp - 0x14]
call fcn.43e68ad0
mov eax, dword [ebp - 0x1034]
push eax
lea edx, [ebp - 0x1038]
mov eax, dword [ebp - 0xc]
call fcn.43e68ad0
mov eax, dword [ebp - 0x1038]
pop edx
call fcn.43e682f8
test al, al
je 0x43e70a42
push 0x43e70b18
push dword [ebp - 0x18]
push 0x43e70b34
push dword [ebp - 0x14]
lea eax, [ebp - 0x103c]
mov edx, 4
call fcn.43e53880
mov eax, dword [ebp - 0x103c]
call fcn.43e691c0
mov ecx, 0x43e70b40
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.43e6c33c
mov ebx, eax
inc dword [ebp - 8]
dec edi
jne 0x43e7099d
test bl, bl
jne 0x43e70a8d
push 0x43e70b18
push dword [ebp - 0x18]
push 0x43e70b34
push dword [ebp - 0xc]
lea eax, [ebp - 0x1040]
mov edx, 4
call fcn.43e53880
mov eax, dword [ebp - 0x1040]
call fcn.43e691c0
mov ecx, 0x43e70b40
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.43e6c33c
mov ebx, eax
add esi, 4
dec dword [ebp - 0x1c]
jne 0x43e70890
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e70acb
lea eax, [ebp - 0x1040]
mov edx, 9
call fcn.43e53660
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.43e53660
ret