Function at 0x47b4c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.0067ff20
mov dword [esi + 0x72], 0x6dc448
mov dword [esi], 0x6de108
mov dword [esi + 0x72], 0x6de128
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x7e], eax
xor ebx, ebx
mov byte [esi + 0x86], bl
mov byte [esi + 0x87], bl
mov byte [esi + 0x88], bl
mov dword [esi + 0x89], ebx
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x76], ecx
mov edx, dword [esp + 0xb0]
mov dword [esi + 0x7a], edx
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x82], ecx
lea ebp, [esi + 0xf1]
mov eax, 5
mov dword [esi + 0x8d], eax
mov dword [esi + 0x91], eax
mov eax, 2
mov dword [esi + 0x95], eax
mov dword [esi + 0x99], eax
mov dword [esi + 0x9d], ebx
mov edi, 1
mov dword [esi + 0xad], edi
mov dword [esi + 0xb1], edi
mov dword [esi + 0xa1], 0xffffffff
mov dword [esi + 0xa5], ebx
mov dword [esi + 0xa9], ebx
mov dword [esi + 0xbd], ebx
mov dword [esi + 0xb5], ebx
mov dword [esi + 0xb9], ebx
mov dword [esi + 0xc1], ebx
mov dword [esi + 0xc5], ebx
mov dword [esi + 0xd9], ebx
mov dword [esi + 0xc9], ebx
mov dword [esi + 0xcd], ebx
mov dword [esi + 0xd1], ebx
mov dword [esi + 0xd5], ebx
mov dword [esi + 0xdd], ebx
mov dword [esi + 0xe1], ebx
mov dword [esi + 0xe5], ebx
mov dword [esi + 0xe9], ebx
mov dword [esi + 0xed], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
lea edx, [esi + 0x141]
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
push edx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x159], ebx
call fcn.004c1f10
mov dword [esi + 0x15d], eax
mov eax, dword [esp + 0xb4]
lea ecx, [eax + 0x121]
mov dword [esi + 0x161], ecx
push 0xa
push 0x8a0
mov dword [esi + 0x165], eax
push ebx
mov dword [esi + 0x169], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x47b71b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x14]
push edx
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
lea ecx, [esp + 0x5c]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.004cf0e0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea edi, [ebx + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004d4360
mov eax, dword [esp + 0x18]
cmp eax, 8
jl 0x47b77a
cmp eax, 0xa
jle 0x47b79c
cmp eax, 0xc
ja 0x47b786
call fcn.004981b0
jmp 0x47b788
xor eax, eax
mov edx, dword [esp + 0x1c]
imul edx, eax
shr edx, 3
add edx, 3
and edx, 0xfffffffc
mov dword [esp + 0x34], edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
mov edi, ebp
call fcn.004d0d70
lea edx, [esp + 0x58]
mov ecx, ebp
call fcn.004d6980
mov ecx, dword [esi + 0x7a]
mov eax, dword [esi + 0x76]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x72]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x58]
call fcn.004d0c50
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x14