Function at 0x4b4500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e17
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5073a8]
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 ebx, edx
mov dword [ebp - 0x338], ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4dff10
push 0x67
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4b4819
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b4819
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov dword [ebp - 0x334], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [ebp - 0x334]
mov esi, eax
test edi, edi
je 0x4b4819
test esi, esi
je 0x4b4819
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b45b0
sub ecx, edx
sar ecx, 1
je 0x4b4819
mov ecx, ebx
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b45e7
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x238]
call fcn.00401b40
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x344]
call fcn.0044abad
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x4b465d
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4653
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4837
push edx
push ecx
call fcn.00470099
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x330]
push 0x50a2dc
lea eax, [ebp - 0x344]
mov dword [ebp - 0x224], 7
push eax
call fcn.0044a5b4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
push 6
xor eax, eax
mov dword [ebp - 0x228], 0
push str.hudwls
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00401b40
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x330]
call fcn.0044b044
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x4b471e
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4714
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b483c
push edx
push ecx
call fcn.00470099
add esp, 8
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004722a0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp - 0x338]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4780
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00401b40
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 6
push eax
push esi
push edi
lea ecx, [ebp - 0x330]
call fcn.0044a7b7
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x4b47f6
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b47ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4841
push edx
push ecx
call fcn.00470099
add esp, 8
lea ecx, [ebp - 0x330]
call fcn.004497e8
lea ecx, [ebp - 0x344]
call fcn.0044accf
mov eax, 1
jmp 0x4b481b
xor eax, eax
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.00470058
mov esp, ebp
pop ebp
ret
call fcn.00486a56
call fcn.00486a56
call fcn.00486a56
int3