Function at 0x4534c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478e16
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x49c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
call fcn.0042f5b0
mov dword [ebp - 4], 0
add eax, 0x34
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407a80
mov dword [ebp - 0x10], 1
cmp dword [eax + 0x14], 8
jb 0x453516
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add dword [ebx + 1], edi
mov dword [ebp - 0x10], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00404570
call fcn.0042f500
push 0x484fc4
mov dword [ebp - 0x24], eax
call fcn.00988742
nop
mov dword [ebp - 0x14], eax
call fcn.0042f5b0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
push 0x5c
call fcn.0046c08a
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
xor eax, eax
mov edx, dword [ebp - 0x14]
lea edi, [esi + 0xc]
mov ecx, edx
mov word [ebp - 0x44], ax
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x30], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_DXMesh3DLFactory_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4535c7
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00404600
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x4537a5
mov ecx, edi
call fcn.0042c880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00404570
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
or ebx, 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
lea eax, [esi + 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lock inc dword [eax]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov dword [ecx], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
mov dword [ecx + 4], esi
mov byte [ebp - 4], 4
or ebx, 0xffffffff
test edi, edi
je 0x4536b3
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4536b3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4536b3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x4536d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4536d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 4], 0xffffffff
call fcn.0042f500
push 0x484fc4
mov esi, eax
call fcn.00988742
nop
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453720
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00404600
mov dword [ebp - 4], 6
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.0040cd10
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404570
xor esi, esi
test edi, edi
je 0x453791
call fcn.0042f5b0
mov edx, edi
mov ecx, dword [eax + 0x30]
call fcn.0040a950
mov esi, eax
test esi, esi
je 0x453791
mov dword [ebp - 0x24], 0x15000000
call fcn.0042f5b0
lea eax, [ebp - 0x24]
mov edx, esi
push eax
call fcn.0040a720
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00416620
int3