Function at 0x42ab40
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x49493f
mov eax, dword fs:[0]
push eax
sub esp, 0xcbc
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0xcb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
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 0x42b4fc
lea ebx, [ebp + 0x74]
push edi
mov ecx, ebx
call fcn.00454481
cmp eax, 4
jne 0x42b0e7
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.004548fe
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0xcdc], esi
call fcn.004068c0
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 0x42ac01
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.00402110
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x4bc9a8
call fcn.0041a080
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.00402110
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x4bc9a8
call fcn.0041a570
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0xce4], 4
call fcn.00402110
mov edi, 8
mov byte [esp + 0xcd8], 3
cmp dword [esp + 0x34], edi
jb 0x42acb1
mov edx, dword [esp + 0x20]
push edx
call fcn.00443d03
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.00402110
lea eax, [esp + 0x11c]
push eax
mov ecx, 0x4bc9a8
call fcn.0041a2f0
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.00402110
mov ecx, 0x4bc9a8
call fcn.004188f0
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.00418e60
lea ecx, [esp + 0x10c]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xcf0], bl
call fcn.00407860
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xce4], 8
call fcn.00402110
cmp dword [esp + 0x50], edi
jb 0x42ad93
mov eax, dword [esp + 0x3c]
push eax
call fcn.00443d03
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 0x42adbd
mov edx, dword [esp + 0x20]
push edx
call fcn.00443d03
add esp, 4
push 0x7c
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00418e60
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xce4], 9
call fcn.00402110
mov byte [esp + 0xcd8], 6
cmp dword [esp + 0x34], edi
jb 0x42ae01
mov edx, dword [esp + 0x20]
push edx
call fcn.00443d03
add esp, 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x42ae0f
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.004551a0
lea ecx, [esp + 0x5a8]
mov byte [esp + 0xcd8], 0xa
call fcn.00454a6a
lea ecx, [esp + 0x5a8]
mov dword [eax + 0x30], 0x499a84
call fcn.00455a01
cmp eax, 1
jne 0x42b033
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5ac]
call fcn.00455b30
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0xcdc], 0xb
call fcn.004068c0
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 0x42aea6
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.00402110
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xd0]
call fcn.00402110
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00402110
push esi
lea ecx, [esp + 0x1ac]
call fcn.00401e40
mov eax, dword [esp + 0x90]
mov byte [esp + 0xcd8], 0xf
cmp dword [esp + 0xa4], edi
jae 0x42af6f
lea eax, [esp + 0x90]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004068c0
lea ecx, [esp + 0x1c4]
call fcn.004262a0
lea ecx, [esp + 0x1a8]
call fcn.004444ad
cmp eax, 1
jne 0x42b007
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1ac]
call fcn.004257d0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0x10
call fcn.00402110
lea ecx, [esp + 0xa8]
push ecx
mov ecx, 0x4bc9a8
call fcn.0041e1e0
sub esp, 0x1c
lea edx, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00406340
mov ecx, ebp
call fcn.004271a0
mov ecx, ebp
call fcn.00429510
lea ecx, [esp + 0x1c]
call fcn.004053a0
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], 0xe
call fcn.00401f20
lea ecx, [esp + 0xa8]
call fcn.004103c0
lea ecx, [esp + 0x11c]
call fcn.004053a0
lea ecx, [esp + 0x5a8]
mov byte [esp + 0xcd8], 6
call fcn.004550e1
cmp dword [esp + 0x6c], edi
jb 0x42b05a
mov eax, dword [esp + 0x58]
push eax
call fcn.00443d03
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 0x42b082
mov edx, dword [esp + 0x104]
push edx
call fcn.00443d03
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 0x42b0b0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00443d03
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 0x42b4f1
mov eax, dword [esp + 0x90]
push eax
call fcn.00443d03
add esp, 4
jmp 0x42b4f1
cmp eax, 5
jne 0x42b4f1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x220]
call fcn.00427a50
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.00402110
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.00402110
lea eax, [esp + 0x18c]
push eax
mov ecx, 0x4bc9a8
call fcn.00419d80
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.00402110
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x4bc9a8
call fcn.0041a2f0
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.00402110
mov ecx, 0x4bc9a8
call fcn.004188f0
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.00402110
lea ecx, [esp + 0x138]
push ecx
mov ecx, 0x4bc9a8
call fcn.0041a570
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.00418e60
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0xcf0], 0x16
call fcn.00407860
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xce4], 0x17
call fcn.00402110
lea ecx, [esp + 0x138]
call fcn.004053a0
lea ecx, [esp + 0x18c]
mov byte [esp + 0xcd8], bl
call fcn.004053a0
push 0x7c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.00418e60
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xce4], 0x18
call fcn.00402110
lea ecx, [esp + 0x138]
mov byte [esp + 0xcd8], bl
call fcn.004053a0
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x42b2e7
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.004551a0
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], 0x19
call fcn.00454a6a
lea ecx, [esp + 0x1a8]
mov dword [eax + 0x30], 0x499a84
call fcn.00455a01
cmp eax, 1
jne 0x42b4a8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1ac]
call fcn.00455b30
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0xcdc], 0x1a
call fcn.004068c0
lea ecx, [esp + 0x14]
call fcn.004018e0
lea ecx, [esp + 0xa8]
call fcn.00410390
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.00402110
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0xd0]
call fcn.00402110
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0xf0]
call fcn.00402110
push esi
lea ecx, [esp + 0x8d0]
call fcn.00401e40
sub esp, 0x1c
lea edx, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xcf8], 0x1e
call fcn.00406340
lea ecx, [esp + 0x8e8]
call fcn.004262a0
lea ecx, [esp + 0x8cc]
call fcn.004444ad
cmp eax, 1
jne 0x42b47c
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x8d0]
call fcn.004257d0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x194]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xce4], 0x1f
call fcn.00402110
lea edx, [esp + 0xa8]
push edx
mov ecx, 0x4bc9a8
call fcn.0041e1e0
sub esp, 0x1c
lea eax, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00406340
mov ecx, ebp
call fcn.004271a0
mov ecx, ebp
call fcn.00429510
lea ecx, [esp + 0x18c]
call fcn.004053a0
lea ecx, [esp + 0x8cc]
mov byte [esp + 0xcd8], 0x1d
call fcn.00401f20
lea ecx, [esp + 0xa8]
call fcn.004103c0
lea ecx, [esp + 0x138]
call fcn.004053a0
lea ecx, [esp + 0x1a8]
mov byte [esp + 0xcd8], bl
call fcn.004550e1
lea ecx, [esp + 0x38]
call fcn.004053a0
lea ecx, [esp + 0x11c]
call fcn.004053a0
lea ecx, [esp + 0x1c]
call fcn.004053a0
lea ecx, [esp + 0x170]
call fcn.004053a0
lea ecx, [esp + 0x154]
call fcn.004053a0
push 0x4bc788
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.004673e3
add esp, 0xcc8
ret 8