Function at 0x436540
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c9cd7
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x62f570]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62f570]
xor eax, esp
push eax
lea eax, [esp + 0x59c]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
push 0x5e23e4
lea ecx, [edi + 4]
mov dword [esp + 0x1c], edi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x47c]
sub eax, dword [edi + 0x478]
test eax, 0xfffffffc
je 0x436ea3
call fcn.0053a8e1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4365c6
push 0x80004005
call fcn.004015b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5a4], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x436607
push 0x104
lea ecx, [esp + 0x20]
call fcn.004062b0
mov ebx, dword [esp + 0x1c]
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0058429c
add esp, 8
test eax, eax
jl 0x436e39
cmp eax, dword [ebx - 8]
jg 0x436e39
lea edx, [esp + 0x8c]
xor ecx, ecx
mov dword [ebx - 0xc], eax
push edx
mov word [ebx + eax*2], cx
call fcn.00446070
lea ecx, [esp + 0xcc]
mov byte [esp + 0x5a4], 1
call dword [sym.imp.utilities.dll_public:_void___thiscall_pugi::xml_document::constructor_void_]
push str.LAYOUT
lea eax, [esp + 0xd0]
push str.XML_PAGE_DEVICE_LIST
push eax
mov byte [esp + 0x5b0], 2
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SApplication::LoadXmlDocment_class_pugi::xml_document___wchar_t_const___wchar_t_const__]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xd0]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::root_void_]
mov esi, dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::first_element_by_path_wchar_t_const___wchar_t_]
push 0x2f
push str.include_scrollview_
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x6c]
call esi
push 0x2f
push str.include_scrollview_div_div_div
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
call esi
mov esi, dword [edi + 0x478]
cmp esi, dword [edi + 0x47c]
jbe 0x4366d6
call fcn.005807d8
mov ebp, dword [edi + 0x46c]
mov dword [esp + 0x40], ebp
mov eax, dword [edi + 0x47c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], eax
cmp dword [edi + 0x478], eax
jbe 0x4366fb
call fcn.005807d8
mov eax, dword [edi + 0x46c]
test ebp, ebp
je 0x436709
cmp ebp, eax
je 0x43670e
call fcn.005807d8
cmp esi, dword [esp + 0x18]
je 0x436e43
test ebp, ebp
jne 0x43684a
call fcn.005807d8
cmp esi, dword [ebp + 0x10]
jb 0x43672f
call fcn.005807d8
mov eax, dword [esi]
mov ecx, dword [0x634714]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x84]
call eax
mov ebp, eax
test ebp, ebp
je 0x436e09
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xb0]
push edx
lea edi, [esp + 0x94]
mov dword [esp + 0x28], eax
call fcn.00442ac0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [esp + 0xa4]
test esi, esi
je 0x43678c
cmp esi, dword [esp + 0x8c]
je 0x436791
call fcn.005807d8
cmp edi, ebx
jne 0x436852
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
mov ebx, dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
push 1
mov ecx, esi
call ebx
mov edi, eax
push 0xffffffffffffffff
push 0x5e249c
mov ecx, edi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
push 0
mov ecx, esi
call ebx
test eax, eax
je 0x4367e7
push eax
mov ecx, esi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::DestroyChild_class_SOUI::SWindow__]
push 0
mov ecx, esi
call ebx
test eax, eax
jne 0x4367d4
push 0xffffffffffffffff
push 0x5e24b4
mov ecx, edi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, 0x634710
call fcn.0046ac70
mov byte [esp + 0x5a4], 3
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x40]
mov ecx, edi
call eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x5a4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esp + 0x90]
call fcn.004429b0
mov dword [eax], esi
jmp 0x43686c
mov ebp, dword [ebp]
jmp 0x436725
test esi, esi
jne 0x43693f
call fcn.005807d8
cmp edi, dword [esi + 0x18]
jne 0x436869
call fcn.005807d8
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [esp + 0x70]
mov edx, dword [edx + 0x5c]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x3cc]
mov ecx, dword [esi + 4]
add eax, 0x3b8
lea eax, [esp + 0x18]
push eax
push ecx
push esi
mov dword [esp + 0x24], ebx
call fcn.004479d0
mov ecx, dword [esp + 0x14]
add ecx, 0x3b8
mov edi, eax
call fcn.00447a10
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor ecx, ecx
push ecx
mov eax, 0x4357e0
push eax
push edx
lea eax, [esp + 0xc0]
call fcn.0044fe50
add esp, 0xc
push eax
push 0x2710
lea ecx, [ebx + 0x30]
mov byte [esp + 0x5ac], 4
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5a4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov byte [esp + 0x5a4], 5
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
test eax, eax
jne 0x436946
push 0xffffffffffffffff
push 0x5ded00
mov ecx, ebx
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
push str.2301057
call eax
jmp 0x436ac8
mov esi, dword [esi]
jmp 0x43685f
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x5a4], 6
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
je 0x436971
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, esi
mov dword [esp + 0x18], edi
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [ebp]
mov ecx, ebp
test eax, eax
jne 0x4369c3
mov eax, dword [edx]
call eax
mov esi, str.2301058
test eax, eax
jne 0x436993
mov esi, 0x5e1ebc
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
movsx ecx, al
push ecx
push esi
push str._s__c:_
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
lea ecx, [esp + 0x88]
jmp 0x4369ec
mov eax, dword [edx + 0xc]
call eax
movsx ecx, al
push ecx
push edi
push str._s___c:_
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
lea ecx, [esp + 0x98]
add esp, 0x14
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov esi, dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
push 0xffffffffffffffff
push 0x5ded00
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jle 0x436ab9
test eax, eax
jl 0x436e39
mov eax, dword [ebp]
movzx edi, word [ecx]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
movsx eax, al
movzx ecx, di
cmp ecx, eax
jne 0x436ab5
push 0x5dfac4
lea ecx, [esp + 0x4c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push str.iconIndex
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5a8], 7
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0xffffffffffffffff
push 0x5e2500
mov ecx, ebx
mov byte [esp + 0x5ac], 8
call esi
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 1
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x5a4], 7
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x5a4], 6
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov edi, dword [esp + 0x18]
push edi
mov byte [esp + 0x5a8], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
test eax, eax
je 0x436b4b
push 0x5e1254
lea ecx, [esp + 0x60]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push str.iconIndex
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5a8], 9
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0xffffffffffffffff
push 0x5e2500
mov ecx, ebx
mov byte [esp + 0x5ac], 0xa
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x5a4], 9
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5a4], 5
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, 0x5e1ef0
mov ecx, ebx
call fcn.004051b0
mov esi, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, eax
sub edx, dword [esp + 0x2c]
mov edi, ecx
sbb edi, dword [esp + 0x30]
push edi
push edx
push ecx
push eax
call fcn.0042eff0
add esp, 0x10
push eax
mov ecx, esi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SProgress::SetValue_int_]
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
test eax, eax
jne 0x436c11
push str.skin_progress_red_5_png
lea ecx, [esp + 0x68]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push str.bkgndSkin
lea ecx, [esp + 0x58]
mov byte [esp + 0x5a8], 0xb
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
mov byte [esp + 0x5a8], 0xc
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x5a4], 0xb
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x64]
jmp 0x436c6a
push str.skin_progress_bg_5_png
lea ecx, [esp + 0x54]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push str.bkgndSkin
lea ecx, [esp + 0x50]
mov byte [esp + 0x5a8], 0xd
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
lea eax, [esp + 0x54]
mov byte [esp + 0x5a8], 0xe
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5a4], 0xd
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x5a4], 5
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov byte [esp + 0x5a4], 0xf
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp ecx, eax
mov ecx, dword [esp + 0x38]
jne 0x436cdc
mov edx, dword [esp + 0x30]
cmp edx, ecx
jne 0x436cdc
push 0x100
lea edx, [esp + 0x198]
push edx
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push eax
push 0x5e2520
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x88]
jmp 0x436d38
mov esi, dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push 0x100
lea edx, [esp + 0x198]
push edx
push ecx
push eax
call esi
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
sbb edx, dword [esp + 0x30]
push eax
push 0x100
lea eax, [esp + 0x39c]
push eax
push edx
push ecx
call esi
push eax
push 0x5e2528
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
add esp, 0x14
lea ecx, [esp + 0x80]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0xffffffffffffffff
push 0x5e1f64
mov ecx, ebx
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x436e2e
call fcn.005807d8
xor eax, eax
mov esi, dword [esp + 0x44]
cmp esi, dword [eax + 0x10]
jb 0x436d7c
call fcn.005807d8
mov eax, dword [esi]
push eax
mov ecx, ebx
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
cmp dword [esp + 0x5ac], 0
jne 0x436dd9
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x3d4], ecx
jne 0x436dd9
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
cmp byte [esi + 0x3d8], al
jne 0x436dd9
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x3e0]
cmp ecx, eax
jne 0x436dd9
mov eax, dword [esi + 0x3e4]
cmp eax, edx
jne 0x436dd9
push ebx
mov ebx, esi
call fcn.00435850
lea ecx, [esp + 0x28]
mov byte [esp + 0x5a4], 5
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5a4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x436e35
call fcn.005807d8
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x436e22
call fcn.005807d8
mov ebp, dword [esp + 0x40]
add esi, 4
jmp 0x4366e0
mov eax, dword [eax]
jmp 0x436d6e
mov eax, dword [eax]
jmp 0x436e18
push 0x80070057
call fcn.004015b0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x5a4], 1
call dword [sym.imp.utilities.dll_public:_void___thiscall_pugi::xml_document::destructor_void_]
lea esi, [esp + 0x8c]
mov byte [esp + 0x5a4], 0x10
call fcn.00446300
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0053a859
add ebx, 0xfffffff0
add esp, 4
mov dword [esp + 0x5a4], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x436ea3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
cmp dword [edi + 0x3e8], 0
jne 0x436ee3
cmp dword [edi + 0x3d0], 0
jbe 0x436ee3
mov ecx, dword [edi + 0x3cc]
mov edi, dword [edi + 0x3b8]
mov esi, dword [ecx]
test edi, edi
jne 0x436f0d
call fcn.005807d8
cmp esi, dword [edi + 0x14]
jne 0x436ed6
call fcn.005807d8
mov edx, dword [esi + 8]
mov ebx, dword [esp + 0x14]
push edx
call fcn.00435850
mov ecx, dword [esp + 0x59c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0057ffd2
add esp, 0x594
ret 4
mov edi, dword [edi]
jmp 0x436ecc