Function at 0x493c8b
Capabilities:
Print debug messages

Disassembly:
push 0x768
mov eax, 0x6fec55
call fcn.00458b7c
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.0042a7b0
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.0042c600
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 [0x7ca960]
je 0x493d14
call fcn.00445b95
cmp byte [ebp - 0x6e5], 0
mov byte [ebp - 4], bl
je 0x493e4d
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x493d3b
call fcn.0047e1d2
mov dword [ebp - 0x6ec], eax
jmp 0x493d41
mov dword [ebp - 0x6ec], ebx
push 0x2800
call fcn.004ed62f
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004ed62f
mov dword [esp], str.warning_____Add_ResProvider_Error.
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0x6f0], eax
call fcn.00491b23
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 0x493dae
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.004ed62a
pop ecx
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
je 0x493dfa
mov eax, dword [ecx]
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x493dfa
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 0x493e41
push 0x2800
call fcn.004ed62f
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.00491b04
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ed62a
mov esi, dword [ebp - 0x70c]
pop ecx
push dword [ebp - 0x6e0]
call fcn.004ed62a
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 0x493f7d
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x493e80
call fcn.0047e1d2
mov edi, eax
jmp 0x493e82
mov edi, ebx
push 0x2800
call fcn.004ed62f
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004ed62f
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.00491b23
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 0x493eea
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.004ed62a
pop ecx
test edi, edi
je 0x493f2e
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x493f2e
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 0x493f6c
mov edi, 0x2800
push edi
call fcn.004ed62f
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.00491b04
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ed62a
pop ecx
push dword [ebp - 0x6e0]
call fcn.004ed62a
pop ecx
jmp 0x4948cc
lea ecx, [ebp - 0x164]
call fcn.004ce237
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.004799f8
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.004cf506
lea ecx, [ebp - 0x774]
call fcn.004ce2e2
test al, al
jne 0x4940b5
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x49400c
call fcn.0047e1d2
mov edi, eax
jmp 0x49400e
mov edi, ebx
push 0x2800
call fcn.004ed62f
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004ed62f
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.00491b23
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 0x494076
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.004ed62a
pop ecx
test edi, edi
je 0x4940a3
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x4940a3
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x68
jmp 0x494185
mov edi, 0x2800
push edi
call fcn.004ed62f
push 0x68
jmp 0x4941ae
push ebx
push str.uidef
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x164]
call fcn.004ce6ee
lea ecx, [ebp - 0x6f0]
call fcn.004ce2e2
test al, al
je 0x4941f0
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x4940f3
call fcn.0047e1d2
mov edi, eax
jmp 0x4940f5
mov edi, ebx
push 0x2800
call fcn.004ed62f
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004ed62f
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.00491b23
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 0x49415d
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.004ed62a
pop ecx
test edi, edi
je 0x4941a1
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x4941a1
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 0x4941df
mov edi, 0x2800
push edi
call fcn.004ed62f
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.00491b04
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ed62a
pop ecx
push dword [ebp - 0x6e0]
call fcn.004ed62a
pop ecx
jmp 0x4948b6
lea ecx, [ebp - 0x6ec]
call fcn.00464f1f
push ebx
push 0x710298
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.004ce6ee
lea ecx, [ebp - 0x6ec]
mov eax, dword [eax]
mov dword [ebp - 0x6ec], eax
call fcn.004ce2fa
test eax, eax
je 0x494676
push 0xc
push ebx
push 0x715874
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x6ec]
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce640
push 1
push ebx
mov edi, eax
lea ecx, [ebp - 0x6ec]
push 0x71a0d0
lea eax, [ebp - 0x768]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce640
push ebx
push ebx
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6ec]
push 0x71a0e0
lea eax, [ebp - 0x740]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce620
push ebx
push ebx
mov byte [ebp - 0x6e5], al
lea ecx, [ebp - 0x6ec]
push 0x71a0ec
lea eax, [ebp - 0x744]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce620
push ebx
push ebx
mov byte [ebp - 0x6f1], al
lea ecx, [ebp - 0x6ec]
push 0x71a100
lea eax, [ebp - 0x748]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce620
xor esi, esi
lea ecx, [ebp - 0x6ec]
push esi
push esi
mov bl, al
lea eax, [ebp - 0x74c]
push 0x71a110
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce620
push esi
push esi
mov bh, al
lea ecx, [ebp - 0x6ec]
push 0x71a120
lea eax, [ebp - 0x750]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce681
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 0x71a130
or esi, ecx
movzx eax, al
push ebx
or esi, eax
lea ecx, [ebp - 0x6ec]
push 0x70ca34
lea eax, [ebp - 0x754]
push eax
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce66a
mov edi, dword [ebp - 0x73c]
push eax
lea ecx, [edi + 0x54]
call fcn.004371f0
push ebx
push str.face
lea eax, [ebp - 0x758]
mov dword [edi + 0x58], esi
push eax
lea ecx, [ebp - 0x6ec]
call fcn.004ce6ab
mov ecx, eax
call fcn.004d1e3d
push eax
lea ecx, [ebp - 0x710]
call fcn.0042a7b0
push ebx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x738]
push eax
call fcn.004ce024
add esp, 0xc
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0042a8f0
mov ecx, dword [ebp - 0x738]
mov edx, dword [0x7ca960]
add ecx, 0xfffffff4
mov byte [ebp - 4], 7
cmp ecx, edx
je 0x494425
call fcn.00445b95
mov edx, dword [0x7ca960]
mov ecx, dword [ebp - 0x710]
add ecx, 0xfffffff4
mov byte [ebp - 4], 8
cmp ecx, edx
je 0x49443b
call fcn.00445b95
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x494452
push esi
call dword [0x7ca5e8]
pop ecx
test eax, eax
jne 0x49445e
push 0x719e24
mov ecx, esi
call fcn.004371f0
mov esi, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
call fcn.00464f1f
push ebx
push str.unit
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.004ce6ee
lea ecx, [ebp - 0x708]
mov eax, dword [eax]
mov dword [ebp - 0x708], eax
call fcn.004ce2fa
test eax, eax
je 0x4944fd
push 0x715824
push ebx
push str.defUnit
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x708]
call fcn.004ce6ab
mov ecx, eax
call fcn.004ce66a
push eax
lea ecx, [ebp - 0x724]
call fcn.0042a7b0
lea eax, [ebp - 0x724]
mov byte [ebp - 4], 9
push eax
call fcn.0047a474
pop ecx
mov ecx, dword [ebp - 0x724]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [0x7ca960]
je 0x4944f9
call fcn.00445b95
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6dc]
call fcn.004ce237
push 0x719dc4
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x720]
call fcn.004ce2fa
test eax, eax
je 0x49454a
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.004ce2ac
lea ecx, [ebp - 0x2f4]
call fcn.004ce237
push 0x719dd4
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x71c]
call fcn.004ce2fa
test eax, eax
je 0x4945a6
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.004ce2ac
lea ecx, [ebp - 0x614]
call fcn.004ce237
push 0x719de0
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x6f8]
call fcn.004ce2fa
test eax, eax
je 0x494602
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.004ce2ac
lea ecx, [ebp - 0x54c]
call fcn.004ce237
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x6fc]
call fcn.004ce2fa
test eax, eax
je 0x4946cb
push 0x14
call fcn.00458642
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x49469c
mov ecx, eax
call fcn.00479721
mov dword [ebp - 0x6f8], eax
jmp 0x4946a2
push 0x71a130
lea ecx, [edi + 0x54]
call fcn.004371f0
push 0x719e24
lea ecx, [edi + 0x5c]
mov dword [edi + 0x58], 0xc00001
call fcn.004371f0
jmp 0x494464
mov dword [ebp - 0x6f8], ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4946b5
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.00479d1d
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 4
call fcn.004ce2ac
lea ecx, [ebp - 0x484]
call fcn.004ce237
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x700]
call fcn.004ce2fa
test eax, eax
je 0x494771
push 0xdc
call fcn.00458642
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x494742
mov ecx, eax
call fcn.0048d2d0
mov dword [ebp - 0x6fc], eax
jmp 0x494748
mov dword [ebp - 0x6fc], ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x49475b
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.00495271
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.004ce2ac
lea ecx, [ebp - 0x3bc]
call fcn.004ce237
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x718]
call fcn.004ce2fa
test eax, eax
je 0x494814
push 0x14
call fcn.00458642
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4947e5
mov ecx, eax
call fcn.0048d322
mov dword [ebp - 0x700], eax
jmp 0x4947eb
mov dword [ebp - 0x700], ebx
mov ecx, dword [edi + 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4947fe
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.00495376
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 4
call fcn.004ce2ac
lea ecx, [ebp - 0x22c]
call fcn.004ce237
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.00493ac9
add esp, 0x14
lea ecx, [ebp - 0x714]
call fcn.004ce2fa
test eax, eax
je 0x4948a8
push 0xdc
call fcn.00458642
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x494885
mov ecx, eax
call fcn.004935fa
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x494898
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.004c563b
lea ecx, [ebp - 0x22c]
call fcn.004ce2ac
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x9c]
call fcn.00479aa1
lea ecx, [ebp - 0x164]
call fcn.004ce2ac
lea ecx, [ebp - 0x734]
call fcn.0042c1c0
mov eax, ebx
call fcn.00458b37
ret 8