Function at 0x110879c0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118fbb6
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x3cc], eax
xor eax, eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], eax
cmp byte [ebp + 0x24], 1
movss xmm0, dword [0x1119a12c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3c4], eax
movss dword [ebp - 0x3e8], xmm0
jne 0x11088a84
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
call fcn.110865f0
mov ecx, eax
test ecx, ecx
je 0x11088ab5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3b8], eax
push esi
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 2
call fcn.11078360
test al, al
jne 0x11087aac
test esi, esi
jne 0x11087a89
xor ecx, ecx
jmp 0x11087a9f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x11087a90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3b8]
call fcn.1105e730
mov esi, dword [ebp - 0x3b8]
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jl 0x11087bfc
push str..svg
push esi
call fcn.11122af1
add esp, 8
test eax, eax
je 0x11087bfc
sub eax, esi
sar eax, 1
js 0x11087bfc
cmp dword [esi - 0xc], 0
jg 0x11087aeb
or edi, 0xffffffff
jmp 0x11087b05
push 0x40
push esi
call fcn.11122d6d
mov edi, eax
add esp, 8
test edi, edi
jne 0x11087b01
or edi, 0xffffffff
jmp 0x11087b05
sub edi, esi
sar edi, 1
cmp dword [esi - 0xc], 0
jg 0x11087b10
or eax, 0xffffffff
jmp 0x11087b28
push 0x2e
push esi
call fcn.11122d6d
add esp, 8
test eax, eax
jne 0x11087b24
or eax, 0xffffffff
jmp 0x11087b28
sub eax, esi
sar eax, 1
mov esi, eax
mov dword [ebp - 0x3bc], eax
sub esi, edi
lea ecx, [ebp - 0x3b8]
lea eax, [esi - 1]
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x3c4]
push eax
call fcn.1108a320
push esi
push edi
lea eax, [ebp - 0x3e4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x3b8]
call fcn.1108a320
mov esi, dword [ebp - 0x3e4]
cmp edi, 0xffffffff
mov edi, dword [ebp - 0x3c4]
mov byte [ebp - 4], 5
je 0x11087bb8
cmp dword [ebp - 0x3bc], 0xffffffff
je 0x11087bb8
push 0x111997f0
push esi
lea ecx, [ebp - 0x3b8]
call fcn.1108ba90
push edi
call fcn.1113dcf8
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x111a98f8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3c4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x11087bda
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x11087bf6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3b8]
cmp dword [ebp + 0x2c], 0
jne 0x11088352
lea eax, [ebp - 0x68]
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_const
add esp, 4
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], dx
call fcn.1100f550
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 6
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_const
add esp, 4
cmp dword [eax + 4], 0
jne 0x11087daf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x11087c60
sub ecx, edx
mov dword [ebp - 0x18], 0
sar ecx, 1
xor eax, eax
push ecx
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1100f550
mov edi, 0x18
mov dword [ebp - 0x3b4], edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 4], 7
call fcn.110170b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x11087cf1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11087ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088abf
push edx
push ecx
call fcn.110d0a5e
add esp, 8
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x11087d2d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3b0], eax
test eax, eax
jne 0x11087d51
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 0x3e0], 0
push ecx
push eax
call fcn.11076be0
mov ecx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x3e0]
push 0
push eax
push ecx
push dword [ebp - 0x3dc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3b0]
cmp dword [ebp - 0x3e0], eax
je 0x110882f4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
lea eax, [ebp - 0x3d0]
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_const
add esp, 4
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push dword [eax + 4]
push dword [eax]
call fcn.1100f550
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 4], 8
call fcn.110170b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x11087e38
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11087e2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088ac4
push edx
push ecx
call fcn.110d0a5e
add esp, 8
lea eax, [ebp - 0x3f0]
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourceZipPwd_void_const
add esp, 4
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], dx
call fcn.1100f550
mov edi, 0x68
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 9
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x11087e9c
call sym.DuiLib.dll_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
mov dword [ebp - 0x3bc], eax
jmp 0x11087f3e
cmp dword [ebp - 0x80], 8
lea eax, [ebp - 0x94]
push 0
push dword [ebp - 0x84]
cmovae eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1108d520
mov edi, 0x3e8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
push ecx
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.1104b660
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x11087f2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x11087f1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088ac9
push edx
push ecx
call fcn.110d0a5e
mov eax, dword [ebp - 0x3bc]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
jne 0x11087f5e
lea ecx, [ebp - 0x94]
call fcn.1100e280
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
xor eax, eax
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x11087f90
sub ecx, edx
mov dword [ebp - 0x68], 0
sar ecx, 1
xor eax, eax
push ecx
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.1100f550
mov edx, dword [ebp - 0x30]
or edi, 0x400
mov dword [ebp - 0x3b4], edi
cmp edx, 8
jb 0x11088003
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11087ff9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088ace
push edx
push ecx
call fcn.110d0a5e
add esp, 8
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x34], xmm0
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x68], 0x111a6d04
mov dword [ebp - 0x64], 1
call fcn.11073ee0
mov esi, eax
cmp esi, dword [section..data]
je 0x11088126
push 1
push 0x111a8a18
push 1
push esi
lea ecx, [ebp - 0x44]
call fcn.1105fc50
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
add esi, 2
cmp dword [ebp - 0x30], 8
cmovae edx, dword [ebp - 0x44]
mov dword [ebp - 0x3cc], edx
cmp ecx, 1
jb 0x11088111
lea eax, [ecx - 1]
cmp esi, eax
ja 0x11088111
lea eax, [edx + ecx*2]
mov dword [ebp - 0x3ec], eax
lea esi, [edx + esi*2]
nop dword [eax]
mov ecx, eax
mov edx, 0
sub ecx, esi
sar ecx, 1
je 0x110880b4
cmp word [esi], 0x5c
je 0x110880b2
cmp ecx, 1
je 0x110880b4
add esi, 2
dec ecx
cmp word [esi], 0x5c
jne 0x110880a3
mov edx, esi
mov esi, edx
test esi, esi
je 0x11088111
movzx ecx, word [esi]
mov edx, 0x5c
mov edi, 1
mov eax, 0x111a6d04
cmp ecx, edx
jb 0x110880fc
mov dword [ebp - 0x3e0], esi
sub dword [ebp - 0x3e0], eax
cmp cx, dx
ja 0x110880fc
cmp edi, 1
je 0x11088107
mov ecx, dword [ebp - 0x3e0]
add eax, 2
dec edi
movzx ecx, word [eax + ecx]
movzx edx, word [eax]
cmp cx, dx
jae 0x110880df
mov eax, dword [ebp - 0x3ec]
add esi, 2
jmp 0x11088090
sub esi, dword [ebp - 0x3cc]
sar esi, 1
jmp 0x11088114
or esi, 0xffffffff
cmp esi, dword [section..data]
jne 0x11088043
mov edi, dword [ebp - 0x3b4]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x3a8]
push ecx
lea ecx, [ebp - 0x3e4]
push ecx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 1
push eax
push dword [ebp - 0x3bc]
call fcn.1104ab00
add esp, 0x14
test eax, eax
je 0x11088178
lea ecx, [ebp - 0x44]
call fcn.1100e280
lea ecx, [ebp - 0x94]
call fcn.1100e280
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
mov esi, dword [ebp - 0x17c]
mov dword [ebp - 0x3b0], esi
test esi, esi
jne 0x110881ac
lea ecx, [ebp - 0x44]
call fcn.1100e280
lea ecx, [ebp - 0x94]
call fcn.1100e280
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
lea eax, [ebp - 0x3dc]
push eax
push esi
mov ecx, eax
call fcn.11076be0
push esi
push dword [ebp - 0x3dc]
mov esi, dword [ebp - 0x3bc]
push dword [ebp - 0x3e4]
push esi
call fcn.1104bdb0
add esp, 0x10
test eax, eax
je 0x11088218
cmp eax, 0x600
je 0x11088218
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x110881f4
push esi
call fcn.1104a660
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.1100e280
lea ecx, [ebp - 0x94]
call fcn.1100e280
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1100e280
jmp 0x110883e8
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1108822a
push esi
call fcn.1104a660
add esp, 4
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], 0
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov byte [ebp - 4], 9
mov word [eax], cx
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1108827f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11088275
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088ad3
push edx
push ecx
call fcn.110d0a5e
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x80], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 6
mov word [eax], cx
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x110882f4
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x110882ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088ad8
push edx
push ecx
call fcn.110d0a5e
add esp, 8
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
cmovae eax, dword [ebp - 0x60]
xor ecx, ecx
mov byte [ebp - 4], 3
mov word [eax], cx
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x110883e2
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11088343
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088add
push edx
push ecx
call fcn.110d0a5e
add esp, 8
jmp 0x110883e2
mov esi, dword [ebp - 0x3cc]
test esi, esi
jne 0x11088363
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
mov esi, eax
movsx ecx, byte [ebp + 0x24]
test ecx, ecx
jne 0x11088ae2
push dword [ebp + 0x28]
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x110883e2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3cc], eax
push edi
test eax, eax
je 0x110883dc
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x3b0], esi
test esi, esi
je 0x110883e2
lea eax, [ebp - 0x3dc]
push eax
push esi
mov ecx, eax
call fcn.11076be0
push dword [ebp - 0x3b0]
mov esi, dword [ebp - 0x3dc]
push dword [ebp - 0x3cc]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.11121300
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [ebp - 0x3b4]
mov eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x3d8]
jne 0x1108847e
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x3b8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1108846c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3b0], eax
test eax, eax
je 0x1108846c
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 0x3cc], 0
push ecx
push eax
call fcn.11076be0
push 0
lea eax, [ebp - 0x3cc]
push eax
push dword [ebp - 0x3b0]
push dword [ebp - 0x3dc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x3d8]
je 0x1108864e
cmp dword [ebp - 0x3c4], 0
mov esi, 1
jne 0x110884eb
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], eax
add eax, dword [ebp - 0x3b0]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x3cc]
push 4
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x168], 0
push eax
lea eax, [ebp - 0x3bc]
mov dword [ebp - 0x158], 0
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.110953b0
add esp, 0x14
mov edi, eax
jmp 0x110887fd
mov ecx, esi
mov esi, dword [ebp - 0x3b8]
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x11088510
push 0
lea ecx, [ebp - 0x3b8]
call fcn.1105c3f0
mov esi, dword [ebp - 0x3b8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x11088515
sub ecx, edx
lea eax, [ebp - 0x28]
push 0xfde9
sar ecx, 1
push ecx
push esi
push eax
call fcn.1108d520
or edi, 0x800
add esp, 0x10
mov dword [ebp - 0x3b4], edi
mov esi, edi
mov dword [ebp - 0x3c4], edi
mov ecx, dword [ebp - 0x3dc]
mov eax, dword [ebp - 0x3d8]
mov byte [ebp - 4], 0xd
cmp ecx, eax
jne 0x1108859a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.11062d30
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3ec]
or edi, 1
push eax
mov dword [ebp - 0x3c4], edi
call fcn.110f6130
add esp, 8
mov ecx, esi
or ecx, 3
jmp 0x110885b6
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x3cc]
push eax
call fcn.110f6020
mov ecx, dword [ebp - 0x3b4]
add esp, 0xc
or ecx, 4
mov edi, dword [eax]
mov dword [ebp - 0x3e4], edi
mov dword [eax], 0
mov dword [ebp - 0x3e0], edi
mov dword [ebp - 4], 0x10
test cl, 4
je 0x11088601
mov esi, dword [ebp - 0x3cc]
and ecx, 0xfffffffb
mov dword [ebp - 0x3b4], ecx
test esi, esi
je 0x11088601
mov ecx, esi
call fcn.110f4880
push 4
push esi
call fcn.110d0a5e
mov ecx, dword [ebp - 0x3b4]
add esp, 8
test cl, 2
je 0x11088631
mov esi, dword [ebp - 0x3ec]
and ecx, 0xfffffffd
mov dword [ebp - 0x3b4], ecx
test esi, esi
je 0x11088631
mov ecx, esi
call fcn.110f4880
push 4
push esi
call fcn.110d0a5e
mov ecx, dword [ebp - 0x3b4]
add esp, 8
mov byte [ebp - 4], 0x12
test cl, 1
je 0x11088642
lea ecx, [ebp - 0x40]
call fcn.11063470
test edi, edi
jne 0x110886af
lea ecx, [ebp - 0x28]
call fcn.11063470
xor esi, esi
mov edx, dword [ebp - 0x3b8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1108866e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3dc]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x11088a38
mov edx, dword [ebp - 0x3d4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x11088a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11088b07
jmp 0x11088a10
mov ecx, edi
call fcn.110f77d0
fstp qword [ebp - 0x3c8]
cvttsd2si eax, qword [ebp - 0x3c8]
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x3e8]
cvttss2si esi, xmm0
mov dword [ebp - 0x3bc], esi
call fcn.110f5f40
fstp qword [ebp - 0x3c8]
cvttsd2si eax, qword [ebp - 0x3c8]
push 0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x3e8]
cvttss2si eax, xmm0
push eax
mov dword [ebp - 0x3b0], eax
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.110f6c50
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x3c4], 0
call fcn.110f5f30
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.110f77c0
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.110f5b50
lea ecx, [ebp - 0x3c4]
push ecx
push 4
push edi
push esi
push 0
push eax
call fcn.1109b5d0
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x188], eax
add eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x3cc]
push 4
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x3bc]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.110953b0
mov esi, dword [ebp - 0x64]
add esp, 0x2c
mov edi, eax
test esi, esi
je 0x110887d9
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x110887d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x110887d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x3e4]
mov ecx, esi
call fcn.110f4880
push 4
push esi
call fcn.110d0a5e
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.11063470
test edi, edi
je 0x1108864e
mov eax, dword [ebp - 0x3b0]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x3bc]
neg eax
mov dword [ebp - 0xb8], eax
mov eax, ecx
imul eax, dword [ebp - 0x3b0]
push 0
push 0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x3c4], eax
shl eax, 2
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x3c0]
push eax
push 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x98], 0
push eax
push 0
mov dword [ebp - 0xc0], 0x28
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], 0x200001
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0x3a9], 0
mov dword [ebp - 0x3c0], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x3ec], eax
test eax, eax
je 0x1108864e
mov edx, dword [ebp - 0x3c4]
xor esi, esi
test edx, edx
jle 0x110889b2
nop dword [eax]
mov eax, dword [ebp - 0x3c0]
mov cl, byte [edi + esi*4 + 3]
mov byte [eax + esi*4 + 3], cl
mov ecx, dword [ebp - 0x3c0]
cmp byte [ecx + esi*4 + 3], 0xff
jae 0x1108894b
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4 + 2]
imul ecx, eax
mov eax, 0x80808081
mov byte [ebp - 0x3a9], 1
mul ecx
mov eax, dword [ebp - 0x3c0]
shr edx, 7
mov byte [eax + esi*4], dl
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4 + 1]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x3c0]
shr edx, 7
mov byte [eax + esi*4 + 1], dl
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x3c0]
shr edx, 7
mov byte [eax + esi*4 + 2], dl
mov edx, dword [ebp - 0x3c4]
jmp 0x1108896f
mov al, byte [edi + esi*4 + 2]
mov byte [ecx + esi*4], al
mov eax, dword [ebp - 0x3c0]
movzx ecx, byte [edi + esi*4 + 1]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [ebp - 0x3c0]
movzx ecx, byte [edi + esi*4]
mov byte [eax + esi*4 + 2], cl
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp + 0x30]
cmp dword [eax + esi*4], ecx
jne 0x110889a9
mov byte [eax + esi*4], 0
mov eax, dword [ebp - 0x3c0]
mov byte [ebp - 0x3a9], 1
mov byte [eax + esi*4 + 1], 0
mov eax, dword [ebp - 0x3c0]
mov byte [eax + esi*4 + 2], 0
mov eax, dword [ebp - 0x3c0]
mov byte [eax + esi*4 + 3], 0
inc esi
cmp esi, edx
jl 0x110888c0
push edi
call fcn.1113deca
push 0x3c
call fcn.110d0a2e
add esp, 8
test eax, eax
je 0x110889d1
mov ecx, eax
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::tagTImageInfo::constructor_void_
mov esi, eax
jmp 0x110889d3
xor esi, esi
mov eax, dword [ebp - 0x3ec]
mov dword [esi], eax
mov eax, dword [ebp - 0x3bc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x3b0]
mov dword [esi + 0x14], eax
mov al, byte [ebp - 0x3a9]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov byte [esi + 0x18], al
jmp 0x11088650
push edx
push ecx
call fcn.110d0a5e
add esp, 8
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov al, byte [ebp + 0x24]
mov dword [ebp - 4], 0x14
test al, al
js 0x11088a67
movsx ecx, al
lea eax, [ebp - 0x3a9]
push eax
lea eax, [ebp + 8]
mov byte [ebp - 0x3a9], 0
push eax
mov ecx, dword [ecx*4 + 0x1119c628]
call ecx
add esp, 8
mov eax, esi
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.110d0a88
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x3f4], 0
lea ecx, [ebp - 0x3fc]
movq qword [ebp - 0x3fc], xmm0
call fcn.1102c620
push 0x111d2250
lea eax, [ebp - 0x3fc]
push eax
call fcn.111220fa
push 0x80004005
call fcn.1105a0a0
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.1102c620
push 0x111d2250
lea eax, [ebp - 0x6c]
push eax
call fcn.111220fa
call fcn.1112ace2
int3