Function at 0x5706c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4c37
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x16c], ecx
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov esi, dword [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x180], eax
push esi
mov byte [eax], 0
call fcn.00405c30
mov edx, 4
lea ecx, [ebp - 0x70]
call fcn.005934e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.libxml2.dll_xmlParseFile]
add esp, 0x1c
mov dword [ebp - 0x178], eax
test eax, eax
jne 0x5707cd
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Error___ScriptManager::loadFromXml__Cannot_load_mod
call fcn.004064c0
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push 0x406700
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x88]
call fcn.00593060
mov byte [ebp - 4], 1
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x570798
mov edx, dword [eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
push 0x406700
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x88]
call fcn.00405b30
mov byte [ebp - 0x165], 0
jmp 0x571156
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.libxml2.dll_xmlDocGetRootElement]
mov edi, eax
push 0x5f5334
push dword [edi + 8]
call dword [sym.imp.libxml2.dll_xmlStrcmp]
add esp, 0xc
test eax, eax
je 0x570881
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Error___ScriptManager::loadFromXml__Malformed_mod
call fcn.004064c0
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push 0x406700
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x88]
call fcn.00593060
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x570856
mov edx, dword [eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
push 0x406700
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x88]
call fcn.00405b30
jmp 0x5708cd
lea eax, [ebp - 0x28]
mov edx, 0x5f52f8
push eax
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
jne 0x5708e8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ScriptManager::loadFromXml__Empty_name_in_mod
call fcn.004064c0
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push 0x406700
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0x178]
call dword [sym.imp.libxml2.dll_xmlFreeDoc]
add esp, 4
mov byte [ebp - 0x165], 0
jmp 0x571114
lea ecx, [ebp - 0x164]
call fcn.004556a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov edx, 0x5f5350
mov byte [ebp - 0xd4], 0
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x570942
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00405c30
call fcn.00593780
movzx ecx, byte [ebp - 0xd4]
add esp, 0x18
test al, al
mov edx, 1
cmovne ecx, edx
mov byte [ebp - 0xd4], cl
lea eax, [ebp - 0xec]
cmp eax, esi
je 0x570965
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x570956
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xec]
push eax
call fcn.00405890
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x164]
push eax
call fcn.00405890
lea eax, [ebp - 0x28]
mov edx, 0x5f5348
push eax
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x5709b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x134]
push eax
call fcn.00405890
lea eax, [ebp - 0x28]
mov edx, 0x5f5340
push eax
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x5709e1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x11c]
push eax
call fcn.00405890
lea eax, [ebp - 0x28]
mov edx, str.contact
push eax
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x570a12
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x104]
push eax
call fcn.00405890
mov al, byte [ebp - 0xd4]
test al, al
je 0x570fdd
sub esp, 0x18
mov esi, esp
push 8
push str.scripts_
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 8
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
mov edx, 4
lea ecx, [ebp - 0xd0]
call fcn.005934e0
add esp, 0x18
mov byte [ebp - 4], 5
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x17c], edi
test edi, edi
je 0x570fc8
mov esi, dword [sym.imp.libxml2.dll_xmlStrcmp]
nop dword [eax + eax]
push str.quest
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570aae
mov eax, dword [ebp - 0x16c]
movzx eax, byte [eax + 4]
push eax
push edi
call fcn.004352d0
mov ecx, eax
call fcn.0056a640
jmp 0x570dc7
push 0x5f5364
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570ad1
push edi
call fcn.0043dc00
mov ecx, eax
call fcn.0053c130
jmp 0x570dc7
push 0x5f5358
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570af4
push edi
call fcn.00434470
mov ecx, eax
call fcn.00594690
jmp 0x570dc7
push 0x5f5398
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570b17
push edi
call fcn.0043dd50
mov ecx, eax
call fcn.004ac4c0
jmp 0x570dc7
push str.raid
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570b47
mov eax, dword [ebp - 0x16c]
push 4
movzx eax, byte [eax + 4]
push eax
push edi
call fcn.00433970
mov ecx, eax
call fcn.0056ea80
jmp 0x570dc7
push 0x5f5388
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570b75
mov eax, dword [ebp - 0x16c]
movzx eax, byte [eax + 4]
push eax
push edi
call fcn.00434360
mov ecx, eax
call fcn.00574eb0
jmp 0x570dc7
push 0x5f5380
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570b91
push edi
call fcn.00464c40
jmp 0x570dc7
push 0x5f54a4
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570d6f
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
mov edx, str.file
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x570ce7
lea eax, [ebp - 0x40]
mov edx, 0x5f5494
push eax
mov ecx, edi
call fcn.00593b40
add esp, 4
test al, al
je 0x570ce7
mov edx, dword [ebp - 0x48]
sub esp, 0x18
mov eax, bind
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x170], ecx
cmp eax, 8
jb 0x5715ed
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
push eax
push 8
push str.monster_
push ecx
push dword [ebp - 0x180]
call fcn.004089e0
mov edx, 4
lea ecx, [ebp - 0x88]
call fcn.005934e0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x570cc2
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x570c8e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x570c84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x88]
call fcn.00405b30
push 1
lea eax, [ebp - 0x40]
mov ecx, 0x6277f0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0051da70
mov esi, dword [sym.imp.libxml2.dll_xmlStrcmp]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x570d1f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x570d15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x570dc7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x570d63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
jmp 0x570dc7
push str.item
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
jne 0x570dc7
push 0x5f54c0
push edi
call dword [sym.imp.libxml2.dll_xmlGetProp]
add esp, 8
mov dword [ebp - 0x174], eax
test eax, eax
je 0x570dc7
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [sym.imp.libxml2.dll_xmlFree]
mov esi, eax
push dword [ebp - 0x174]
mov ecx, dword [ecx]
call ecx
add esp, 8
mov ecx, 0x627790
push esi
push edi
call fcn.004d5570
mov esi, dword [sym.imp.libxml2.dll_xmlStrcmp]
push 0x5f54b4
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
je 0x5714c8
push 0x5f54ac
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
je 0x5714c8
push 0x5f54d4
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
je 0x570f61
push str.config
push dword [edi + 8]
call esi
add esp, 8
test eax, eax
je 0x570f61
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov eax, dword [ebp - 0x16c]
mov ecx, dword [0x631368]
movzx eax, byte [eax + 4]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x631360]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x63135c]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x631364]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x631370]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x63136c]
push eax
push edi
call fcn.0045f800
test al, al
jne 0x570fb5
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.00405c30
mov ecx, dword [ebp - 0x16c]
movzx eax, byte [ecx + 4]
mov ecx, dword [0x631358]
push eax
push edi
call fcn.0045f800
jmp 0x570fb5
push 0x5f5578
push edi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
jne 0x57118e
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ScriptManager::loadFromXml__Lib_without_name_in_mod
call fcn.004064c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push 0x406700
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [sym.imp.libxml2.dll_xmlStrcmp]
mov eax, dword [edi + 0x18]
mov edi, eax
mov dword [ebp - 0x17c], eax
test eax, eax
jne 0x570a80
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00405b30
mov al, byte [ebp - 0xd4]
mov ecx, dword [ebp - 0x180]
mov byte [ecx], al
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x16c]
push eax
lea ecx, [ecx + 0x10]
call fcn.00455730
mov esi, eax
lea eax, [ebp - 0x164]
cmp esi, eax
je 0x571024
cmp dword [ebp - 0x150], 0x10
mov ecx, eax
push dword [ebp - 0x154]
cmovae ecx, dword [ebp - 0x164]
push ecx
mov ecx, esi
call fcn.00405890
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x14c]
cmp ecx, eax
je 0x57104b
cmp dword [ebp - 0x138], 0x10
push dword [ebp - 0x13c]
cmovae eax, dword [ebp - 0x14c]
push eax
call fcn.00405890
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x134]
cmp ecx, eax
je 0x571072
cmp dword [ebp - 0x120], 0x10
push dword [ebp - 0x124]
cmovae eax, dword [ebp - 0x134]
push eax
call fcn.00405890
lea ecx, [esi + 0x48]
lea eax, [ebp - 0x11c]
cmp ecx, eax
je 0x571099
cmp dword [ebp - 0x108], 0x10
push dword [ebp - 0x10c]
cmovae eax, dword [ebp - 0x11c]
push eax
call fcn.00405890
lea ecx, [esi + 0x60]
lea eax, [ebp - 0x104]
cmp ecx, eax
je 0x5710c0
cmp dword [ebp - 0xf0], 0x10
push dword [ebp - 0xf4]
cmovae eax, dword [ebp - 0x104]
push eax
call fcn.00405890
lea ecx, [esi + 0x78]
lea eax, [ebp - 0xec]
cmp ecx, eax
je 0x5710e7
cmp dword [ebp - 0xd8], 0x10
push dword [ebp - 0xdc]
cmovae eax, dword [ebp - 0xec]
push eax
call fcn.00405890
mov al, byte [ebp - 0xd4]
push dword [ebp - 0x178]
mov byte [esi + 0x90], al
call dword [sym.imp.libxml2.dll_xmlFreeDoc]
add esp, 4
mov byte [ebp - 0x165], 1
lea ecx, [ebp - 0x164]
call fcn.004382a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x571144
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57113a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x5715ca
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5715c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5715c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x5711b4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5711a1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x14], 0x10
setae cl
cmovae edx, esi
test cl, cl
je 0x5711dc
add eax, esi
jmp 0x5711e3
lea ecx, [ebp - 0x28]
add eax, ecx
mov esi, ecx
mov dword [ebp - 0x174], eax
cmp esi, eax
je 0x57121f
sub edx, esi
mov dword [ebp - 0x170], edx
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x174]
jne 0x571200
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x40]
mov ecx, dword [edi + 0xc]
call fcn.00593240
test al, al
je 0x571487
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [eax + 8]
call fcn.0041cb30
mov esi, dword [ebp - 0x188]
cmp byte [esi + 0xd], 0
jne 0x5712a9
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x571280
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x18]
call fcn.0041cab0
shr eax, 0x1f
add esp, 8
test al, al
jne 0x5712a9
mov eax, dword [ebp - 0x16c]
jmp 0x5712b2
mov eax, dword [ebp - 0x16c]
mov esi, dword [eax + 8]
cmp esi, dword [eax + 8]
jne 0x57142d
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
cmp eax, ecx
je 0x571332
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x571323
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0xb8]
push eax
call fcn.00405890
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xa0]
push eax
call fcn.00405890
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 8]
call fcn.00455750
mov esi, eax
lea eax, [ebp - 0xb8]
cmp esi, eax
je 0x571388
cmp dword [ebp - 0xa4], 0x10
mov ecx, eax
push dword [ebp - 0xa8]
cmovae ecx, dword [ebp - 0xb8]
push ecx
mov ecx, esi
call fcn.00405890
lea ecx, [esi + 0x18]
lea eax, [ebp - 0xa0]
cmp ecx, eax
je 0x5713af
cmp dword [ebp - 0x8c], 0x10
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.00405890
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x5713ed
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5713e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x571487
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x571421
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
jmp 0x571487
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ScriptManager::loadFromXml__Duplicated_lib_in_mod
call fcn.004064c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, str.__previously_declared_in
mov ecx, eax
call fcn.004064c0
cmp dword [esi + 0x3c], 0x10
lea edx, [esi + 0x28]
jb 0x57146d
mov edx, dword [esi + 0x28]
push 0x406700
push dword [esi + 0x38]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x570faf
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5714b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
jmp 0x570faf
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x28]
call fcn.00593240
test al, al
je 0x570fb5
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 1
mov word [ebp - 0x40], 9
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00590220
mov byte [ebp - 4], 8
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x571566
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57155c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x5715a1
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x571597
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x571188
push ecx
push edx
call fcn.0045b34b
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14c]
push eax
call fcn.00405890
jmp 0x570fb5
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov al, byte [ebp - 0x165]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 8
call fcn.00402600
int3