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

Disassembly:
push 0xffffffffffffffff
push 0x48b950
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4bcb20]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bcb20]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
cmp edi, ebx
jne 0x437dd7
mov dword [esp + 0x1c], 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 0x437c16
xor ebp, ebp
mov dword [esp + 0x14], ebp
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00465ec0
add esp, 0xc
cmp ebx, edi
jb 0x437ae6
call fcn.0046837f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x437bec
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 0x437b12
call fcn.0046837f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp]
push edx
lea eax, [esp + 0x2c]
push str.RES_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0x4994c8
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x437bec
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x437e65
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x437ee4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
test eax, eax
je 0x437f63
push ebp
call fcn.00466382
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00436e80
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00436e80
cmp dword [eax + 4], 0
je 0x437c1e
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00436e80
mov edx, dword [eax + 4]
push edx
call fcn.00465ec0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00436e80
mov ecx, dword [eax + 4]
push ecx
call fcn.00465f40
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00436e80
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x14]
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 + 0x14], ebp
cmp ebx, edi
jb 0x437ac6
mov dword [esp + 0x18], 1
cmp dword [esp + 0x24], 0
je 0x437c34
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x437c34
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x18], 0
jne 0x437db4
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 0x437db4
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
cmp edi, eax
jb 0x437c6f
call fcn.0046837f
mov eax, dword [esi + 0xc]
cmp dword [ebx + eax + 4], 0
je 0x437ca8
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x437c98
call fcn.0046837f
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + edx + 4]
push eax
call fcn.004662a5
add esp, 4
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 0x437cc8
call fcn.0046837f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x437d09
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 0x437cfb
call fcn.0046837f
mov ecx, dword [esi + 0xc]
lea edx, [ebx + ecx + 0xc]
push edx
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 eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x437d29
call fcn.0046837f
mov ecx, dword [esi + 0xc]
push 0x4a1f68
lea edx, [ebx + ecx + 0xc]
push edx
call 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 0x437d58
call fcn.0046837f
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 4], 0
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 0x437d83
call fcn.0046837f
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 8], 0
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 0x437c6f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00466b40
add esp, 0x64
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x437aa3
call fcn.0044bde6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x437e04
push 0x80004005
call fcn.00419900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push edi
lea ecx, [esp + 0x1c]
push str.error_loadlibrary__s_
push ecx
mov dword [esp + 0x80], ebx
call fcn.0041c600
mov esi, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push esi
call fcn.0044d046
lea eax, [esi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437e5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x437db8
call fcn.0044bde6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437e7f
push 0x80004005
call fcn.00419900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_SizeofResource__0
push ecx
mov dword [esp + 0x7c], 1
call fcn.0041c600
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.0044d046
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x437c1e
call fcn.0044bde6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437efe
push 0x80004005
call fcn.00419900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_LoadResource
push ecx
mov dword [esp + 0x7c], 2
call fcn.0041c600
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.0044d046
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x437c1e
call fcn.0044bde6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437f7d
push 0x80004005
call fcn.00419900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.error_LockResource
push ecx
mov dword [esp + 0x7c], 3
call fcn.0041c600
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0
push edi
call fcn.0044d046
lea eax, [edi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x437c1e