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

Disassembly:
sub esp, 0x58
mov eax, dword [0x4b9b30]
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 0x434fd5
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 0x434fcb
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.00466350
add esp, 0xc
cmp ebx, edi
jb 0x434e93
call fcn.0046889f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x434f9d
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 0x434ebf
call fcn.0046889f
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 0x4977c8
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x434f9d
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x434ffc
mov ecx, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434ffc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x434ffc
push ebp
call fcn.00466812
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00434d20
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00434d20
cmp dword [eax + 4], 0
je 0x434ffc
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00434d20
mov edx, dword [eax + 4]
push edx
call fcn.00466350
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00434d20
mov ecx, dword [eax + 4]
push ecx
call fcn.004663d0
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00434d20
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 0x434e73
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
jmp 0x435000
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x434e4f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00466fd0
add esp, 0x58
ret
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x435013
mov eax, dword [esp + 0x10]
test eax, eax
je 0x435013
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x43518a
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 0x43518a
xor ebx, ebx
cmp edi, eax
jb 0x435048
call fcn.0046889f
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x435082
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 0x435072
call fcn.0046889f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.00466735
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 0x4350a2
call fcn.0046889f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4350e3
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 0x4350d5
call fcn.0046889f
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 0x435103
call fcn.0046889f
mov edx, dword [esi + 0xc]
push 0x49feb0
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 0x435136
call fcn.0046889f
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 0x43515d
call fcn.0046889f
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 0x435048
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466fd0
add esp, 0x58
ret