Function at 0x47f370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, reloc.USER32.dll_RegisterClassExW
call fcn.004c5440
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x4d9540]
push ebp
push esi
mov esi, dword [0x4ee0bc]
mov dword [esp + 0x6b824], eax
mov dword [esp + 0x6b828], eax
mov dword [esp + 0xd7054], eax
mov dword [esp + 0xd7058], eax
mov eax, dword [esp + reloc.USER32.dll_LoadCursorW]
push edi
push 0x4dde20
xor ebx, ebx
mov ecx, 0x4d44fc
lea edx, [esp + 0x6b85c]
push eax
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6b840], ebx
mov dword [esp + 0x6b844], ebx
mov dword [esp + 0x6b854], ebx
mov dword [esp + 0x6b858], ebx
mov dword [esp + 0x6b85c], ebx
mov dword [esp + 0x6b860], edx
mov dword [esp + 0x6b850], ecx
mov dword [esp + 0xd7070], ebx
mov dword [esp + LoadCursorW], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
push edi
push esi
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x6b858]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x6b850], eax
mov eax, dword [0x4dda7c]
push eax
mov dword [esp + 0x24], 0x6b800
call fcn.00468980
mov ecx, dword [0x4dda78]
push ebx
lea edx, [esp + 0x6b848]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0046a520
call fcn.00468960
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x18]
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
sub eax, ecx
lea eax, [eax + edx - 0x14]
lea eax, [esp + eax + 0x14]
mov byte [eax + 0x14], bl
mov byte [eax + 0x15], bl
lea eax, [esp + 0x2c]
test eax, eax
je 0x47f4ca
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [esp + reloc.USER32.dll_LoadCursorW]
lea edx, [esp + 0x2c]
push edx
push eax
mov ecx, ebp
call fcn.00401630
mov esi, dword [ebp]
cmp dword [esi - 0xc], 1
jle 0x47f515
mov ecx, ebp
call fcn.0040e950
mov eax, dword [esi - 8]
mov ecx, ebp
push eax
call fcn.004012f0
test eax, eax
je 0x47f515
mov ecx, dword [esi - 8]
mov edi, dword [ebp]
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov word [edx + eax*2], bx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0xd705c]
mov edx, dword [0x4d9544]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47f56e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x47f56e
mov edx, dword [esp + 0xd705c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea ecx, [esp + 0xd7058]
call fcn.004014c0
lea ecx, [esp + 0x6b82c]
call fcn.004014c0
lea ecx, [esp + 0x6b828]
call fcn.004014c0
mov eax, dword [esp + 0xd707c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47f5b9
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x47f5b9
push esi
call fcn.004c5432
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, reloc.USER32.dll_RegisterClassExW
ret