Function at 0x42cdff
Capabilities:
Print debug messages

Disassembly:
push 0x768
mov eax, 0x54eaf1
call fcn.004ae565
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.00407390
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.00413a02
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 [section..data]
je 0x42ce88
call fcn.00401bf0
cmp byte [ebp - 0x6e5], 0
mov byte [ebp - 4], bl
je 0x42cfc1
mov ecx, dword [0x5b3e68]
test ecx, ecx
je 0x42ceaf
call fcn.004181d9
mov dword [ebp - 0x6ec], eax
jmp 0x42ceb5
mov dword [ebp - 0x6ec], ebx
push 0x2800
call fcn.004efd18
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004efd18
mov dword [esp], 0x55ce18
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0x6f0], eax
call fcn.00401580
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 0x42cf22
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.004efd13
pop ecx
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
je 0x42cf6e
mov eax, dword [ecx]
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x42cf6e
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 1
push ebx
call dword [eax + 0x34]
jmp 0x42cfb5
push 0x2800
call fcn.004efd18
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.004018b0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004efd13
mov esi, dword [ebp - 0x70c]
pop ecx
push dword [ebp - 0x6e0]
call fcn.004efd13
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 0x42d0f1
mov ecx, dword [0x5b3e68]
test ecx, ecx
je 0x42cff4
call fcn.004181d9
mov edi, eax
jmp 0x42cff6
mov edi, ebx
push 0x2800
call fcn.004efd18
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004efd18
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.00401580
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 0x42d05e
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.004efd13
pop ecx
test edi, edi
je 0x42d0a2
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x42d0a2
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 1
push ebx
call dword [eax + 0x34]
jmp 0x42d0e0
mov edi, 0x2800
push edi
call fcn.004efd18
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.004018b0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004efd13
pop ecx
push dword [ebp - 0x6e0]
call fcn.004efd13
pop ecx
jmp 0x42da40
lea ecx, [ebp - 0x164]
call fcn.0052608d
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.0041190c
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.00528fdc
lea ecx, [ebp - 0x774]
call fcn.00526499
test al, al
jne 0x42d229
mov ecx, dword [0x5b3e68]
test ecx, ecx
je 0x42d180
call fcn.004181d9
mov edi, eax
jmp 0x42d182
mov edi, ebx
push 0x2800
call fcn.004efd18
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004efd18
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.00401580
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 0x42d1ea
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.004efd13
pop ecx
test edi, edi
je 0x42d217
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x42d217
push dword [ebp + 4]
push str.SOUI::SUiDefInfo::Init
push 0x68
jmp 0x42d2f9
mov edi, 0x2800
push edi
call fcn.004efd18
push 0x68
jmp 0x42d322
push ebx
push str.uidef
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x164]
call fcn.005276e1
lea ecx, [ebp - 0x6f0]
call fcn.0052634f
test al, al
je 0x42d364
mov ecx, dword [0x5b3e68]
test ecx, ecx
je 0x42d267
call fcn.004181d9
mov edi, eax
jmp 0x42d269
mov edi, ebx
push 0x2800
call fcn.004efd18
mov dword [ebp - 0x6e0], eax
mov dword [esp], 0x5000
call fcn.004efd18
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.00401580
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 0x42d2d1
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.004efd13
pop ecx
test edi, edi
je 0x42d315
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x42d315
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 1
push ebx
call dword [eax + 0x34]
jmp 0x42d353
mov edi, 0x2800
push edi
call fcn.004efd18
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.004018b0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004efd13
pop ecx
push dword [ebp - 0x6e0]
call fcn.004efd13
pop ecx
jmp 0x42da2a
lea ecx, [ebp - 0x6ec]
call fcn.005260ce
push ebx
push 0x55cd84
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.005276e1
lea ecx, [ebp - 0x6ec]
mov eax, dword [eax]
mov dword [ebp - 0x6ec], eax
call fcn.0052648c
test eax, eax
je 0x42d7ea
push 0xc
push ebx
push 0x558fa8
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00527621
mov ecx, eax
call fcn.00527542
push 1
push ebx
mov edi, eax
lea ecx, [ebp - 0x6ec]
push 0x55cff0
lea eax, [ebp - 0x768]
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527542
push ebx
push ebx
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6ec]
push 0x55d000
lea eax, [ebp - 0x740]
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527449
push ebx
push ebx
mov byte [ebp - 0x6e5], al
lea ecx, [ebp - 0x6ec]
push 0x55d00c
lea eax, [ebp - 0x744]
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527449
push ebx
push ebx
mov byte [ebp - 0x6f1], al
lea ecx, [ebp - 0x6ec]
push 0x55d020
lea eax, [ebp - 0x748]
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527449
xor esi, esi
lea ecx, [ebp - 0x6ec]
push esi
push esi
mov bl, al
lea eax, [ebp - 0x74c]
push 0x55d030
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527449
push esi
push esi
mov bh, al
lea ecx, [ebp - 0x6ec]
push 0x55d040
lea eax, [ebp - 0x750]
push eax
call fcn.00527621
mov ecx, eax
call fcn.005275ca
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 str.default
or esi, ecx
movzx eax, al
push ebx
or esi, eax
lea ecx, [ebp - 0x6ec]
push str.name
lea eax, [ebp - 0x754]
push eax
call fcn.00527621
mov ecx, eax
call fcn.00527599
mov edi, dword [ebp - 0x73c]
push eax
lea ecx, [edi + 0x54]
call fcn.004071c0
push ebx
push str.face
lea eax, [ebp - 0x758]
mov dword [edi + 0x58], esi
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00527621
mov ecx, eax
call fcn.0052c278
push eax
lea ecx, [ebp - 0x710]
call fcn.00407390
push ebx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x738]
push eax
call fcn.0040f2dd
add esp, 0xc
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.00407270
mov ecx, dword [ebp - 0x738]
mov edx, dword [section..data]
add ecx, 0xfffffff4
mov byte [ebp - 4], 7
cmp ecx, edx
je 0x42d599
call fcn.00401bf0
mov edx, dword [section..data]
mov ecx, dword [ebp - 0x710]
add ecx, 0xfffffff4
mov byte [ebp - 4], 8
cmp ecx, edx
je 0x42d5af
call fcn.00401bf0
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x42d5c6
push esi
call dword [0x5ac484]
pop ecx
test eax, eax
jne 0x42d5d2
push 0x55ccfc
mov ecx, esi
call fcn.004071c0
mov esi, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
call fcn.005260ce
push ebx
push str.unit
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.005276e1
lea ecx, [ebp - 0x708]
mov eax, dword [eax]
mov dword [ebp - 0x708], eax
call fcn.0052648c
test eax, eax
je 0x42d671
push 0x55c6b4
push ebx
push str.defUnit
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x708]
call fcn.00527621
mov ecx, eax
call fcn.00527599
push eax
lea ecx, [ebp - 0x724]
call fcn.00407390
lea eax, [ebp - 0x724]
mov byte [ebp - 4], 9
push eax
call fcn.00429bba
pop ecx
mov ecx, dword [ebp - 0x724]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [section..data]
je 0x42d66d
call fcn.00401bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6dc]
call fcn.0052608d
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x720]
call fcn.0052648c
test eax, eax
je 0x42d6be
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.00526220
lea ecx, [ebp - 0x2f4]
call fcn.0052608d
push 0x55ccac
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x71c]
call fcn.0052648c
test eax, eax
je 0x42d71a
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.00526220
lea ecx, [ebp - 0x614]
call fcn.0052608d
push 0x55ccb8
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x6f8]
call fcn.0052648c
test eax, eax
je 0x42d776
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.00526220
lea ecx, [ebp - 0x54c]
call fcn.0052608d
push 0x55ccc0
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x6fc]
call fcn.0052648c
test eax, eax
je 0x42d83f
push 0x14
call fcn.004ae1fe
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x42d810
mov ecx, eax
call fcn.004114de
mov dword [ebp - 0x6f8], eax
jmp 0x42d816
push str.default
lea ecx, [edi + 0x54]
call fcn.004071c0
push 0x55ccfc
lea ecx, [edi + 0x5c]
mov dword [edi + 0x58], 0xc00001
call fcn.004071c0
jmp 0x42d5d8
mov dword [ebp - 0x6f8], ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x42d829
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.00411e37
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 4
call fcn.00526220
lea ecx, [ebp - 0x484]
call fcn.0052608d
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x700]
call fcn.0052648c
test eax, eax
je 0x42d8e5
push 0xdc
call fcn.004ae1fe
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x42d8b6
mov ecx, eax
call fcn.0042535d
mov dword [ebp - 0x6fc], eax
jmp 0x42d8bc
mov dword [ebp - 0x6fc], ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x42d8cf
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.0042e867
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.00526220
lea ecx, [ebp - 0x3bc]
call fcn.0052608d
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x718]
call fcn.0052648c
test eax, eax
je 0x42d988
push 0x14
call fcn.004ae1fe
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x42d959
mov ecx, eax
call fcn.004253af
mov dword [ebp - 0x700], eax
jmp 0x42d95f
mov dword [ebp - 0x700], ebx
mov ecx, dword [edi + 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x42d972
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.0042e96c
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 4
call fcn.00526220
lea ecx, [ebp - 0x22c]
call fcn.0052608d
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.0042cc35
add esp, 0x14
lea ecx, [ebp - 0x714]
call fcn.0052648c
test eax, eax
je 0x42da1c
push 0xdc
call fcn.004ae1fe
pop ecx
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x42d9f9
mov ecx, eax
call fcn.0042c672
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x42da0c
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.0046bd83
lea ecx, [ebp - 0x22c]
call fcn.00526220
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x9c]
call fcn.00411a9a
lea ecx, [ebp - 0x164]
call fcn.00526220
lea ecx, [ebp - 0x734]
call fcn.00412999
mov eax, ebx
call fcn.004ae50f
ret 8