Function at 0x42c4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x3c0], eax
mov edx, dword [ebp + 0x10]
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [esp + 0xc], ax
mov eax, edx
push edi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c510
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404a10
push 0
mov dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x42c559
cmp dword [esp + 0x24], 8
jb 0x42c920
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004ad85d
add esp, 4
jmp 0x42c920
push 0x53bd8c
push 0x6b
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42c58a
cmp dword [esp + 0x24], 8
jb 0x42c920
mov edx, dword [esp + 0x10]
push edx
call fcn.004ad85d
add esp, 4
jmp 0x42c920
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x42c5bc
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esp + 0x24], 8
jb 0x42c920
mov eax, dword [esp + 0x10]
push eax
call fcn.004ad85d
add esp, 4
jmp 0x42c920
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x42c917
push esi
call fcn.004ef56e
add esp, 4
mov dword [0x58f544], eax
test eax, eax
je 0x42c5f7
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x58f544]
push eax
push ecx
call fcn.00509040
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [0x58f544]
xor ebx, ebx
push ebx
push esi
push edx
call sym.zSignInstall.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__
add esp, 0xc
push 0x208
lea eax, [esp + 0x1c4]
push ebx
push eax
call fcn.00509940
add esp, 0xc
push 0x104
lea ecx, [esp + 0x1c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x1c0]
push edx
lea ecx, [esp + 0x84]
call fcn.004043f0
sub esp, 0x1c
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004080d0
lea ecx, [esp + 0x64]
push ecx
call fcn.00420800
add esp, 0x20
lea edx, [esp + 0x1c0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.00420680
add esp, 4
push eax
lea ecx, [esp + 0x68]
call fcn.00404350
lea edi, [esp + 0x48]
call fcn.004194f0
mov edi, 0xf
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0041bc90
push str.zInstallLog.ini
mov eax, esi
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00404cc0
add esp, 0xc
push eax
mov ecx, 0x58a014
call fcn.00404500
lea ecx, [esp + 0x9c]
call fcn.00404390
cmp dword [0x58a028], 0x10
mov eax, dword [0x58a014]
jae 0x42c6f8
mov eax, 0x58a014
push ebx
push eax
call fcn.005045ec
add esp, 8
test eax, eax
jne 0x42c715
mov dword [0x58f478], 1
call fcn.00408ab0
lea edx, [esp + 0xb8]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x70]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00404580
call fcn.00418e00
add esp, 0x20
test al, al
je 0x42c898
push 0xa24
call fcn.004a47f3
add esp, 4
cmp eax, ebx
je 0x42c8f0
push eax
call fcn.00405360
mov ebx, eax
test ebx, ebx
je 0x42c8f0
sub esp, 0x40
mov edi, esp
sub esp, 0x1c
mov ecx, 0x10
lea esi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.00404320
sub esp, 0x1c
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00404320
push ebx
call fcn.004078c0
push ebx
call fcn.004061f0
sub esp, 0x1c
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004080d0
mov ecx, ebx
call fcn.00406070
cmp byte [ebx + 0xa1c], 0
jne 0x42c859
lea eax, [esp + 0x10]
push str._SILENT
push eax
call fcn.004083e0
add esp, 8
test al, al
jne 0x42c859
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push pe_nt_image_headers32
push 0x96c80000
push 0x53bdd8
push 0
mov ecx, ebx
call sym.zSignInstall.exe_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 [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c83f
mov edx, dword [ebx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0xa1d], 0
je 0x42c84f
mov esi, ebx
call fcn.004066b0
call sym.zSignInstall.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_
jmp 0x42c8f0
mov edi, str._SilentInstall_start
call fcn.00408b90
push ebx
call fcn.00406300
cmp byte [ebx + 0xa1d], 0
push ebx
je 0x42c87a
call fcn.00406670
jmp 0x42c87f
call fcn.004066f0
push ebx
call fcn.00407e10
mov esi, ebx
call fcn.00408000
mov edi, str._SilentInstall_end
call fcn.00408b90
jmp 0x42c8f0
mov edi, str._Packing_start
call fcn.00408b90
sub esp, 0x1c
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00404320
sub esp, 0x1c
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00404320
lea esi, [esp + 0x130]
call fcn.00412490
mov edi, esi
call fcn.00412680
mov edi, str._Packing_end
call fcn.00408b90
call fcn.00412590
lea ecx, [esp + 0x2c]
call fcn.00404390
lea ecx, [esp + 0x64]
call fcn.00404390
lea ecx, [esp + 0x48]
call fcn.00404390
lea ecx, [esp + 0x80]
call fcn.00401c30
lea ecx, [esp + 0x10]
call fcn.00401c30
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0x10