Function at 0x421980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3312
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x68da90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1c], edi
mov esi, ecx
push str.silent0
push 0x65500c
push 0x655018
call fcn.0049eb60
add esp, 0xc
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push esi
call fcn.00404020
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x4219f4
push 0x80070057
call fcn.00404200
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x421a11
push esi
lea ecx, [ebp - 0x14]
call fcn.00403e10
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.005d462d
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4219ea
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
jl 0x421a8f
push str._slgo
push eax
call fcn.005c1484
add esp, 8
test eax, eax
je 0x421a8f
sub eax, dword [ebp - 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x421a8f
push 1
call fcn.0041f720
mov ecx, eax
call fcn.00474490
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421b97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421b97
push 0x83e
push 0x9c
push dword [0x69bf04]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x421b24
push ebx
push dword [0x69bf04]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x421b24
push ebx
push dword [0x69bf04]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call fcn.005c20e0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x658bf4
call fcn.00404020
mov byte [ebp - 4], 1
call fcn.0044c4a0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0044c500
mov edi, dword [ebp - 0x1c]
mov eax, dword [0x6ad2fc]
test eax, eax
jne 0x421b63
push pe_nt_image_headers32
call fcn.005a8f62
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push pe_nt_image_headers32
push 0
push esi
mov byte [ebp - 4], 2
call fcn.005c1b40
add esp, 0xc
mov ecx, esi
call fcn.00424e70
mov byte [ebp - 4], 0
mov dword [0x6ad2fc], eax
mov ecx, eax
call fcn.00425280
mov ecx, edi
call fcn.00422240
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x421b95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x10]
xor ecx, ebp
call fcn.005a8a55
mov esp, ebp
pop ebp
ret