Function at 0x46ea02
Capabilities:
Print debug messages

Disassembly:
push 0x768
mov eax, 0x713665
call fcn.004387d7
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.004024d0
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.00407b00
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 [0x804a40]
je 0x46ea8b
call fcn.0042b199
cmp byte [ebp - 0x6e5], 0
mov byte [ebp - 4], bl
je 0x46ebc4
mov ecx, dword [0x818088]
test ecx, ecx
je 0x46eab2
call fcn.004589c6
mov dword [ebp - 0x6ec], eax
jmp 0x46eab8
mov dword [ebp - 0x6ec], ebx
push 0x2800
call fcn.004cac09
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004cac09
mov dword [esp], 0x72eb48
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0x6f0], eax
call fcn.00410670
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 0x46eb25
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.004cac04
pop ecx
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
je 0x46eb71
mov eax, dword [ecx]
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x46eb71
push dword [ebp + 4]
mov ecx, dword [ebp - 0x6ec]
push str.SOUI::SUiDefInfo::Init
push 0x55
push str.f:_soui_master_soui_src_res.mgr_suidef.cpp
push dword [ebp - 0x6e0]
mov eax, dword [ecx]
push str.soui
push 1
push ebx
call dword [eax + 0x34]
jmp 0x46ebb8
push 0x2800
call fcn.004cac09
push 0x55
push str.f:_soui_master_soui_src_res.mgr_suidef.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.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
mov esi, dword [ebp - 0x70c]
pop ecx
push dword [ebp - 0x6e0]
call fcn.004cac04
pop ecx
mov ecx, dword [ebp - 0x734]
mov eax, dword [esi]
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
call dword [eax + 0x28]
mov dword [ebp - 0x6e4], eax
test eax, eax
jne 0x46ecf4
mov ecx, dword [0x818088]
test ecx, ecx
je 0x46ebf7
call fcn.004589c6
mov edi, eax
jmp 0x46ebf9
mov edi, ebx
push 0x2800
call fcn.004cac09
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004cac09
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.00410670
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 0x46ec61
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.004cac04
pop ecx
test edi, edi
je 0x46eca5
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x46eca5
push dword [ebp + 4]
mov eax, dword [edi]
mov ecx, edi
push str.SOUI::SUiDefInfo::Init
push 0x5b
push str.f:_soui_master_soui_src_res.mgr_suidef.cpp
push dword [ebp - 0x6e0]
push str.soui
push 1
push ebx
call dword [eax + 0x34]
jmp 0x46ece3
mov edi, 0x2800
push edi
call fcn.004cac09
push 0x5b
push str.f:_soui_master_soui_src_res.mgr_suidef.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.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
pop ecx
push dword [ebp - 0x6e0]
call fcn.004cac04
pop ecx
jmp 0x46f638
lea ecx, [ebp - 0x164]
call fcn.004a9203
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.00453f7f
push dword [ebp - 0x6e4]
mov ecx, dword [ebp - 0x734]
push dword [ebp - 0x9c]
mov eax, dword [esi]
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
call dword [eax + 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.004aa53a
lea ecx, [ebp - 0x774]
call fcn.004a92ae
test al, al
jne 0x46ee2c
mov ecx, dword [0x818088]
test ecx, ecx
je 0x46ed83
call fcn.004589c6
mov edi, eax
jmp 0x46ed85
mov edi, ebx
push 0x2800
call fcn.004cac09
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004cac09
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.00410670
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 0x46eded
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.004cac04
pop ecx
test edi, edi
je 0x46ee1a
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x46ee1a
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x68
jmp 0x46eefc
mov edi, 0x2800
push edi
call fcn.004cac09
push 0x68
jmp 0x46ef25
push ebx
push str.uidef
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x164]
call fcn.004a9722
lea ecx, [ebp - 0x6f0]
call fcn.004a92ae
test al, al
je 0x46ef67
mov ecx, dword [0x818088]
test ecx, ecx
je 0x46ee6a
call fcn.004589c6
mov edi, eax
jmp 0x46ee6c
mov edi, ebx
push 0x2800
call fcn.004cac09
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004cac09
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.00410670
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 0x46eed4
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.004cac04
pop ecx
test edi, edi
je 0x46ef18
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x46ef18
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x6e
mov eax, dword [edi]
mov ecx, edi
push str.f:_soui_master_soui_src_res.mgr_suidef.cpp
push dword [ebp - 0x6e0]
push str.soui
push 1
push ebx
call dword [eax + 0x34]
jmp 0x46ef56
mov edi, 0x2800
push edi
call fcn.004cac09
push 0x6e
push str.f:_soui_master_soui_src_res.mgr_suidef.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.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
pop ecx
push dword [ebp - 0x6e0]
call fcn.004cac04
pop ecx
jmp 0x46f622
lea ecx, [ebp - 0x6ec]
call fcn.004446dc
push ebx
push 0x72eab4
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.004a9722
lea ecx, [ebp - 0x6ec]
mov eax, dword [eax]
mov dword [ebp - 0x6ec], eax
call fcn.004a92e5
test eax, eax
je 0x46f3e2
push 0xc
push ebx
push 0x72a224
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x6ec]
call fcn.004a96b1
mov ecx, eax
call fcn.004a9646
push 1
push ebx
mov esi, eax
lea ecx, [ebp - 0x6ec]
push 0x72ed38
lea eax, [ebp - 0x768]
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9646
push ebx
push ebx
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6ec]
push 0x72ed48
lea eax, [ebp - 0x740]
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9626
push ebx
push ebx
mov byte [ebp - 0x6e5], al
lea ecx, [ebp - 0x6ec]
push 0x72ed54
lea eax, [ebp - 0x744]
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9626
push ebx
push ebx
mov byte [ebp - 0x6f1], al
lea ecx, [ebp - 0x6ec]
push 0x72ed68
lea eax, [ebp - 0x748]
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9626
xor edi, edi
lea ecx, [ebp - 0x6ec]
push edi
push edi
mov bh, al
lea eax, [ebp - 0x74c]
push 0x72ed78
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9626
push edi
push edi
mov bl, al
lea ecx, [ebp - 0x6ec]
push 0x72ed88
lea eax, [ebp - 0x750]
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9687
add esi, esi
movzx ecx, bh
or esi, ecx
mov edx, eax
movzx ecx, byte [ebp - 0x6e5]
add esi, esi
or esi, ecx
movzx ecx, byte [ebp - 0x6f1]
add esi, esi
or esi, ecx
add esi, esi
movzx eax, bl
lea ecx, [ebp - 0x6ec]
or esi, eax
xor ebx, ebx
lea eax, [edx + 2]
shl esi, 0x10
shl eax, 6
and eax, 0xff00
or esi, eax
mov eax, dword [ebp - 0x6e4]
push 0x72ed98
movzx eax, al
push ebx
or esi, eax
lea eax, [ebp - 0x754]
push 0x721238
push eax
call fcn.004a96b1
mov ecx, eax
call fcn.004a9670
mov edi, dword [ebp - 0x73c]
push eax
lea ecx, [edi + 0x54]
call fcn.00453dcd
push ebx
push str.face
lea eax, [ebp - 0x758]
mov dword [edi + 0x58], esi
push eax
lea ecx, [ebp - 0x6ec]
call fcn.004a96b1
mov ecx, eax
call fcn.004aa7ed
push eax
lea ecx, [ebp - 0x710]
call fcn.004024d0
push ebx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x738]
push eax
call fcn.004a8ff0
add esp, 0xc
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.004061e0
mov ecx, dword [ebp - 0x738]
mov edx, dword [0x804a40]
add ecx, 0xfffffff4
mov byte [ebp - 4], 7
cmp ecx, edx
je 0x46f191
call fcn.0042b199
mov edx, dword [0x804a40]
mov ecx, dword [ebp - 0x710]
add ecx, 0xfffffff4
mov byte [ebp - 4], 8
cmp ecx, edx
je 0x46f1a7
call fcn.0042b199
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x46f1be
push esi
call dword [0x8046c8]
pop ecx
test eax, eax
jne 0x46f1ca
push 0x72ea6c
mov ecx, esi
call fcn.00453dcd
mov esi, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
call fcn.004446dc
push ebx
push str.unit
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.004a9722
lea ecx, [ebp - 0x708]
mov eax, dword [eax]
mov dword [ebp - 0x708], eax
call fcn.004a92e5
test eax, eax
je 0x46f269
push 0x72a1cc
push ebx
push str.defUnit
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x708]
call fcn.004a96b1
mov ecx, eax
call fcn.004a9670
push eax
lea ecx, [ebp - 0x724]
call fcn.004024d0
lea eax, [ebp - 0x724]
mov byte [ebp - 4], 9
push eax
call fcn.00454cba
pop ecx
mov ecx, dword [ebp - 0x724]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [0x804a40]
je 0x46f265
call fcn.0042b199
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6dc]
call fcn.004a9203
push 0x72ea0c
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x720]
call fcn.004a92e5
test eax, eax
je 0x46f2b6
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.004a9278
lea ecx, [ebp - 0x2f4]
call fcn.004a9203
push 0x72ea1c
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x71c]
call fcn.004a92e5
test eax, eax
je 0x46f312
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.004a9278
lea ecx, [ebp - 0x614]
call fcn.004a9203
push 0x72ea28
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x6f8]
call fcn.004a92e5
test eax, eax
je 0x46f36e
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.004a9278
lea ecx, [ebp - 0x54c]
call fcn.004a9203
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x6fc]
call fcn.004a92e5
test eax, eax
je 0x46f437
push 0x14
call fcn.00438065
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x46f408
mov ecx, eax
call fcn.00453b90
mov dword [ebp - 0x6f8], eax
jmp 0x46f40e
push 0x72ed98
lea ecx, [edi + 0x54]
call fcn.00453dcd
push 0x72ea6c
lea ecx, [edi + 0x5c]
mov dword [edi + 0x58], 0xc00001
call fcn.00453dcd
jmp 0x46f1d0
mov dword [ebp - 0x6f8], ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x46f421
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.004543b8
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 4
call fcn.004a9278
lea ecx, [ebp - 0x484]
call fcn.004a9203
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x700]
call fcn.004a92e5
test eax, eax
je 0x46f4dd
push 0xdc
call fcn.00438065
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x46f4ae
mov ecx, eax
call fcn.00467e03
mov dword [ebp - 0x6fc], eax
jmp 0x46f4b4
mov dword [ebp - 0x6fc], ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x46f4c7
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.00470002
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.004a9278
lea ecx, [ebp - 0x3bc]
call fcn.004a9203
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x718]
call fcn.004a92e5
test eax, eax
je 0x46f580
push 0x14
call fcn.00438065
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x46f551
mov ecx, eax
call fcn.00467e55
mov dword [ebp - 0x700], eax
jmp 0x46f557
mov dword [ebp - 0x700], ebx
mov ecx, dword [edi + 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x46f56a
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.00470107
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 4
call fcn.004a9278
lea ecx, [ebp - 0x22c]
call fcn.004a9203
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.0046e83d
add esp, 0x14
lea ecx, [ebp - 0x714]
call fcn.004a92e5
test eax, eax
je 0x46f614
push 0xdc
call fcn.00438065
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x46f5f1
mov ecx, eax
call fcn.0046e39f
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x46f604
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.004a07f5
lea ecx, [ebp - 0x22c]
call fcn.004a9278
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x9c]
call fcn.0045408b
lea ecx, [ebp - 0x164]
call fcn.004a9278
lea ecx, [ebp - 0x734]
call fcn.00407730
mov eax, ebx
call fcn.00438792
ret 8