Function at 0x430730
Capabilities:
Extract resource via kernel32 functions
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c42c
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 1
push 0x5470c8
push str.IDR_QYZIP
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2c], eax
push 0x5470e4
push str.IDR_7ZDLL
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x43079b
cmp dword [ebp - 0x30], 0
jne 0x4307c2
mov byte [ebp - 0x16], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x16]
jmp 0x430bbf
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4307fe
mov byte [ebp - 0x17], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x17]
jmp 0x430bbf
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x430842
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x18]
jmp 0x430bbf
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x15], 1
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp + 8]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x430982
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x430905
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.0040c7f0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
push edx
push str.__install_resource_path_WriteFile_suc_number_is
lea eax, [ebp - 0x90]
push eax
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x90]
call fcn.00407e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00407e30
jmp 0x430976
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.0040c7f0
add esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
push ecx
push 0x547168
lea edx, [ebp - 0xc0]
push edx
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc0]
call fcn.00407e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.00407e30
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43098f
mov byte [ebp - 0x15], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x4309be
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x19]
jmp 0x430bbf
mov edx, dword [ebp - 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4309fa
mov byte [ebp - 0x1a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x1a]
jmp 0x430bbf
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x430a3e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 0x1b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x1b]
jmp 0x430bbf
mov edx, dword [ebp - 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp + 0x20]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x430b7a
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x430afd
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0040c7f0
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
push ecx
push 0x5471c0
lea edx, [ebp - 0xf0]
push edx
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xf0]
call fcn.00407e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.00407e30
jmp 0x430b6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040c7f0
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x70]
push eax
push 0x547220
lea ecx, [ebp - 0x120]
push ecx
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x120]
call fcn.00407e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00407e30
mov byte [ebp - 0x15], 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x430b87
mov byte [ebp - 0x15], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x1c], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407e30
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4e68
mov esp, ebp
pop ebp
ret 0x30