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

Disassembly:
push 0xffffffffffffffff
push 0x485fe6
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebx
cmp ebp, ebx
je 0x42fff4
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42ff10
sub eax, edx
sar eax, 1
je 0x42fff4
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x42fff8
call fcn.0044602e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42ff52
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ebp
lea ecx, [esp + 0x18]
push str.error_loadlibrary__s_
push ecx
mov dword [esp + 0x104], ebx
call fcn.004135e0
mov esi, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push esi
call fcn.0044729d
push 3
lea edx, [esp + 0x30]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00417850
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xfc], 1
call fcn.00424900
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x42ffc6
push eax
call fcn.004603e5
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0xf8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ffed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x430332
mov dword [esp + 0x18], 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 0x430180
xor ebp, ebp
mov dword [esp + 0x24], ebp
jmp 0x430020
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0xb6]
push edx
mov word [esp + 0xb8], cx
call fcn.00460000
add esp, 0xc
cmp ebx, edi
jb 0x430046
call fcn.004624bf
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x430152
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 0x430072
call fcn.004624bf
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp]
push edx
lea eax, [esp + 0xb0]
push str.RES_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x493728
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x430152
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x43018a
mov ecx, dword [esp + 0x18]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43018a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43018a
push ebp
call fcn.004604c2
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.0042ed10
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.0042ed10
cmp dword [eax + 4], 0
je 0x43018a
push ebp
push 0
push ebx
mov ecx, esi
call fcn.0042ed10
mov edx, dword [eax + 4]
push edx
call fcn.00460000
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.0042ed10
mov ecx, dword [eax + 4]
push ecx
call fcn.00460080
add esp, 0xc
push ebx
mov ecx, esi
call fcn.0042ed10
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x24]
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 + 0x24], ebp
cmp ebx, edi
jb 0x430020
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], 1
jmp 0x43018e
mov ebp, dword [esp + 0x20]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430193
sub eax, edx
sar eax, 1
je 0x4301b7
test ebp, ebp
je 0x4301b7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4301b7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x43032e
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 0x43032e
xor ebx, ebx
cmp edi, eax
jb 0x4301ec
call fcn.004624bf
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x430226
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 edi, eax
jb 0x430216
call fcn.004624bf
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + ecx + 4]
push edx
call fcn.004603e5
add esp, 4
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 0x430246
call fcn.004624bf
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x430287
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 0x430279
call fcn.004624bf
mov edx, dword [esi + 0xc]
lea eax, [ebx + edx + 0xc]
push eax
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 ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4302a7
call fcn.004624bf
mov edx, dword [esi + 0xc]
push 0x49c0a0
lea eax, [ebx + edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
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 0x4302da
call fcn.004624bf
mov edx, dword [esi + 0xc]
mov dword [ebx + edx + 4], 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 0x430301
call fcn.004624bf
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 8], 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
inc edi
add eax, edx
add ebx, 0x216
cmp edi, eax
jb 0x4301ec
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00460c80
add esp, 0xe8
ret