Function at 0x100d9c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [0x10361210], eax
mov eax, dword [ebp + 0x10]
push sym.nsInstall.dll_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push dword [0x103611f8]
mov dword [0x103611f4], ecx
mov dword [0x10361214], eax
mov eax, dword [ecx + 0xc]
call eax
push dword [0x103611f8]
call sym.nsInstall.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____
add esp, 4
push 0x1029bde4
push 0x65
call sym.nsInstall.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100d9cff
push esi
call sym.nsInstall.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x84], eax
push esi
test eax, eax
jne 0x100d9cb6
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100d9cff
call sym.nsInstall.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100d9cff
push edi
call fcn.10260577
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100d9cee
push edi
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.102618f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push ebx
call sym.nsInstall.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
add esp, 8
call fcn.100d2560
mov ebx, eax
lea eax, [ebp - 0x1f]
test ebx, ebx
jns 0x100d9d21
mov ecx, ebx
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d9d2a
push ebx
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 0x1f]
mov dword [ebp - 0xc], 0
add esp, 8
mov byte [ebp - 0x1c], 0
mov eax, 0xf
mov dword [ebp - 8], eax
cmp ecx, edx
je 0x100d9d58
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100b8260
mov eax, dword [ebp - 8]
cmp eax, 0x10
mov dword [ebp - 0x70], 0
push 0xb
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x6c], 0xf
cmovae esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x80]
push 0x1029b7b8
mov byte [ebp - 0x80], 0
call fcn.100b8260
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x50], 0
call fcn.100e7a50
push 0x4b
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push esi
push 0x1029b7b8
push str.begin_execute__s__s_
call fcn.100e7920
add esp, 0x1c
call fcn.100e7a10
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100d9e03
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d9df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100da0fd
push edx
push ecx
call fcn.1025fbc4
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0xe
push 0x1029b7c4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], al
call fcn.100b8260
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100e2110
add esp, 8
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100d9e4d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.100c95a0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x100d9e93
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d9e89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100da102
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 0x10
jb 0x100d9edb
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d9ed1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100da102
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push 5
push 0x1029b7d4
lea ecx, [ebp - 0x4c]
call fcn.100c95a0
push 0x4a8
call fcn.1025fb94
mov edi, eax
add esp, 4
test edi, edi
je 0x100d9f72
mov ecx, edi
call sym.nsInstall.dll_public:_void___thiscall_DuiLib::CWindowWnd::constructor_void_
lea ecx, [edi + 0x14]
mov dword [edi], vtable.CWndImpl.0
mov dword [edi + 0x10], vtable.CWndImpl.1.0
call sym.nsInstall.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::constructor_void_
mov dword [edi], vtable.CMainWnd.0
lea ecx, [edi + 0x498]
mov dword [edi + 0x10], vtable.CMainWnd.1.0
mov dword [edi + 0x498], 0
mov dword [edi + 0x49c], 0
call fcn.100c7980
mov dword [edi + 0x498], eax
lea ecx, [edi + 0x4a0]
mov dword [edi + 0x4a0], 0
mov dword [edi + 0x4a4], 0
call fcn.100c7980
mov dword [edi + 0x4a0], eax
jmp 0x100d9f74
xor edi, edi
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0
cmovae eax, dword [ebp - 0x4c]
mov ecx, edi
push connect
push connect
push connect
push connect
push 0x100
push 0x96c80000
push eax
push 0
mov dword [0x10361200], edi
call sym.nsInstall.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, dword [0x10361200]
call sym.nsInstall.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
mov ecx, dword [0x10361200]
cmp ebx, 1
push 1
sete al
movzx eax, al
push eax
call sym.nsInstall.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_
mov ecx, dword [0x10361200]
call fcn.100b7630
mov ecx, eax
call sym.nsInstall.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov esi, eax
lea eax, [ebp - 0x1f]
test esi, esi
jns 0x100da000
mov ecx, esi
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100da009
push esi
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 0x1f]
mov dword [ebp - 0xc], 0
add esp, 8
mov byte [ebp - 0x1c], 0
mov eax, 0xf
mov dword [ebp - 8], eax
cmp ecx, edx
je 0x100da037
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100b8260
mov eax, dword [ebp - 8]
cmp eax, 0x10
lea edx, [ebp - 0x1c]
cmovae edx, dword [ebp - 0x1c]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100da046
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100b8260
mov edx, dword [ebp - 8]
mov dword [ebp - 0x50], 0
cmp edx, 0x10
jb 0x100da094
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100da08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100da107
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push esi
call fcn.100d2900
mov edx, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x100da0d3
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100da0c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100da107
push edx
push ecx
call fcn.1025fbc4
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
call fcn.10265f3a
call fcn.10265f3a
int3