Function at 0x456609
Capabilities:
Print debug messages

Disassembly:
push 0x768
mov eax, 0x5cc6da
call fcn.004271ea
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.00409b20
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.00411110
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 0x456692
call fcn.00419df4
cmp byte [ebp - 0x6e5], 0
mov byte [ebp - 4], bl
je 0x4567cb
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4566b9
call fcn.004406e8
mov dword [ebp - 0x6ec], eax
jmp 0x4566bf
mov dword [ebp - 0x6ec], ebx
push 0x2800
call fcn.00499b65
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499b65
mov dword [esp], 0x5e3b50
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0x6f0], eax
call fcn.00450a63
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 0x45672c
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.00499b60
pop ecx
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
je 0x456778
mov eax, dword [ecx]
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x456778
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 0x4567bf
push 0x2800
call fcn.00499b65
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.00450a44
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499b60
mov esi, dword [ebp - 0x70c]
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499b60
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 0x4568fb
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4567fe
call fcn.004406e8
mov edi, eax
jmp 0x456800
mov edi, ebx
push 0x2800
call fcn.00499b65
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499b65
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.00450a63
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 0x456868
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.00499b60
pop ecx
test edi, edi
je 0x4568ac
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x4568ac
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 0x4568ea
mov edi, 0x2800
push edi
call fcn.00499b65
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.00450a44
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499b60
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499b60
pop ecx
jmp 0x45724a
lea ecx, [ebp - 0x164]
call fcn.00437afa
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.0046dd52
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.00438e12
lea ecx, [ebp - 0x774]
call fcn.00437bac
test al, al
jne 0x456a33
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x45698a
call fcn.004406e8
mov edi, eax
jmp 0x45698c
mov edi, ebx
push 0x2800
call fcn.00499b65
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499b65
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.00450a63
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 0x4569f4
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.00499b60
pop ecx
test edi, edi
je 0x456a21
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x456a21
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x68
jmp 0x456b03
mov edi, 0x2800
push edi
call fcn.00499b65
push 0x68
jmp 0x456b2c
push ebx
push str.uidef
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x164]
call fcn.00437ffa
lea ecx, [ebp - 0x6f0]
call fcn.00437bac
test al, al
je 0x456b6e
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x456a71
call fcn.004406e8
mov edi, eax
jmp 0x456a73
mov edi, ebx
push 0x2800
call fcn.00499b65
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.00499b65
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.00450a63
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 0x456adb
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.00499b60
pop ecx
test edi, edi
je 0x456b1f
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x456b1f
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 0x456b5d
mov edi, 0x2800
push edi
call fcn.00499b65
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.00450a44
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499b60
pop ecx
push dword [ebp - 0x6e0]
call fcn.00499b60
pop ecx
jmp 0x457234
lea ecx, [ebp - 0x6ec]
call fcn.0043e6ca
push ebx
push 0x5db8f0
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.00437ffa
lea ecx, [ebp - 0x6ec]
mov eax, dword [eax]
mov dword [ebp - 0x6ec], eax
call fcn.00437bc4
test eax, eax
je 0x456ff4
push 0xc
push ebx
push 0x5df4e0
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00437fb7
mov ecx, eax
call fcn.00437f4c
push 1
push ebx
mov edi, eax
lea ecx, [ebp - 0x6ec]
push 0x5e3d28
lea eax, [ebp - 0x768]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f4c
push ebx
push ebx
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6ec]
push 0x5e3d38
lea eax, [ebp - 0x740]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f2c
push ebx
push ebx
mov byte [ebp - 0x6e5], al
lea ecx, [ebp - 0x6ec]
push 0x5e3d44
lea eax, [ebp - 0x744]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f2c
push ebx
push ebx
mov byte [ebp - 0x6f1], al
lea ecx, [ebp - 0x6ec]
push 0x5e3d58
lea eax, [ebp - 0x748]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f2c
xor esi, esi
lea ecx, [ebp - 0x6ec]
push esi
push esi
mov bl, al
lea eax, [ebp - 0x74c]
push 0x5e3d68
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f2c
push esi
push esi
mov bh, al
lea ecx, [ebp - 0x6ec]
push 0x5e3d78
lea eax, [ebp - 0x750]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f8d
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 0x5e3d88
or esi, ecx
movzx eax, al
push ebx
or esi, eax
lea ecx, [ebp - 0x6ec]
push 0x5da078
lea eax, [ebp - 0x754]
push eax
call fcn.00437fb7
mov ecx, eax
call fcn.00437f76
mov edi, dword [ebp - 0x73c]
push eax
lea ecx, [edi + 0x54]
call fcn.0040dd70
push ebx
push str.face
lea eax, [ebp - 0x758]
mov dword [edi + 0x58], esi
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00437fb7
mov ecx, eax
call fcn.004390c5
push eax
lea ecx, [ebp - 0x710]
call fcn.00409b20
push ebx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x738]
push eax
call fcn.004378e7
add esp, 0xc
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.00408820
mov ecx, dword [ebp - 0x738]
mov edx, dword [0x64a3f8]
add ecx, 0xfffffff4
mov byte [ebp - 4], 7
cmp ecx, edx
je 0x456da3
call fcn.00419df4
mov edx, dword [0x64a3f8]
mov ecx, dword [ebp - 0x710]
add ecx, 0xfffffff4
mov byte [ebp - 4], 8
cmp ecx, edx
je 0x456db9
call fcn.00419df4
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x456dd0
push esi
call dword [0x64a548]
pop ecx
test eax, eax
jne 0x456ddc
push 0x5e3a80
mov ecx, esi
call fcn.0040dd70
mov esi, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
call fcn.0043e6ca
push ebx
push str.unit
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.00437ffa
lea ecx, [ebp - 0x708]
mov eax, dword [eax]
mov dword [ebp - 0x708], eax
call fcn.00437bc4
test eax, eax
je 0x456e7b
push 0x5df494
push ebx
push str.defUnit
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x708]
call fcn.00437fb7
mov ecx, eax
call fcn.00437f76
push eax
lea ecx, [ebp - 0x724]
call fcn.00409b20
lea eax, [ebp - 0x724]
mov byte [ebp - 4], 9
push eax
call fcn.0043c984
pop ecx
mov ecx, dword [ebp - 0x724]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [0x64a3f8]
je 0x456e77
call fcn.00419df4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6dc]
call fcn.00437afa
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x720]
call fcn.00437bc4
test eax, eax
je 0x456ec8
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.00437b6f
lea ecx, [ebp - 0x2f4]
call fcn.00437afa
push 0x5e3a30
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x71c]
call fcn.00437bc4
test eax, eax
je 0x456f24
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.00437b6f
lea ecx, [ebp - 0x614]
call fcn.00437afa
push 0x5e3a3c
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x6f8]
call fcn.00437bc4
test eax, eax
je 0x456f80
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.00437b6f
lea ecx, [ebp - 0x54c]
call fcn.00437afa
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x6fc]
call fcn.00437bc4
test eax, eax
je 0x457049
push 0x14
call fcn.004268c1
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x45701a
mov ecx, eax
call fcn.0043bca7
mov dword [ebp - 0x6f8], eax
jmp 0x457020
push 0x5e3d88
lea ecx, [edi + 0x54]
call fcn.0040dd70
push 0x5e3a80
lea ecx, [edi + 0x5c]
mov dword [edi + 0x58], 0xc00001
call fcn.0040dd70
jmp 0x456de2
mov dword [ebp - 0x6f8], ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x457033
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.0043c20a
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 4
call fcn.00437b6f
lea ecx, [ebp - 0x484]
call fcn.00437afa
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x700]
call fcn.00437bc4
test eax, eax
je 0x4570ef
push 0xdc
call fcn.004268c1
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4570c0
mov ecx, eax
call fcn.0044c23c
mov dword [ebp - 0x6fc], eax
jmp 0x4570c6
mov dword [ebp - 0x6fc], ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x4570d9
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.00457bdb
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.00437b6f
lea ecx, [ebp - 0x3bc]
call fcn.00437afa
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x718]
call fcn.00437bc4
test eax, eax
je 0x457192
push 0x14
call fcn.004268c1
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x457163
mov ecx, eax
call fcn.0044c28e
mov dword [ebp - 0x700], eax
jmp 0x457169
mov dword [ebp - 0x700], ebx
mov ecx, dword [edi + 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x45717c
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.00457ce0
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 4
call fcn.00437b6f
lea ecx, [ebp - 0x22c]
call fcn.00437afa
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.00456443
add esp, 0x14
lea ecx, [ebp - 0x714]
call fcn.00437bc4
test eax, eax
je 0x457226
push 0xdc
call fcn.004268c1
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x457203
mov ecx, eax
call fcn.00455f87
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x457216
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.00487369
lea ecx, [ebp - 0x22c]
call fcn.00437b6f
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x9c]
call fcn.0046e344
lea ecx, [ebp - 0x164]
call fcn.00437b6f
lea ecx, [ebp - 0x734]
call fcn.00410c10
mov eax, ebx
call fcn.004271a5
ret 8