Function at 0x45662b
Capabilities:
Print debug messages

Disassembly:
push 0x768
mov eax, 0x5cc45c
call fcn.0042735d
mov edi, ecx
mov dword [ebp - 0x73c], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70c], esi
mov dword [ebp - 0x734], ebx
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], ebx
mov dword [ebp - 0x728], ebx
push eax
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 4], ebx
call fcn.00409b00
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.00411070
cmp eax, 2
pop ecx
pop ecx
setne byte [ebp - 0x6e5]
mov ecx, dword [ebp - 0x6e4]
add ecx, 0xfffffff4
mov byte [ebp - 4], 2
cmp ecx, dword [0x64a3f8]
je 0x4566b4
call fcn.00419ef6
cmp byte [ebp - 0x6e5], 0
mov byte [ebp - 4], bl
je 0x4567ed
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4566db
call fcn.0044080f
mov dword [ebp - 0x6ec], eax
jmp 0x4566e1
mov dword [ebp - 0x6ec], ebx
push 0x2800
call fcn.00499986
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499986
mov dword [esp], 0x5e3bf0
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0x6f0], eax
call fcn.00450a94
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x6f0]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x45674e
push ebx
push ebx
push eax
push dword [ebp - 0x6e0]
push 0xffffffffffffffff
push dword [ebp - 0x6f0]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x6f0]
call fcn.00499981
pop ecx
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
je 0x45679a
mov eax, dword [ecx]
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x45679a
push dword [ebp + 4]
mov ecx, dword [ebp - 0x6ec]
push str.SOUI::SUiDefInfo::Init
push 0x55
push str.src_res.mgrSUiDef.cpp
push dword [ebp - 0x6e0]
mov eax, dword [ecx]
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x4567e1
push 0x2800
call fcn.00499986
push 0x55
push str.src_res.mgrSUiDef.cpp
push str.SOUI::SUiDefInfo::Init
push dword [ebp - 0x6e0]
mov esi, eax
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00450a75
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499981
mov esi, dword [ebp - 0x70c]
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499981
pop ecx
mov eax, dword [ebp - 0x734]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0x28]
mov dword [ebp - 0x6e4], eax
test eax, eax
jne 0x45691d
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x456820
call fcn.0044080f
mov edi, eax
jmp 0x456822
mov edi, ebx
push 0x2800
call fcn.00499986
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499986
mov dword [esp], str.warning_____uidef_was_not_found_in_the_specified_resprovider
mov esi, eax
push 0xffffffffffffffff
push 0x2800
push esi
mov dword [ebp - 0x6e4], esi
call fcn.00450a94
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
cmp eax, 0x2800
jae 0x45688a
push ebx
push ebx
push eax
push dword [ebp - 0x6e0]
push 0xffffffffffffffff
push dword [ebp - 0x6e4]
push ebx
push ebx
call esi
push dword [ebp - 0x6e4]
call fcn.00499981
pop ecx
test edi, edi
je 0x4568ce
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x4568ce
push dword [ebp + 4]
mov eax, dword [edi]
mov ecx, edi
push str.SOUI::SUiDefInfo::Init
push 0x5b
push str.src_res.mgrSUiDef.cpp
push dword [ebp - 0x6e0]
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x45690c
mov edi, 0x2800
push edi
call fcn.00499986
push 0x5b
push str.src_res.mgrSUiDef.cpp
push str.SOUI::SUiDefInfo::Init
push dword [ebp - 0x6e0]
mov esi, eax
push str._s__s__s:_d_n
push 0xffffffffffffffff
push edi
push esi
call fcn.00450a75
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499981
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499981
pop ecx
jmp 0x45726c
lea ecx, [ebp - 0x164]
call fcn.00437adb
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x6e4]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0043bf53
push dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x734]
mov ecx, esi
push dword [ebp - 0x9c]
mov edx, dword [esi]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0x2c]
push 1
push 0x74
push dword [ebp - 0x18]
lea eax, [ebp - 0x774]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x164]
push eax
call fcn.00438df3
lea ecx, [ebp - 0x774]
call fcn.00437b8d
test al, al
jne 0x456a55
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4569ac
call fcn.0044080f
mov edi, eax
jmp 0x4569ae
mov edi, ebx
push 0x2800
call fcn.00499986
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499986
mov dword [esp], str.warning____load_uidef_as_xml_document_failed
mov esi, eax
push 0xffffffffffffffff
push 0x2800
push esi
mov dword [ebp - 0x6e4], esi
call fcn.00450a94
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
cmp eax, 0x2800
jae 0x456a16
push ebx
push ebx
push eax
push dword [ebp - 0x6e0]
push 0xffffffffffffffff
push dword [ebp - 0x6e4]
push ebx
push ebx
call esi
push dword [ebp - 0x6e4]
call fcn.00499981
pop ecx
test edi, edi
je 0x456a43
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x456a43
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x68
jmp 0x456b25
mov edi, 0x2800
push edi
call fcn.00499986
push 0x68
jmp 0x456b4e
push ebx
push str.uidef
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x164]
call fcn.00437fdb
lea ecx, [ebp - 0x6f0]
call fcn.00437b8d
test al, al
je 0x456b90
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x456a93
call fcn.0044080f
mov edi, eax
jmp 0x456a95
mov edi, ebx
push 0x2800
call fcn.00499986
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499986
mov dword [esp], str.warning_____uidef__element_is_not_the_root_element_of_uidef_xml
mov esi, eax
push 0xffffffffffffffff
push 0x2800
push esi
mov dword [ebp - 0x6e4], esi
call fcn.00450a94
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
cmp eax, 0x2800
jae 0x456afd
push ebx
push ebx
push eax
push dword [ebp - 0x6e0]
push 0xffffffffffffffff
push dword [ebp - 0x6e4]
push ebx
push ebx
call esi
push dword [ebp - 0x6e4]
call fcn.00499981
pop ecx
test edi, edi
je 0x456b41
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x456b41
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x6e
mov eax, dword [edi]
mov ecx, edi
push str.src_res.mgrSUiDef.cpp
push dword [ebp - 0x6e0]
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x456b7f
mov edi, 0x2800
push edi
call fcn.00499986
push 0x6e
push str.src_res.mgrSUiDef.cpp
push str.SOUI::SUiDefInfo::Init
push dword [ebp - 0x6e0]
mov esi, eax
push str._s__s__s:_d_n
push 0xffffffffffffffff
push edi
push esi
call fcn.00450a75
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499981
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499981
pop ecx
jmp 0x457256
lea ecx, [ebp - 0x6ec]
call fcn.00510a34
push ebx
push 0x5db9a8
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.00437fdb
lea ecx, [ebp - 0x6ec]
mov eax, dword [eax]
mov dword [ebp - 0x6ec], eax
call fcn.00437ba5
test eax, eax
je 0x457016
push 0xc
push ebx
push 0x5df580
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00437f98
mov ecx, eax
call fcn.00437f2d
push 1
push ebx
mov edi, eax
lea ecx, [ebp - 0x6ec]
push 0x5e3dc8
lea eax, [ebp - 0x768]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f2d
push ebx
push ebx
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6ec]
push 0x5e3dd8
lea eax, [ebp - 0x740]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f0d
push ebx
push ebx
mov byte [ebp - 0x6e5], al
lea ecx, [ebp - 0x6ec]
push 0x5e3de4
lea eax, [ebp - 0x744]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f0d
push ebx
push ebx
mov byte [ebp - 0x6f1], al
lea ecx, [ebp - 0x6ec]
push 0x5e3df8
lea eax, [ebp - 0x748]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f0d
xor esi, esi
lea ecx, [ebp - 0x6ec]
push esi
push esi
mov bl, al
lea eax, [ebp - 0x74c]
push 0x5e3e08
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f0d
push esi
push esi
mov bh, al
lea ecx, [ebp - 0x6ec]
push 0x5e3e18
lea eax, [ebp - 0x750]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f6e
xor edx, edx
movzx ecx, bl
inc edx
and ecx, edx
lea esi, [eax + 2]
lea eax, [edi + edi]
shl esi, 6
or ecx, eax
and esi, 0xff00
movzx eax, byte [ebp - 0x6e5]
add ecx, ecx
and eax, edx
or ecx, eax
movzx eax, byte [ebp - 0x6f1]
and eax, edx
add ecx, ecx
or ecx, eax
movzx eax, bh
and eax, edx
add ecx, ecx
or ecx, eax
xor ebx, ebx
mov eax, dword [ebp - 0x6e4]
shl ecx, 0x10
push 0x5e3e28
or esi, ecx
movzx eax, al
push ebx
or esi, eax
lea ecx, [ebp - 0x6ec]
push 0x5da094
lea eax, [ebp - 0x754]
push eax
call fcn.00437f98
mov ecx, eax
call fcn.00437f57
mov edi, dword [ebp - 0x73c]
push eax
lea ecx, [edi + 0x54]
call fcn.0040dc10
push ebx
push str.face
lea eax, [ebp - 0x758]
mov dword [edi + 0x58], esi
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00437f98
mov ecx, eax
call fcn.004390a6
push eax
lea ecx, [ebp - 0x710]
call fcn.00409b00
push ebx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x738]
push eax
call fcn.004378aa
add esp, 0xc
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.004088f0
mov ecx, dword [ebp - 0x738]
mov edx, dword [0x64a3f8]
add ecx, 0xfffffff4
mov byte [ebp - 4], 7
cmp ecx, edx
je 0x456dc5
call fcn.00419ef6
mov edx, dword [0x64a3f8]
mov ecx, dword [ebp - 0x710]
add ecx, 0xfffffff4
mov byte [ebp - 4], 8
cmp ecx, edx
je 0x456ddb
call fcn.00419ef6
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x456df2
push esi
call dword [0x64a548]
pop ecx
test eax, eax
jne 0x456dfe
push 0x5e3b20
mov ecx, esi
call fcn.0040dc10
mov esi, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
call fcn.00510a34
push ebx
push str.unit
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.00437fdb
lea ecx, [ebp - 0x708]
mov eax, dword [eax]
mov dword [ebp - 0x708], eax
call fcn.00437ba5
test eax, eax
je 0x456e9d
push 0x5df534
push ebx
push str.defUnit
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x708]
call fcn.00437f98
mov ecx, eax
call fcn.00437f57
push eax
lea ecx, [ebp - 0x724]
call fcn.00409b00
lea eax, [ebp - 0x724]
mov byte [ebp - 4], 9
push eax
call fcn.0043ca10
pop ecx
mov ecx, dword [ebp - 0x724]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [0x64a3f8]
je 0x456e99
call fcn.00419ef6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6dc]
call fcn.00437adb
push str.string
push esi
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x720]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x720]
call fcn.00437ba5
test eax, eax
je 0x456eea
push dword [ebp - 0x720]
lea ecx, [edi + 0x2c]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x6dc]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x2f4]
call fcn.00437adb
push 0x5e3ad0
push esi
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x71c]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x71c]
call fcn.00437ba5
test eax, eax
je 0x456f46
push dword [ebp - 0x71c]
lea ecx, [edi + 0x18]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x614]
call fcn.00437adb
push 0x5e3adc
push esi
lea eax, [ebp - 0x614]
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x6f8]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x6f8]
call fcn.00437ba5
test eax, eax
je 0x456fa2
push dword [ebp - 0x6f8]
lea ecx, [edi + 0x40]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x54c]
call fcn.00437adb
push str.skin
push esi
lea eax, [ebp - 0x54c]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x6fc]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x6fc]
call fcn.00437ba5
test eax, eax
je 0x45706b
push 0x14
call fcn.00426a5c
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x45703c
mov ecx, eax
call fcn.0043bc88
mov dword [ebp - 0x6f8], eax
jmp 0x457042
push 0x5e3e28
lea ecx, [edi + 0x54]
call fcn.0040dc10
push 0x5e3b20
lea ecx, [edi + 0x5c]
mov dword [edi + 0x58], 0xc00001
call fcn.0040dc10
jmp 0x456e04
mov dword [ebp - 0x6f8], ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x457055
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6f8]
mov ecx, eax
push dword [ebp - 0x6fc]
mov dword [edi + 8], eax
call fcn.0043c2b9
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x484]
call fcn.00437adb
push str.style
push esi
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 0x10
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x700]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x700]
call fcn.00437ba5
test eax, eax
je 0x457111
push 0xdc
call fcn.00426a5c
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4570e2
mov ecx, eax
call fcn.0044c20c
mov dword [ebp - 0x6fc], eax
jmp 0x4570e8
mov dword [ebp - 0x6fc], ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x4570fb
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6fc]
mov ecx, eax
push dword [ebp - 0x700]
mov dword [edi + 0xc], eax
call fcn.00457c38
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x3bc]
call fcn.00437adb
push str.template
push esi
lea eax, [ebp - 0x3bc]
mov byte [ebp - 4], 0x12
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x718]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x718]
call fcn.00437ba5
test eax, eax
je 0x4571b4
push 0x14
call fcn.00426a5c
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x457185
mov ecx, eax
call fcn.0044c25e
mov dword [ebp - 0x700], eax
jmp 0x45718b
mov dword [ebp - 0x700], ebx
mov ecx, dword [edi + 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x45719e
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x700]
mov ecx, eax
push dword [ebp - 0x718]
mov dword [edi + 0x14], eax
call fcn.00457d3d
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 4
call fcn.00437b50
lea ecx, [ebp - 0x22c]
call fcn.00437adb
push str.objattr
push esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x6f0]
lea eax, [ebp - 0x714]
push eax
call fcn.00456465
add esp, 0x14
lea ecx, [ebp - 0x714]
call fcn.00437ba5
test eax, eax
je 0x457248
push 0xdc
call fcn.00426a5c
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x457225
mov ecx, eax
call fcn.00455fa0
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x457238
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x714]
mov ecx, ebx
mov dword [edi + 0x10], ebx
call fcn.004872e1
lea ecx, [ebp - 0x22c]
call fcn.00437b50
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x9c]
call fcn.0046e232
lea ecx, [ebp - 0x164]
call fcn.00437b50
lea ecx, [ebp - 0x734]
call fcn.00410b70
mov eax, ebx
call fcn.00427318
ret 8