Function at 0x411720
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454934
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x46c99c]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x394], ecx
lea ecx, [ebp - 0x358]
call fcn.004072b0
mov dword [ebp - 4], 0
push 0xa
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0
jne 0x4117a5
mov dword [ebp - 0x370], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.004066f0
mov eax, dword [ebp - 0x370]
jmp 0x411c06
mov eax, dword [ebp - 0x36c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x36c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp - 0x20]
push edx
call fcn.0041e4d6
add esp, 4
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x354], 1
mov ecx, dword [ebp - 0x354]
cmp ecx, dword [ebp - 0x20]
jge 0x411863
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x354]
mov cl, byte [eax - 1]
mov byte [edx], cl
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x354]
mov cl, byte [eax]
mov byte [edx - 1], cl
mov edx, dword [ebp - 0x354]
add edx, 2
mov dword [ebp - 0x354], edx
jmp 0x411819
mov eax, dword [ebp - 0x20]
and eax, 0x80000001
jns 0x411872
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x411889
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x20]
mov al, byte [edx - 1]
mov byte [ecx - 1], al
lea ecx, [ebp - 0x34c]
push ecx
lea ecx, [ebp - 0x358]
call fcn.00404c50
push str.HDLSBIN.ZIP
lea ecx, [ebp - 0x358]
call fcn.00419490
push 0x1001
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
lea ecx, [ebp - 0x368]
call fcn.0042d405
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x368]
call fcn.0042caca
lea ecx, [ebp - 0x368]
call fcn.0042cd2e
push 0
lea ecx, [ebp - 0x244]
call fcn.004199e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
lea ecx, [ebp - 0x244]
call fcn.00419bf0
test eax, eax
jne 0x4119c9
mov ecx, dword [ebp - 0x394]
mov byte [ecx + 0xba4], 1
push 0x25
push ecx
mov ecx, esp
mov dword [ebp - 0x378], esp
push str.Error_on_opening_zipped_F_W___
call fcn.00404bd0
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x394]
add ecx, 0x878
call fcn.00406580
mov edx, dword [ebp - 0x394]
movzx eax, byte [edx + 0x1178]
and eax, 1
jne 0x411984
mov ecx, dword [ebp - 0x394]
add ecx, 0x878
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x878]
mov edx, dword [eax + 0x14c]
call edx
mov dword [ebp - 0x37c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00419a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.0042cead
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.004066f0
mov eax, dword [ebp - 0x37c]
jmp 0x411c06
push 0
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00419b20
test eax, eax
jne 0x411aa7
mov ecx, dword [ebp - 0x394]
mov byte [ecx + 0xba4], 1
push 0x25
push ecx
mov ecx, esp
mov dword [ebp - 0x380], esp
push str.Error_on_extracting_zipped_F_W___
call fcn.00404bd0
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x394]
add ecx, 0x878
call fcn.00406580
mov edx, dword [ebp - 0x394]
movzx eax, byte [edx + 0x1178]
and eax, 1
jne 0x411a50
mov ecx, dword [ebp - 0x394]
add ecx, 0x878
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x878]
mov edx, dword [eax + 0x14c]
call edx
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x384], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00419a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.0042cead
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.004066f0
mov eax, dword [ebp - 0x384]
jmp 0x411c06
lea ecx, [ebp - 0x244]
call fcn.00419ab0
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x244]
call fcn.0041a720
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x358]
call fcn.00407a20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x388]
call fcn.004066f0
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x394]
add ecx, 0x35c
call fcn.004259be
push 0
mov ecx, dword [ebp - 0x394]
add ecx, 0x2e4
call fcn.004259be
push ecx
mov ecx, esp
mov dword [ebp - 0x38c], esp
lea eax, [ebp - 0x358]
push eax
call fcn.004066d0
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.0040f340
push 1
mov ecx, dword [ebp - 0x394]
add ecx, 0x35c
call fcn.004259be
push 1
mov ecx, dword [ebp - 0x394]
add ecx, 0x2e4
call fcn.004259be
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x358]
call fcn.004051a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x390], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00419a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.0042cead
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.004066f0
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0043d4c7
mov esp, ebp
pop ebp
ret