Function at 0x42ae70
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x494e0f
mov eax, dword fs:[0]
push eax
sub esp, 0xcbc
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0xcb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
xor eax, esp
push eax
lea eax, [esp + 0xcd0]
mov dword fs:[0], eax
xor esi, esi
push esi
push 9
mov ebp, ecx
mov eax, dword [ebp + 0x94]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, esi
je 0x42b82c
lea ebx, [ebp + 0x74]
push edi
mov ecx, ebx
call fcn.004547df
cmp eax, 4
jne 0x42b417
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00454c6f
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0xcdc], esi
call fcn.004068e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xcd8], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42af31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0xb0]
mov ebx, 7
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov word [ecx + 4], dx
call fcn.00402120
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x4bd9a8
call fcn.00419f50
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x94]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0xd00], 3
mov word [ecx + 4], dx
call fcn.00402120
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x4bd9a8
call fcn.0041a440
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0xce4], 4
call fcn.00402120
mov edi, 8
mov byte [esp + 0xcd8], 3
cmp dword [esp + 0x34], edi
jb 0x42afe1
mov edx, dword [esp + 0x20]
push edx
call fcn.004440cb
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x94]
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push edx
mov word [ecx + 4], ax
call fcn.00402120
lea eax, [esp + 0x11c]
push eax
mov ecx, 0x4bd9a8
call fcn.0041a1c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x94]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0xd00], 5
mov word [ecx + 4], dx
call fcn.00402120
mov ecx, 0x4bd9a8
call fcn.00418a40
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], esi
mov word [esp + 0x58], cx
push 0x7c
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xce4], 6
call fcn.00418fc0
lea ecx, [esp + 0x10c]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xcf0], bl
call fcn.00407890
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xce4], 8
call fcn.00402120
cmp dword [esp + 0x50], edi
jb 0x42b0c3
mov eax, dword [esp + 0x3c]
push eax
call fcn.004440cb
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], cx
mov byte [esp + 0xcd8], 6
cmp dword [esp + 0x34], edi
jb 0x42b0ed
mov edx, dword [esp + 0x20]
push edx
call fcn.004440cb
add esp, 4
push 0x7c
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00418fc0
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xce4], 9
call fcn.00402120
mov byte [esp + 0xcd8], 6
cmp dword [esp + 0x34], edi
jb 0x42b131
mov edx, dword [esp + 0x20]
push edx
call fcn.004440cb
add esp, 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x42b13f
lea eax, [esp + 0x58]
push 1
push esi
push esi
push eax
push 6
push esi
push esi
push 1
lea ecx, [esp + 0x5c8]
call fcn.00455538
lea ecx, [esp + 0x5a8]
mov byte [esp + 0xcd8], 0xa
call fcn.00454ddb
lea ecx, [esp + 0x5a8]
mov dword [eax + 0x30], 0x49aa84
call fcn.00455d99
cmp eax, 1
jne 0x42b363
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5ac]
call fcn.00455ec8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0xcdc], 0xb
call fcn.004068e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xcd8], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b1d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], cx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], esi
mov word [esp + 0xc8], dx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], esi
mov word [esp + 0xe8], ax
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x94]
mov dword [esp + 0xe8], ecx
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0xe
call fcn.00402120
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xd0]
call fcn.00402120
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00402120
push esi
lea ecx, [esp + 0x1ac]
call fcn.00401e50
mov eax, dword [esp + 0x90]
mov byte [esp + 0xcd8], 0xf
cmp dword [esp + 0xa4], edi
jae 0x42b29f
lea eax, [esp + 0x90]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004068e0
lea ecx, [esp + 0x1c4]
call fcn.00426250
lea ecx, [esp + 0x1a8]
call fcn.00444875
cmp eax, 1
jne 0x42b337
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1ac]
call fcn.00425490
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0x10
call fcn.00402120
lea ecx, [esp + 0xa8]
push ecx
mov ecx, 0x4bd9a8
call fcn.0041df50
sub esp, 0x1c
lea edx, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00406330
mov ecx, ebp
call fcn.004271d0
mov ecx, ebp
call fcn.00429840
lea ecx, [esp + 0x1c]
call fcn.00405180
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], 0xe
call fcn.00401f30
lea ecx, [esp + 0xa8]
call fcn.004103e0
lea ecx, [esp + 0x11c]
call fcn.00405180
lea ecx, [esp + 0x5a8]
mov byte [esp + 0xcd8], 6
call fcn.00455479
cmp dword [esp + 0x6c], edi
jb 0x42b38a
mov eax, dword [esp + 0x58]
push eax
call fcn.004440cb
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], esi
mov word [esp + 0x58], cx
cmp dword [esp + 0x118], edi
jb 0x42b3b2
mov edx, dword [esp + 0x104]
push edx
call fcn.004440cb
add esp, 4
xor eax, eax
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], esi
mov word [esp + 0x104], ax
cmp dword [esp + 0x88], edi
jb 0x42b3e0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004440cb
add esp, 4
xor edx, edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov word [esp + 0x74], dx
cmp dword [esp + 0xa4], edi
jb 0x42b821
mov eax, dword [esp + 0x90]
push eax
call fcn.004440cb
add esp, 4
jmp 0x42b821
cmp eax, 5
jne 0x42b821
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x220]
call fcn.004279d0
push 0xffffffffffffffff
push esi
xor edx, edx
mov ebx, 7
push eax
lea ecx, [esp + 0x160]
mov dword [esp + 0x178], ebx
mov dword [esp + 0x174], esi
mov word [esp + 0x164], dx
call fcn.00402120
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x178]
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push edx
mov dword [esp + 0xd00], 0x11
mov word [ecx + 4], ax
call fcn.00402120
lea eax, [esp + 0x18c]
push eax
mov ecx, 0x4bd9a8
call fcn.00419c50
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x194]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0xd00], 0x12
mov word [ecx + 4], dx
call fcn.00402120
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x4bd9a8
call fcn.0041a1c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x194]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0xd00], 0x13
mov word [ecx + 4], dx
call fcn.00402120
mov ecx, 0x4bd9a8
call fcn.00418a40
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov edi, eax
push esi
lea eax, [esp + 0x194]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov word [ecx + 4], dx
call fcn.00402120
lea ecx, [esp + 0x138]
push ecx
mov ecx, 0x4bd9a8
call fcn.0041a440
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], dx
push 0x7c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x194]
mov bl, 0x15
push ecx
mov byte [esp + 0xce4], bl
call fcn.00418fc0
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0xcf0], 0x16
call fcn.00407890
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xce4], 0x17
call fcn.00402120
lea ecx, [esp + 0x138]
call fcn.00405180
lea ecx, [esp + 0x18c]
mov byte [esp + 0xcd8], bl
call fcn.00405180
push 0x7c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.00418fc0
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xce4], 0x18
call fcn.00402120
lea ecx, [esp + 0x138]
mov byte [esp + 0xcd8], bl
call fcn.00405180
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x42b617
lea eax, [esp + 0x3c]
push 1
push esi
push esi
push eax
push 6
push esi
push esi
push 1
lea ecx, [esp + 0x1c8]
call fcn.00455538
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], 0x19
call fcn.00454ddb
lea ecx, [esp + 0x1a8]
mov dword [eax + 0x30], 0x49aa84
call fcn.00455d99
cmp eax, 1
jne 0x42b7d8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1ac]
call fcn.00455ec8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0xcdc], 0x1a
call fcn.004068e0
lea ecx, [esp + 0x14]
call fcn.00401a10
lea ecx, [esp + 0xa8]
call fcn.004103b0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0x1d
mov dword [esp + 0xec], edi
call fcn.00402120
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0xd0]
call fcn.00402120
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0xf0]
call fcn.00402120
push esi
lea ecx, [esp + 0x8d0]
call fcn.00401e50
sub esp, 0x1c
lea edx, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xcf8], 0x1e
call fcn.00406330
lea ecx, [esp + 0x8e8]
call fcn.00426250
lea ecx, [esp + 0x8cc]
call fcn.00444875
cmp eax, 1
jne 0x42b7ac
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x8d0]
call fcn.00425490
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x194]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0x1f
call fcn.00402120
lea edx, [esp + 0xa8]
push edx
mov ecx, 0x4bd9a8
call fcn.0041df50
sub esp, 0x1c
lea eax, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00406330
mov ecx, ebp
call fcn.004271d0
mov ecx, ebp
call fcn.00429840
lea ecx, [esp + 0x18c]
call fcn.00405180
lea ecx, [esp + 0x8cc]
mov byte [esp + 0xcd8], 0x1d
call fcn.00401f30
lea ecx, [esp + 0xa8]
call fcn.004103e0
lea ecx, [esp + 0x138]
call fcn.00405180
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], bl
call fcn.00455479
lea ecx, [esp + 0x38]
call fcn.00405180
lea ecx, [esp + 0x11c]
call fcn.00405180
lea ecx, [esp + 0x1c]
call fcn.00405180
lea ecx, [esp + 0x170]
call fcn.00405180
lea ecx, [esp + 0x154]
call fcn.00405180
push 0x4bd788
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, 1
mov ecx, dword [esp + 0xcd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcb8]
xor ecx, esp
call fcn.004677ab
add esp, 0xcc8
ret 8