Function at 0x483390
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579e68
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 0x59a]
mov eax, dword [ecx + 0x14]
xor edi, edi
cmp dword [eax], edi
jne 0x4835d4
cmp ebx, edi
je 0x4835d4
mov eax, dword [eax + 0x18]
cmp eax, edi
je 0x4833f9
mov esi, eax
mov ecx, 0x6980b0
call fcn.0056e550
cmp eax, edi
je 0x4833f9
cmp dword [eax + 2], edi
je 0x4835d4
xor edx, edx
mov eax, ebx
div dword [0x67ddb8]
mov eax, dword [0x67ddbc]
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x483913
cmp dword [eax], ebx
je 0x483432
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x483413
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 4]
cmp eax, edi
je 0x483913
movzx ebx, word [eax + 0x7e]
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x483463
push eax
call fcn.00549be0
mov esi, eax
jmp 0x483465
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
mov ebx, dword [eax + ebx*4]
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x483487
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov edi, 6
mov byte [esi + 0x28], 0
cmp dword [0x6573f0], edi
je 0x4834ba
mov ecx, dword [0x6573c0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], edi
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x188]
call eax
push esi
xor ecx, ecx
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x483538
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x48350f
push ebx
push 0x596998
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp dword [0x6573f0], 0
je 0x4835c2
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x4835c2
call fcn.00549110
test eax, eax
jne 0x48354a
mov edx, edi
mov edi, ebx
call fcn.00549280
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x48356d
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x48357f
push 1
mov ecx, 1
call fcn.0054a4a0
cmp dword [esi + 0x14], 0
je 0x4835c2
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x3c]
call fcn.00548ff0
mov ecx, dword [0x65fadc]
mov dword [esi + 0x38], eax
movzx eax, word [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x14]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov ecx, dword [esi + 0x38]
movzx ecx, word [ecx + 2]
mov eax, dword [0x65fadc]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp + 0xc]
push eax
mov ebx, str.Bip01_Head
mov edi, esi
call fcn.0054ad60
xor edi, edi
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x59e]
cmp dword [eax + 0xc], edi
jne 0x4837dc
cmp dword [eax + 0x10], edi
jne 0x4837dc
cmp ecx, edi
je 0x4837dc
xor edx, edx
mov eax, ecx
div dword [0x67ddb8]
mov eax, dword [0x67ddbc]
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x483913
cmp dword [eax], ecx
je 0x483636
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x483617
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 4]
cmp eax, edi
je 0x483913
movzx ebx, word [eax + 0x7e]
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, edi
je 0x48366b
push eax
call fcn.00549be0
mov esi, eax
jmp 0x48366d
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
mov ebx, dword [eax + ebx*4]
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x48368f
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov edi, 6
mov byte [esi + 0x28], 0
cmp dword [0x6573f0], edi
je 0x4836c2
mov ecx, dword [0x6573c0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], edi
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x188]
call eax
push esi
xor ecx, ecx
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x483740
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x483717
push ebx
push 0x596998
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp dword [0x6573f0], 0
je 0x4837ca
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x4837ca
call fcn.00549110
test eax, eax
jne 0x483752
mov edx, edi
mov edi, ebx
call fcn.00549280
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x483775
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x483787
push 1
mov ecx, 1
call fcn.0054a4a0
cmp dword [esi + 0x14], 0
je 0x4837ca
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x3c]
call fcn.00548ff0
mov ecx, dword [0x65fadc]
mov dword [esi + 0x38], eax
movzx eax, word [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x14]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov ecx, dword [esi + 0x38]
movzx ecx, word [ecx + 2]
mov eax, dword [0x65fadc]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp + 0xc]
push eax
mov ebx, str.Bip01_Head
mov edi, esi
call fcn.0054ad60
xor edi, edi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x5a2]
cmp dword [edx + 0x18], edi
jne 0x483857
cmp ecx, edi
je 0x483857
xor edx, edx
mov eax, ecx
div dword [0x67ddb8]
mov eax, dword [0x67ddbc]
mov edx, dword [eax + edx*4]
cmp edx, edi
je 0x483913
mov edi, edi
cmp dword [edx], ecx
je 0x48382f
mov edx, dword [edx + 0xc]
cmp edx, edi
jne 0x483810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edx + 4]
cmp edx, edi
je 0x483913
movzx ecx, word [edx + 0x7e]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
movzx edx, word [edx + 0x7c]
mov ebx, dword [ebp + 0xc]
push ecx
push edx
call fcn.0054a570
xor edi, edi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x5aa]
cmp esi, edi
je 0x483913
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0x18]
cmp ecx, edi
je 0x4838bb
xor edx, edx
mov eax, ecx
div dword [0x6980b4]
mov eax, dword [0x6980b8]
mov edx, dword [eax + edx*4]
cmp edx, edi
je 0x483913
nop
cmp dword [edx], ecx
je 0x4838af
mov edx, dword [edx + 0xc]
cmp edx, edi
jne 0x483890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edx + 4]
cmp edx, edi
je 0x483913
cmp dword [edx + 0x26], edi
je 0x483913
xor edx, edx
mov eax, esi
div dword [0x67ddb8]
mov ecx, dword [0x67ddbc]
mov edx, dword [ecx + edx*4]
cmp edx, edi
je 0x483913
cmp dword [edx], esi
je 0x4838f1
mov edx, dword [edx + 0xc]
cmp edx, edi
jne 0x4838d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edx + 4]
cmp edx, edi
je 0x483913
mov ecx, dword [ebx + 0x10]
movzx eax, word [edx + 0x7e]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
movzx ecx, word [edx + 0x7c]
mov ebx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0054a570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc