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

Disassembly:
push 0xffffffffffffffff
push 0x4863a6
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
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 0x430304
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x430220
sub eax, edx
sar eax, 1
je 0x430304
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x430308
call fcn.004462c7
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x430262
push 0x80004005
call fcn.00410860
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.00413570
mov esi, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push esi
call fcn.00447536
push 3
lea edx, [esp + 0x30]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00417830
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xfc], 1
call fcn.00424af0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x4302d6
push eax
call fcn.00460675
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 0x4302fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x430642
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 0x430490
xor ebp, ebp
mov dword [esp + 0x24], ebp
jmp 0x430330
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0xb6]
push edx
mov word [esp + 0xb8], cx
call fcn.00460290
add esp, 0xc
cmp ebx, edi
jb 0x430356
call fcn.0046274f
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0x64
je 0x430462
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 0x430382
call fcn.0046274f
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 0x4937a0
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x430462
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x43049a
mov ecx, dword [esp + 0x18]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43049a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43049a
push ebp
call fcn.00460752
add esp, 4
push ebx
mov ecx, esi
mov edi, eax
call fcn.0042f020
push ebx
mov ecx, esi
mov dword [eax + 4], edi
call fcn.0042f020
cmp dword [eax + 4], 0
je 0x43049a
push ebp
push 0
push ebx
mov ecx, esi
call fcn.0042f020
mov edx, dword [eax + 4]
push edx
call fcn.00460290
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebp
push eax
push ebx
mov ecx, esi
call fcn.0042f020
mov ecx, dword [eax + 4]
push ecx
call fcn.00460310
add esp, 0xc
push ebx
mov ecx, esi
call fcn.0042f020
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 0x430330
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], 1
jmp 0x43049e
mov ebp, dword [esp + 0x20]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4304a3
sub eax, edx
sar eax, 1
je 0x4304c7
test ebp, ebp
je 0x4304c7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4304c7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
jne 0x43063e
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 0x43063e
xor ebx, ebx
cmp edi, eax
jb 0x4304fc
call fcn.0046274f
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp dword [ebx + eax + 4], ebp
je 0x430536
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 0x430526
call fcn.0046274f
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + ecx + 4]
push edx
call fcn.00460675
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 0x430556
call fcn.0046274f
mov eax, dword [esi + 0xc]
add eax, ebx
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x430597
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 0x430589
call fcn.0046274f
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 0x4305b7
call fcn.0046274f
mov edx, dword [esi + 0xc]
push 0x49c110
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 0x4305ea
call fcn.0046274f
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 0x430611
call fcn.0046274f
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 0x4304fc
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.00460f10
add esp, 0xe8
ret