Function at 0x43ddb0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48af18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x3f0
call fcn.00401910
mov ecx, eax
call fcn.0040b4e0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x410
call fcn.0040ecc0
lea ecx, [ebp - 0x3c]
call fcn.0040c400
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 0x1c]
add ecx, 0x410
call fcn.00401910
mov ecx, eax
call fcn.00411170
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x43de81
mov dword [ebp - 0x18], 0
xor edx, edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x420], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x424], edx
push 0xffffffffffffffff
push 0x4a1374
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042cba0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x3f8], eax
push 0xffffffffffffffff
push 0x4a1390
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c2e0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x418], eax
push 0xffffffffffffffff
push 0x4a13a4
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.004401a0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x408], eax
push 0xffffffffffffffff
push 0x4a13b4
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.004401a0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x404], eax
push 0xffffffffffffffff
push 0x4a13c4
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.004401a0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x400], eax
push 0xffffffffffffffff
push 0x4a13dc
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c4a0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x3fc], eax
push 0
push 0
call dword [sym.imp.FreeImage.dll__FreeImage_OpenMemory_8]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x40c], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x40c], 0
je 0x43dfde
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x424], 0
jl 0x43dfbc
jg 0x43df69
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x420], 0x100000
jbe 0x43dfbc
push 1
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x418]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::EnableWindow_int__int_]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x2c]
push edx
push fcn.00440030
lea ecx, [ebp - 0x44]
call fcn.00440360
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.0043d870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040a510
jmp 0x43dfde
push 0
push 0x4a13f8
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x3fc]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::STabCtrl::SetCurSel_wchar_t_const___int_]
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00440030
add esp, 4
mov ecx, dword [ebp - 0x1c]
call fcn.0043f150
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 8