Function at 0x439ab0
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4907b0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
cmp edi, ebx
jne 0x439e37
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x439c76
xor ebp, ebp
mov dword [esp + 0x14], ebp
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.0046a930
add esp, 0xc
cmp ebx, edi
jb 0x439b46
call fcn.0046cdef
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x439c4c
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x439b72
call fcn.0046cdef
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp]
push edx
lea eax, [esp + 0x2c]
push str.RES_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0x49e658
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x439c4c
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x439ec5
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x439f44
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x439fc3
push ebp
call fcn.0046adf2
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00438ee0
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00438ee0
cmp dword [eax + 4], 0
je 0x439c7e
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00438ee0
mov edx, dword [eax + 4]
push edx
call fcn.0046a930
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00438ee0
mov ecx, dword [eax + 4]
push ecx
call fcn.0046a9b0
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00438ee0
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
inc ebx
add ebp, 0x216
add edi, edx
mov dword [esp + 0x14], ebp
cmp ebx, edi
jb 0x439b26
mov dword [esp + 0x18], 1
cmp dword [esp + 0x24], 0
je 0x439c94
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x439c94
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x18], 0
jne 0x439e14
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x439e14
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
cmp edi, eax
jb 0x439ccf
call fcn.0046cdef
mov eax, dword [esi + 0xc]
cmp dword [ebx + eax + 4], 0
je 0x439d08
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x439cf8
call fcn.0046cdef
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + edx + 4]
push eax
call fcn.0046ad15
add esp, 4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x439d28
call fcn.0046cdef
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x439d69
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x439d5b
call fcn.0046cdef
mov ecx, dword [esi + 0xc]
lea edx, [ebx + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x439d89
call fcn.0046cdef
mov ecx, dword [esi + 0xc]
push 0x4a70f8
lea edx, [ebx + ecx + 0xc]
push edx
call ebp
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x439db8
call fcn.0046cdef
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 4], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x439de3
call fcn.0046cdef
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 8], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x216
cmp edi, eax
jb 0x439ccf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x64
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x439b03
call fcn.00450992
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x439e64
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push edi
lea ecx, [esp + 0x1c]
push str.error_loadlibrary__s_
push ecx
mov dword [esp + 0x80], ebx
call fcn.0041c5f0
mov esi, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push esi
call fcn.00451bdf
lea eax, [esi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x439e18
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x439edf
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_SizeofResource__0
push ecx
mov dword [esp + 0x7c], 1
call fcn.0041c5f0
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.00451bdf
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x439c7e
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x439f5e
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_LoadResource
push ecx
mov dword [esp + 0x7c], 2
call fcn.0041c5f0
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.00451bdf
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x439c7e
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x439fdd
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_LockResource
push ecx
mov dword [esp + 0x7c], 3
call fcn.0041c5f0
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.00451bdf
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x439c7e