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

Disassembly:
sub esp, 0x58
mov eax, dword [0x4bcb20]
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 0x436db5
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 0x436dab
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.004683b0
add esp, 0xc
cmp ebx, edi
jb 0x436c73
call fcn.0046a86f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x436d7d
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 0x436c9f
call fcn.0046a86f
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 0x499068
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x436d7d
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x436ddc
mov ecx, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x436ddc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x436ddc
push ebp
call fcn.00468872
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00436b00
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00436b00
cmp dword [eax + 4], 0
je 0x436ddc
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00436b00
mov edx, dword [eax + 4]
push edx
call fcn.004683b0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00436b00
mov ecx, dword [eax + 4]
push ecx
call fcn.00468430
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00436b00
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 0x436c53
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
jmp 0x436de0
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x436c2f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00469030
add esp, 0x58
ret
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x436df3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x436df3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x436f6a
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 0x436f6a
xor ebx, ebx
cmp edi, eax
jb 0x436e28
call fcn.0046a86f
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x436e62
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 0x436e52
call fcn.0046a86f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.00468795
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 0x436e82
call fcn.0046a86f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x436ec3
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 0x436eb5
call fcn.0046a86f
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 0x436ee3
call fcn.0046a86f
mov edx, dword [esi + 0xc]
push 0x4a19f8
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 0x436f16
call fcn.0046a86f
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 0x436f3d
call fcn.0046a86f
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 0x436e28
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00469030
add esp, 0x58
ret