Function at 0x4613f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [0x5ec024]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x461438
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x2f8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x461454
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x461480
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x2f8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp dword [ebp - 4], 0
jne 0x461480
xor eax, eax
jmp 0x4615ea
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4614a4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
push 0x68
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
call fcn.004bded0
add esp, 0xc
push 0x58891c
call fcn.004b6470
add esp, 4
push eax
push str.VspLanguagePack
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
call fcn.004c08ac
add esp, 0xc
test eax, eax
je 0x4614e6
xor eax, eax
jmp 0x4615ea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 0xc]
add eax, 0x68
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.00461700
mov dword [ebp - 8], 0
jmp 0x461515
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x68]
jae 0x4615df
push 8
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 8]
lea edx, [eax + ecx*8]
push edx
call fcn.004bded0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*8]
add ecx, 1
push ecx
call fcn.004bd4bb
add esp, 4
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6c]
mov edx, dword [ebp - 8]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*8 + 4]
push ecx
call fcn.004b6500
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*8 + 4]
push ecx
call fcn.004bded0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edx, dword [eax + ecx*8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00461690
jmp 0x46150c
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 8