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

Disassembly:
sub esp, 0x58
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
mov ebp, dword [esp + 0x64]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
cmp ebp, ebx
jne 0x434b85
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
push edi
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x434b7b
xor ebp, ebp
mov dword [esp + 0x18], ebp
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.004661f0
add esp, 0xc
cmp ebx, edi
jb 0x434a43
call fcn.004686af
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x434b4d
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 0x434a6f
call fcn.004686af
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp]
push edx
lea eax, [esp + 0x28]
push str.RES_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0x496860
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x434b4d
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x434bac
mov ecx, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434bac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x434bac
push ebp
call fcn.004666b2
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.004348d0
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.004348d0
cmp dword [eax + 4], 0
je 0x434bac
push ebp
push 0
push ebx
mov ecx, esi
call fcn.004348d0
mov edx, dword [eax + 4]
push edx
call fcn.004661f0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.004348d0
mov ecx, dword [eax + 4]
push ecx
call fcn.00466270
add esp, 0xc
push ebx
mov ecx, esi
call fcn.004348d0
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x18]
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 + 0x18], ebp
cmp ebx, edi
jb 0x434a23
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
jmp 0x434bb0
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x4349ff
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00466e70
add esp, 0x58
ret
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x434bc3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434bc3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x434d3a
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 0x434d3a
xor ebx, ebx
cmp edi, eax
jb 0x434bf8
call fcn.004686af
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x434c32
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 0x434c22
call fcn.004686af
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.004665d5
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 0x434c52
call fcn.004686af
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x434c93
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 0x434c85
call fcn.004686af
mov edx, dword [esi + 0xc]
lea eax, [edx + ebx + 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 0x434cb3
call fcn.004686af
mov edx, dword [esi + 0xc]
push 0x49f170
lea eax, [edx + ebx + 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 0x434ce6
call fcn.004686af
mov edx, dword [esi + 0xc]
mov dword [edx + ebx + 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 0x434d0d
call fcn.004686af
mov ecx, dword [esi + 0xc]
mov dword [ecx + ebx + 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 0x434bf8
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466e70
add esp, 0x58
ret