Function at 0x434a30
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 0x434be5
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 0x434bdb
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.004660d0
add esp, 0xc
cmp ebx, edi
jb 0x434aa3
call fcn.0046858f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x434bad
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 0x434acf
call fcn.0046858f
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 0x496838
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x434bad
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x434c0c
mov ecx, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434c0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x434c0c
push ebp
call fcn.00466592
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00434930
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00434930
cmp dword [eax + 4], 0
je 0x434c0c
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00434930
mov edx, dword [eax + 4]
push edx
call fcn.004660d0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00434930
mov ecx, dword [eax + 4]
push ecx
call fcn.00466150
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00434930
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 0x434a83
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
jmp 0x434c10
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x434a5f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00466d50
add esp, 0x58
ret
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x434c23
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434c23
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x434d9a
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 0x434d9a
xor ebx, ebx
cmp edi, eax
jb 0x434c58
call fcn.0046858f
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x434c92
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 0x434c82
call fcn.0046858f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.004664b5
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 0x434cb2
call fcn.0046858f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x434cf3
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 0x434ce5
call fcn.0046858f
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 0x434d13
call fcn.0046858f
mov edx, dword [esi + 0xc]
push 0x49f150
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 0x434d46
call fcn.0046858f
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 0x434d6d
call fcn.0046858f
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 0x434c58
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466d50
add esp, 0x58
ret