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

Disassembly:
push 0xffffffffffffffff
push 0x489cf6
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebx
cmp ebp, ebx
je 0x433554
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433470
sub eax, edx
sar eax, 1
je 0x433554
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x433558
call fcn.00449852
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4334b2
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ebp
lea ecx, [esp + 0x18]
push str.error_loadlibrary__s_
push ecx
mov dword [esp + 0x104], ebx
call fcn.004135e0
mov esi, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push esi
call fcn.0044aa9f
push 3
lea edx, [esp + 0x30]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.004170e0
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xfc], 1
call fcn.00427230
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x433526
push eax
call fcn.00463c35
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0xf8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43354d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x433892
mov dword [esp + 0x18], 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 0x4336e0
xor ebp, ebp
mov dword [esp + 0x24], ebp
jmp 0x433580
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0xb6]
push edx
mov word [esp + 0xb8], cx
call fcn.00463850
add esp, 0xc
cmp ebx, edi
jb 0x4335a6
call fcn.00465d0f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x4336b2
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 0x4335d2
call fcn.00465d0f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp]
push edx
lea eax, [esp + 0xb0]
push str.RES_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x24]
add esp, 0xc
push str.DATA
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4336b2
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x4336ea
mov ecx, dword [esp + 0x18]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4336ea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4336ea
push ebp
call fcn.00463d12
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.00432270
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.00432270
cmp dword [eax + 4], 0
je 0x4336ea
push ebp
push 0
push ebx
mov ecx, esi
call fcn.00432270
mov edx, dword [eax + 4]
push edx
call fcn.00463850
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.00432270
mov ecx, dword [eax + 4]
push ecx
call fcn.004638d0
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00432270
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x24]
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 + 0x24], ebp
cmp ebx, edi
jb 0x433580
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], 1
jmp 0x4336ee
mov ebp, dword [esp + 0x20]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4336f3
sub eax, edx
sar eax, 1
je 0x433717
test ebp, ebp
je 0x433717
mov eax, dword [esp + 0x18]
test eax, eax
je 0x433717
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x43388e
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 0x43388e
xor ebx, ebx
cmp edi, eax
jb 0x43374c
call fcn.00465d0f
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x433786
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 0x433776
call fcn.00465d0f
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + ecx + 4]
push edx
call fcn.00463c35
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 0x4337a6
call fcn.00465d0f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4337e7
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 0x4337d9
call fcn.00465d0f
mov edx, dword [esi + 0xc]
lea eax, [ebx + edx + 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 0x433807
call fcn.00465d0f
mov edx, dword [esi + 0xc]
push 0x4a24b0
lea eax, [ebx + edx + 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 0x43383a
call fcn.00465d0f
mov edx, dword [esi + 0xc]
mov dword [ebx + edx + 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 0x433861
call fcn.00465d0f
mov ecx, dword [esi + 0xc]
mov dword [ebx + ecx + 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 0x43374c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004644d0
add esp, 0xe8
ret