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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4704e1
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x138], ecx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004040d0
test eax, eax
je 0x403db5
mov esi, 1
jmp 0x404044
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4881d4
push 0x70
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40403f
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x40403f
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40403f
mov esi, dword [ebp - 0x134]
inc esi
push esi
call fcn.00444962
push esi
mov edi, eax
push 0
push edi
call fcn.0044b130
mov esi, dword [ebp - 0x134]
push esi
push ebx
push edi
call fcn.0044b510
add esp, 0x1c
mov byte [edi + esi], 0
mov dword [ebp - 0x154], edi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmovae edx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, edx
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.00407ef0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x38]
call fcn.0044657a
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x403ef3
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403ee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b0
push edx
push ecx
call fcn.00444954
add esp, 8
xor eax, eax
mov dword [ebp - 0x140], 0
mov word [ebp - 0x150], ax
lea ecx, [ebp - 0x130]
push 0x497650
lea eax, [ebp - 0x38]
mov dword [ebp - 0x13c], 7
push eax
call fcn.00446357
mov esi, dword [ebp - 0x138]
add esi, 0x38
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x403f3b
mov eax, dword [esi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [esi + 0x14], 8
jb 0x403f4c
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x140], 0
xor eax, eax
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403f70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x150]
call fcn.00407ef0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
push eax
push edi
call fcn.00446490
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x403fea
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403fe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b5
push edx
push ecx
call fcn.00444954
add esp, 8
lea ecx, [ebp - 0x130]
xor esi, esi
call fcn.00445acb
lea ecx, [ebp - 0x38]
call fcn.0044669a
jmp 0x404030
test edi, edi
je 0x404044
push edi
call fcn.0044421a
add esp, 4
jmp 0x404044
mov esi, 2
cmp dword [ebp - 0x1c], 0
je 0x40405c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x404092
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040ba
push edx
push ecx
call fcn.00444954
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret
call fcn.004538a3
call fcn.004538a3
call fcn.004538a3
int3