Function at 0x4a0200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cf56
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x440
mov eax, dword [0x595be0]
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 - 0x444], ecx
call fcn.004277f0
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x438]
call fcn.004010a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x444]
push eax
lea ecx, [ebp - 0x450]
call fcn.004a0a20
lea ecx, [ebp - 0x418]
call fcn.004010a0
mov byte [ebp - 4], 1
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00429a60
add esp, 8
mov dword [ebp - 0x434], eax
push 0x60
push 0
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x4a02c4
push 2
push 0
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x4a02dd
call fcn.00458e80
mov dword [ebp - 0x420], eax
jmp 0x4a045c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4a0311
call fcn.00458e80
mov dword [ebp - 0x420], eax
jmp 0x4a045c
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x4a0344
call fcn.00458e80
mov dword [ebp - 0x420], eax
jmp 0x4a045c
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x424], eax
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x424]
add eax, 1
cmp eax, dword [ebp - 0x424]
jae 0x4a038a
mov dword [ebp - 0x420], 0x8007000e
jmp 0x4a045c
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x424]
add ecx, 1
push ecx
lea ecx, [ebp - 0x418]
call fcn.004ac1b0
jmp 0x4a03ab
mov dword [ebp - 4], 1
jmp 0x4a03bb
lea ecx, [ebp - 0x418]
call fcn.00402a70
test eax, eax
jne 0x4a03d9
mov dword [ebp - 0x420], 0x8007000e
jmp 0x4a045c
mov edx, dword [ebp - 0x424]
push edx
lea ecx, [ebp - 0x418]
call fcn.00402a70
push eax
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
push 0
call fcn.004277f0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x4a0424
call fcn.00458e80
mov dword [ebp - 0x420], eax
jmp 0x4a045c
lea ecx, [ebp - 0x418]
call fcn.00402a70
xor edx, edx
mov ecx, dword [ebp - 0x42c]
mov word [eax + ecx*2], dx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x418]
call fcn.00402a70
push eax
lea ecx, [ebp - 0x450]
call fcn.004a1920
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x41c], 0
je 0x4a0472
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x43c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x418]
call fcn.004ac190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00464ae0
mov eax, dword [ebp - 0x43c]
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.004fdc6a
mov esp, ebp
pop ebp
ret 0x10