Function at 0x485d30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579dca
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x428]
mov esi, edx
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x168], esi
mov byte [ebp - 0x161], al
cmp al, 2
jb 0x485d92
push str.AppearanceManager.cpp
xor ecx, ecx
mov edx, 0x5e1
call fcn.0052cb10
add esp, 4
mov ecx, dword [edi + 0x404]
test ecx, ecx
jne 0x486e9e
cmp dword [edi + 0x40c], ecx
jne 0x486e9a
movzx eax, byte [ebp - 0x161]
mov ebx, dword [edi + 0x42f]
lea eax, [eax + eax*2]
lea edx, [eax*4 + 0x6980f8]
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x15c], edx
test ecx, ecx
jne 0x485dd9
push esi
call fcn.0054adb0
mov eax, edi
call fcn.0049a390
movzx eax, ax
mov dword [ebp - 0x160], eax
cmp eax, 7
jae 0x485e42
movzx eax, ax
mov esi, dword [edi + eax*4 + 0x542]
cmp esi, 1
jbe 0x485e42
mov ecx, 0x67dd88
call fcn.004af570
test eax, eax
je 0x485e1b
movzx ecx, word [eax + 0x7e]
movzx edx, word [eax + 0x7c]
mov dword [ebp - 0x170], ecx
jmp 0x485e7a
mov esi, ebx
mov ecx, 0x67dd88
call fcn.004af570
movzx edx, word [eax + 0x7c]
mov dword [ebp - 0x16c], edx
call fcn.004af570
movzx eax, word [eax + 0x7e]
mov dword [ebp - 0x170], eax
jmp 0x485e74
test ebx, ebx
je 0x487730
mov esi, ebx
mov ecx, 0x67dd88
call fcn.004af570
movzx ecx, word [eax + 0x7c]
mov dword [ebp - 0x16c], ecx
mov ecx, 0x67dd88
call fcn.004af570
movzx edx, word [eax + 0x7e]
mov dword [ebp - 0x170], edx
mov edx, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x160]
movzx eax, cx
dec eax
mov dword [ebp - 0x16c], 0
cmp eax, 5
ja case.default.0x485e93
jmp dword [eax*4 + 0x48774c]
mov eax, dword [edi + 0x55a]
jmp 0x485ec8
mov eax, dword [edi + 0x556]
jmp 0x485ec8
mov eax, dword [edi + 0x54a]
jmp 0x485ec8
mov eax, dword [edi + 0x54e]
jmp 0x485ec8
mov eax, dword [edi + 0x552]
jmp 0x485ec8
mov eax, dword [edi + 0x546]
mov dword [ebp - 0x16c], eax
cmp edx, 0xffffffff
je 0x487730
cmp edx, 3
je 0x486d0d
cmp cx, 6
jne 0x4868b1
mov esi, ebx
mov ecx, 0x683418
call fcn.00534560
xor edi, edi
cmp eax, edi
je 0x486398
cmp dword [ebp - 0x16c], 1
ja 0x486398
xor ecx, ecx
cmp byte [ebp - 0x161], cl
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
lea esi, [edi + 0x21]
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x34]
lea ecx, [eax + 4]
je 0x485f3f
lea ecx, [eax + 0x24]
call fcn.0052ccd0
mov ecx, str.nofile
lea eax, [ebp - 0x34]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x485f72
test dl, dl
je 0x485f6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x485f72
add eax, 2
add ecx, 2
test dl, dl
jne 0x485f50
xor edi, edi
xor eax, eax
jmp 0x485f79
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x487730
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov ebx, 6
mov dword [ebp - 4], ebx
cmp eax, edi
je 0x485fb1
push eax
call fcn.00549be0
mov esi, eax
mov dword [ebp - 0x15c], esi
jmp 0x485fb9
mov dword [ebp - 0x15c], edi
mov esi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x485fcf
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esi + 0x28], 0
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
cmp dword [0x6573f0], ebx
je 0x485ffd
mov ecx, dword [0x6573c0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], ebx
mov eax, dword [0x65fadc]
mov edx, dword [eax]
mov edx, dword [edx + 0x188]
lea ecx, [ebp - 0x34]
push ecx
push eax
call edx
push esi
xor ecx, ecx
lea ebx, [ebp - 0x34]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x486083
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x48605a
mov eax, ebx
push eax
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 0x486164
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x486164
lea ebx, [ebp - 0x34]
call fcn.00549110
test eax, eax
je 0x486093
mov ebx, eax
jmp 0x4860e6
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push 0
push edi
push eax
mov eax, dword [edx + 0x4c]
call eax
push 8
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x4860d4
mov ecx, edi
mov esi, eax
call fcn.00548f40
mov esi, dword [ebp - 0x15c]
mov ebx, eax
jmp 0x4860d6
xor ebx, ebx
push ebx
lea edi, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov dword [esi + 0x3c], ebx
cmp dword [0x6573f0], 0
je 0x486109
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x486121
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x15c]
cmp dword [esi + 0x14], 0
je 0x486164
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 - 0x168]
push eax
mov ebx, str.Bip01_L_Forearm
mov edi, esi
call fcn.0054ad10
lea eax, [ebp - 0x34]
xor ebx, ebx
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x486181
sub eax, esi
cmp eax, ebx
jle 0x4861a3
mov edi, edi
cmp byte [ebp + ecx - 0x34], 0x2e
je 0x48619e
inc ecx
cmp ecx, eax
jl 0x486190
jmp 0x4861a3
mov byte [ebp + ecx - 0x35], 0x52
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 8
cmp eax, ebx
je 0x4861d2
push eax
call fcn.00549be0
mov esi, eax
mov dword [ebp - 0x15c], esi
jmp 0x4861da
mov dword [ebp - 0x15c], ebx
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], ebx
cmp dword [esi + 0x14], ebx
jne 0x4861f0
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edi, 6
mov byte [esi + 0x28], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
cmp dword [0x6573f0], edi
je 0x486222
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]
mov edx, dword [edx + 0x188]
lea ecx, [ebp - 0x34]
push ecx
push eax
call edx
push esi
xor ecx, ecx
lea ebx, [ebp - 0x34]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x4862ad
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x48627f
mov eax, ebx
push eax
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 0x48638e
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
mov ebx, str.Bip01_R_Forearm
jmp 0x487722
lea ebx, [ebp - 0x34]
call fcn.00549110
test eax, eax
je 0x4862bd
mov ebx, eax
jmp 0x486310
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push 0
push edi
push eax
mov eax, dword [edx + 0x4c]
call eax
push 8
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x4862fe
mov ecx, edi
mov esi, eax
call fcn.00548f40
mov esi, dword [ebp - 0x15c]
mov ebx, eax
jmp 0x486300
xor ebx, ebx
push ebx
lea edi, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov dword [esi + 0x3c], ebx
cmp dword [0x6573f0], 0
je 0x486333
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x48634b
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x15c]
cmp dword [esi + 0x14], 0
je 0x48638e
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 ebx, str.Bip01_R_Forearm
jmp 0x487722
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x170]
mov ebx, dword [edx + eax*4]
mov eax, ebx
mov dword [ebp - 0x160], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4863b5
sub eax, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 0x170], esi
cmp esi, edi
jle 0x486410
lea edi, [ebp - 0x158]
mov ecx, ebx
sub edi, ebx
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x4863e8
mov byte [edi + ecx], dl
inc eax
inc ecx
cmp eax, esi
jl 0x4863d6
jmp 0x48640e
lea ecx, [eax + ebx]
mov byte [ebp + eax - 0x158], 0x5f
mov byte [ebp + eax - 0x157], 0x52
sub eax, ecx
lea edx, [ebp + eax - 0x156]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x486404
xor edi, edi
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 0xa
cmp eax, edi
je 0x48643f
push eax
call fcn.00549be0
mov esi, eax
mov dword [ebp - 0x15c], esi
jmp 0x486447
mov dword [ebp - 0x15c], edi
mov esi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x48645d
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 0x486490
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]
mov edx, dword [edx + 0x188]
lea ecx, [ebp - 0x158]
push ecx
push eax
call edx
push esi
xor ecx, ecx
lea ebx, [ebp - 0x158]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x48651c
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4864f3
mov eax, ebx
push eax
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 0x486603
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x486603
lea ebx, [ebp - 0x158]
call fcn.00549110
test eax, eax
je 0x48652f
mov ebx, eax
jmp 0x486585
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push 0
push edi
push eax
mov eax, dword [edx + 0x4c]
call eax
push 8
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x486570
mov ecx, edi
mov esi, eax
call fcn.00548f40
mov esi, dword [ebp - 0x15c]
mov ebx, eax
jmp 0x486572
xor ebx, ebx
push ebx
lea edi, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov dword [esi + 0x3c], ebx
cmp dword [0x6573f0], 0
je 0x4865a8
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x4865c0
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x15c]
cmp dword [esi + 0x14], 0
je 0x486603
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 - 0x168]
push eax
mov ebx, str.Bip01_R_Forearm
mov edi, esi
call fcn.0054ad10
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x174]
push edx
mov edx, ebx
call fcn.00487770
xor edi, edi
xor eax, eax
cmp dword [ebp - 0x170], edi
jle 0x48668d
mov ebx, dword [ebp - 0x160]
mov edi, dword [ebp - 0x170]
lea esi, [ebp - 0x158]
mov ecx, ebx
sub esi, ebx
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x486665
mov byte [ecx + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x486653
jmp 0x48668b
lea ecx, [eax + ebx]
mov byte [ebp + eax - 0x158], 0x5f
mov byte [ebp + eax - 0x157], 0x4c
sub eax, ecx
lea edx, [ebp + eax - 0x156]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x486681
xor edi, edi
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0xc
cmp eax, edi
je 0x4866bc
push eax
call fcn.00549be0
mov esi, eax
mov dword [ebp - 0x15c], esi
jmp 0x4866c4
mov dword [ebp - 0x15c], edi
mov esi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x4866da
mov dword [esi + 0x24], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov edi, 6
mov byte [esi + 0x28], 0
cmp dword [0x6573f0], edi
je 0x48670c
mov eax, dword [0x6573c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], edi
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
lea edx, [ebp - 0x158]
push edx
push eax
mov eax, dword [ecx + 0x188]
call eax
push esi
xor ecx, ecx
lea ebx, [ebp - 0x158]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x486798
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x48676f
mov ecx, ebx
push ecx
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 0x48687e
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x48687e
lea ebx, [ebp - 0x158]
call fcn.00549110
test eax, eax
je 0x4867ab
mov ebx, eax
jmp 0x486801
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0
push edi
push eax
call edx
push 8
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x4867ec
mov ecx, edi
mov esi, eax
call fcn.00548f40
mov esi, dword [ebp - 0x15c]
mov ebx, eax
jmp 0x4867ee
xor ebx, ebx
push ebx
lea edi, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov dword [esi + 0x3c], ebx
cmp dword [0x6573f0], 0
je 0x486823
mov eax, dword [0x6573a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x48683b
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x15c]
cmp dword [esi + 0x14], 0
je 0x48687e
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 - 0x168]
push eax
mov ebx, str.Bip01_L_Forearm
mov edi, esi
call fcn.0054ad10
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x174]
push edx
mov edx, ebx
call fcn.00487770
jmp 0x487730
cmp cx, 5
jne 0x486a24
mov esi, ebx
mov ecx, 0x683418
call fcn.00534560
test eax, eax
je 0x4869a1
cmp dword [ebp - 0x16c], 1
ja 0x4869a1
xor ecx, ecx
cmp byte [ebp - 0x161], cl
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
lea esi, [ecx + 0x21]
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x34]
lea ecx, [eax + 4]
je 0x48690e
lea ecx, [eax + 0x24]
call fcn.0052ccd0
mov ecx, str.nofile
lea eax, [ebp - 0x34]
jmp 0x486920
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486940
test dl, dl
je 0x48693c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486940
add eax, 2
add ecx, 2
test dl, dl
jne 0x486920
xor eax, eax
jmp 0x486945
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x487730
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x486976
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486978
xor edi, edi
push 2
push 3
lea eax, [ebp - 0x34]
push eax
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00549da0
mov ecx, dword [ebp - 0x168]
push ecx
mov ebx, str.Bone_L
jmp 0x48772b
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x4869ca
push eax
call fcn.00549be0
mov edi, eax
jmp 0x4869cc
xor edi, edi
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx*4]
push 0
push 3
push edx
xor eax, eax
mov ecx, edi
call fcn.00549da0
mov eax, dword [ebp - 0x168]
push eax
mov ebx, str.Bone_L
call fcn.0054ad10
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x174]
push edx
mov edx, ebx
call fcn.00487770
jmp 0x487730
cmp cx, 2
jne 0x486bae
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x486a57
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486a59
xor edi, edi
mov edx, dword [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx*4]
push 0
push 3
push eax
xor eax, eax
mov ecx, edi
call fcn.00549da0
mov eax, dword [ebp - 0x168]
push eax
mov ebx, str.Bone_R
call fcn.0054ad10
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x174]
push edx
mov edx, str.Bip01_R_Forearm
call fcn.00487770
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x170]
mov edi, dword [ecx + edx*4]
mov eax, edi
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x486ac8
sub eax, esi
je 0x486b3a
lea edx, [ebp - 0x158]
sub edx, edi
mov esi, edi
mov dword [ebp - 0x160], edx
jmp 0x486aeb
mov edx, dword [ebp - 0x160]
mov al, byte [esi]
cmp al, 0x2e
je 0x486b0f
mov byte [edx + esi], al
mov eax, edi
inc ecx
inc esi
lea ebx, [eax + 1]
jmp 0x486b00
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x486b00
sub eax, ebx
cmp ecx, eax
jb 0x486ae5
jmp 0x486b3a
lea eax, [ecx + edi]
mov byte [ebp + ecx - 0x158], 0x5f
mov byte [ebp + ecx - 0x157], 0x4c
sub ecx, eax
lea edx, [ebp + ecx - 0x156]
jmp 0x486b30
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x486b30
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x486b63
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486b65
xor edi, edi
push 0
push 3
lea eax, [ebp - 0x158]
push eax
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00549da0
mov esi, dword [ebp - 0x168]
push esi
mov ebx, str.Bone_L
call fcn.0054ad10
mov ecx, dword [ebp - 0x178]
push esi
push ecx
mov ecx, dword [ebp - 0x174]
mov edx, str.Bip01_L_Forearm
call fcn.00487770
jmp 0x487730
mov esi, ebx
mov ecx, 0x683418
call fcn.00534560
test eax, eax
je 0x486c8a
cmp dword [ebp - 0x16c], 1
ja 0x486c8a
xor ecx, ecx
cmp byte [ebp - 0x161], cl
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
lea esi, [ecx + 0x21]
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x34]
lea ecx, [eax + 4]
je 0x486c01
lea ecx, [eax + 0x24]
call fcn.0052ccd0
mov ecx, str.nofile
lea eax, [ebp - 0x34]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486c30
test dl, dl
je 0x486c2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486c30
add eax, 2
add ecx, 2
test dl, dl
jne 0x486c10
xor eax, eax
jmp 0x486c35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x487730
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x486c66
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486c68
xor edi, edi
push 2
push 3
lea edx, [ebp - 0x34]
push edx
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00549da0
mov ebx, str.Bone_R
jmp 0x487724
push 0x98
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x486cb3
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486cb5
xor edi, edi
mov eax, dword [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
push 0
push 3
push ecx
xor eax, eax
mov ecx, edi
call fcn.00549da0
mov edx, dword [ebp - 0x168]
push edx
mov ebx, str.Bone_R
call fcn.0054ad10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x178]
push eax
push ecx
mov ecx, dword [ebp - 0x174]
mov edx, ebx
call fcn.00487770
jmp 0x487730
cmp cx, 2
jne 0x487730
mov esi, ebx
mov ecx, 0x683418
call fcn.00534560
test eax, eax
je 0x486e73
cmp dword [ebp - 0x16c], 1
ja 0x486e73
xor ecx, ecx
cmp byte [ebp - 0x161], cl
mov dword [ebp - 0x57], ecx
mov dword [ebp - 0x53], ecx
mov dword [ebp - 0x4f], ecx
mov dword [ebp - 0x4b], ecx
mov dword [ebp - 0x47], ecx
mov dword [ebp - 0x43], ecx
mov dword [ebp - 0x3f], ecx
mov dword [ebp - 0x3b], ecx
lea esi, [ecx + 0x21]
mov byte [ebp - 0x58], 0
lea edi, [ebp - 0x58]
lea ecx, [eax + 4]
je 0x486d6a
lea ecx, [eax + 0x24]
call fcn.0052ccd0
mov ecx, str.nofile
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486d97
test dl, dl
je 0x486d93
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486d97
add eax, 2
add ecx, 2
test dl, dl
jne 0x486d77
xor eax, eax
jmp 0x486d9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x487730
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0x98
call esi
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x486dcf
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486dd1
xor edi, edi
push 2
push 3
lea edx, [ebp - 0x58]
push edx
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00549da0
mov eax, dword [ebp - 0x168]
push eax
mov ebx, str.Bip01_L_Forearm
call fcn.0054ad10
lea eax, [ebp - 0x58]
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x486e02
sub eax, edi
test eax, eax
jle 0x486e23
nop
cmp byte [ebp + ecx - 0x58], 0x2e
je 0x486e1e
inc ecx
cmp ecx, eax
jl 0x486e10
jmp 0x486e23
mov byte [ebp + ecx - 0x59], 0x52
push 0x98
call esi
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x486e48
push eax
call fcn.00549be0
mov edi, eax
jmp 0x486e4a
xor edi, edi
push 2
push 3
lea ecx, [ebp - 0x58]
push ecx
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00549da0
mov edx, dword [ebp - 0x168]
push edx
mov ebx, str.Bip01_R_Forearm
jmp 0x48772b
mov esi, dword [ebp - 0x168]
push esi
push edi
mov edx, str.Bip01_R_Forearm
mov ecx, ebx
call fcn.00487770
push esi
push edi
mov edx, str.Bip01_L_Forearm
mov ecx, ebx
call fcn.00487770
jmp 0x487730
test ecx, ecx
je 0x486ea6
mov ebx, dword [edi + 0x61f]
jmp 0x486eb9
cmp dword [edi + 0x40c], 0
je 0x486eb7
mov ebx, dword [edi + 0x641]
jmp 0x486eb9
xor ebx, ebx
test ecx, ecx
jne 0x486ec3
push esi
call fcn.0054adb0
mov eax, edi
call fcn.0049a3f0
movzx edi, ax
test ebx, ebx
je 0x487730
xor edx, edx
mov eax, ebx
div dword [0x67ddb8]
mov esi, dword [0x67ddbc]
mov eax, dword [esi + edx*4]
test eax, eax
je 0x486efb
lea esp, [esp]
cmp dword [eax], ebx
je 0x486f5d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x486ef0
xor eax, eax
movzx ecx, word [eax + 0x7c]
mov eax, dword [esi + edx*4]
test eax, eax
je 0x486f13
cmp dword [eax], ebx
je 0x486f62
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x486f08
xor eax, eax
movzx ebx, word [eax + 0x7e]
cmp ecx, 0xffffffff
je 0x487730
cmp ecx, 3
je 0x487730
push 0x98
cmp edi, 6
jne 0x48706a
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x486f67
push eax
call fcn.00549be0
mov esi, eax
jmp 0x486f69
mov eax, dword [eax + 4]
jmp 0x486efd
mov eax, dword [eax + 4]
jmp 0x486f15
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x698150]
mov edi, dword [eax + ebx*4]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
cmp dword [esi + 0x14], ebx
jne 0x486f89
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esi + 0x28], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov ebx, 0xf
cmp dword [0x6573f0], ebx
je 0x486fbb
mov ecx, dword [0x6573e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], ebx
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x188]
call eax
push esi
xor ecx, ecx
mov ebx, edi
call fcn.0054af90
mov dword [ebp - 0x160], eax
mov dword [esi + 0x14], eax
test eax, eax
jne 0x487016
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48627f
push edi
push 0x596998
push ebx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push ebx
jmp 0x486276
mov ebx, edi
call fcn.00549110
test eax, eax
jne 0x48702c
mov edx, dword [ebp - 0x160]
call fcn.00549280
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x48704f
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x48634b
push 1
mov ecx, 1
call fcn.0054a4a0
jmp 0x48634b
cmp edi, 2
jne 0x487592
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
call edi
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x48709f
push eax
call fcn.00549be0
mov esi, eax
mov dword [ebp - 0x15c], esi
jmp 0x4870af
mov dword [ebp - 0x15c], 0
mov esi, dword [ebp - 0x15c]
push 0x98
mov dword [ebp - 4], 0xffffffff
call edi
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4870df
push eax
call fcn.00549be0
mov dword [ebp - 0x174], eax
jmp 0x4870e9
mov dword [ebp - 0x174], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x698150]
mov ecx, dword [ecx + ebx*4]
mov eax, ecx
mov dword [ebp - 0x178], ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x487104
sub eax, edi
mov edi, eax
xor eax, eax
mov dword [ebp - 0x170], edi
test edi, edi
jle 0x487162
lea ebx, [ebp - 0x158]
sub ebx, ecx
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x487135
mov byte [ebx + ecx], dl
inc eax
inc ecx
cmp eax, edi
jl 0x487123
jmp 0x487162
mov edx, dword [ebp - 0x178]
lea ecx, [eax + edx]
lea edx, [ebp - 0x156]
sub edx, ecx
mov byte [ebp + eax - 0x158], 0x5f
mov byte [ebp + eax - 0x157], 0x52
add eax, edx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0x487158
xor edi, edi
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x14], edi
jne 0x487173
mov dword [esi + 0x24], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov edi, 0xf
mov byte [esi + 0x28], 0
cmp dword [0x6573f0], edi
je 0x4871a5
mov eax, dword [0x6573e4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], edi
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
lea edx, [ebp - 0x158]
push edx
push eax
mov eax, dword [ecx + 0x188]
call eax
push esi
xor ecx, ecx
lea ebx, [ebp - 0x158]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x487231
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x487208
mov ecx, ebx
push ecx
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 0x487317
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x487317
lea ebx, [ebp - 0x158]
call fcn.00549110
test eax, eax
je 0x487244
mov ebx, eax
jmp 0x48729a
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0
push edi
push eax
call edx
push 8
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x487285
mov ecx, edi
mov esi, eax
call fcn.00548f40
mov esi, dword [ebp - 0x15c]
mov ebx, eax
jmp 0x487287
xor ebx, ebx
push ebx
lea edi, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov dword [esi + 0x3c], ebx
cmp dword [0x6573f0], 0
je 0x4872bc
mov eax, dword [0x6573a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x4872d4
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x15c]
cmp dword [esi + 0x14], 0
je 0x487317
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 - 0x168]
push eax
mov ebx, str.Bip01_R_Forearm
mov edi, esi
call fcn.0054ad10
xor eax, eax
cmp dword [ebp - 0x170], eax
jle 0x48738a
mov ebx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x170]
lea esi, [ebp - 0x158]
mov ecx, ebx
sub esi, ebx
lea ebx, [ebx]
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x487362
mov byte [ecx + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x487350
jmp 0x48738a
lea ecx, [eax + ebx]
lea edx, [ebp - 0x156]
sub edx, ecx
mov byte [ebp + eax - 0x158], 0x5f
mov byte [ebp + eax - 0x157], 0x4c
add edx, eax
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x487380
mov esi, dword [ebp - 0x174]
cmp dword [esi + 0x14], 0
mov dword [esi + 0x2c], 0
jne 0x4873a4
mov dword [esi + 0x24], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor eax, eax
mov edi, 0xf
mov byte [esi + 0x28], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
cmp dword [0x6573f0], edi
je 0x4873d8
mov eax, dword [0x6573e4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], edi
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
lea edx, [ebp - 0x158]
push edx
push eax
mov eax, dword [ecx + 0x188]
call eax
push esi
xor ecx, ecx
lea ebx, [ebp - 0x158]
call fcn.0054af90
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
jne 0x487464
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x48743b
mov ecx, ebx
push ecx
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 0x487548
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x487548
lea ebx, [ebp - 0x158]
call fcn.00549110
test eax, eax
jne 0x4874cb
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0
push edi
push eax
call edx
push 8
mov esi, eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4874ae
mov ecx, esi
mov esi, eax
call fcn.00548f40
mov esi, eax
jmp 0x4874b0
xor esi, esi
push esi
lea edi, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.00549190
mov eax, esi
mov esi, dword [ebp - 0x174]
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x4874ed
mov eax, dword [0x6573a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x487505
push 1
mov ecx, 1
call fcn.0054a4a0
mov esi, dword [ebp - 0x174]
cmp dword [esi + 0x14], 0
je 0x487548
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 edx, dword [esi + 0x14]
test edx, edx
je 0x487730
mov edi, dword [ebp - 0x168]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x487730
mov ecx, dword [0x65fadc]
mov ebx, dword [ecx]
push str.Bip01_L_Forearm
push eax
mov eax, dword [ebx + 0xcc]
push edx
push ecx
call eax
test eax, eax
je 0x487730
push esi
lea ecx, [edi + 0x40]
call fcn.005745a0
jmp 0x487730
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4875b6
push eax
call fcn.00549be0
mov esi, eax
jmp 0x4875b8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x698150]
mov edi, dword [ecx + ebx*4]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
cmp dword [esi + 0x14], ebx
jne 0x4875d9
mov dword [esi + 0x24], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esi + 0x28], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov ebx, 0xf
cmp dword [0x6573f0], ebx
je 0x48760b
mov ecx, dword [0x6573e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], ebx
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x188]
call eax
push esi
xor ecx, ecx
mov ebx, edi
call fcn.0054af90
mov dword [ebp - 0x160], eax
mov dword [esi + 0x14], eax
test eax, eax
jne 0x48768f
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x487666
push edi
push 0x596998
push ebx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp dword [0x6573f0], 0
je 0x48771d
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
jmp 0x48771d
mov ebx, edi
call fcn.00549110
test eax, eax
jne 0x4876a5
mov edx, dword [ebp - 0x160]
call fcn.00549280
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x4876c8
mov edx, dword [0x6573a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x4876da
push 1
mov ecx, 1
call fcn.0054a4a0
cmp dword [esi + 0x14], 0
je 0x48771d
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 ebx, str.Bone_R
mov edi, esi
mov eax, dword [ebp - 0x168]
push eax
call fcn.0054ad10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret