Function at 0x46b197
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc8
mov eax, 0x4e42ab
call fcn.004bf1fc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov edi, ecx
push 0x28
mov dword [ebp - 0x74], edi
mov esi, edx
mov dword [ebp - 0x78], eax
call fcn.004b6eb3
pop ecx
mov dword [ebp - 0x7c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x46b1db
push eax
call fcn.00445a5b
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x68]
mov dword [edi], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
dec eax
mov dword [edi + 4], esi
mov dword [edi + 0xc], ecx
je 0x46b2a4
dec eax
je 0x46b277
dec eax
jne 0x46b21d
push ecx
push esi
call fcn.0046da32
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
mov dword [ebp - 0x68], esi
jne 0x46b230
test ebx, ebx
je 0x46b229
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
xor eax, eax
jmp 0x46b479
push esi
push ecx
call fcn.0046da32
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x46b258
test ebx, ebx
je 0x46b24f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46b229
mov esi, dword [ebx]
push eax
add esi, 8
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, ebx
call dword [esi]
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46b2f7
mov edx, esi
lea eax, [ebp - 0xb4]
call fcn.004074b0
mov dword [ebp - 4], 4
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xb4]
call fcn.00401650
jmp 0x46b2f7
mov edx, esi
lea eax, [ebp - 0x98]
call fcn.004074b0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 1
call fcn.00442c8d
pop ecx
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00401650
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x46b2e3
lea eax, [ebp - 0x60]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00407480
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
test eax, eax
mov dword [ebp - 0x68], eax
je 0x46b221
cmp dword [ebp - 0x70], 0
je 0x46b45e
mov edx, dword [ebx]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov esi, str.Root
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.00408e20
test al, al
je 0x46b452
xor ecx, ecx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.00401870
push dword [ebp - 0x68]
mov byte [ebp - 4], 6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x46b419
push dword [ebp - 0x68]
mov eax, dword [ebx]
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401690
lea esi, [ebp - 0xb4]
mov byte [ebp - 4], 6
call fcn.00401650
mov esi, 0x4f5780
lea ecx, [ebp - 0x2c]
call fcn.00408e20
test al, al
je 0x46b40f
mov edx, 0x4ec9f0
lea eax, [ebp - 0x98]
call fcn.004074b0
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push dword [ebp - 0x68]
mov byte [ebp - 4], 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3c]
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00401650
mov edi, dword [ebp - 0x70]
lea eax, [ebp - 0xd0]
push eax
call fcn.00442c72
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004086e0
lea esi, [ebp - 0xd0]
mov byte [ebp - 0x69], al
mov byte [ebp - 4], 6
call fcn.00401650
cmp byte [ebp - 0x69], 0
jne 0x46b441
push dword [ebp - 0x68]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 0x68], eax
jne 0x46b35f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
lea esi, [ebp - 0x48]
call fcn.00401650
lea esi, [ebp - 0x2c]
call fcn.00401650
jmp 0x46b229
mov eax, dword [ebp - 0x68]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x68], eax
call fcn.00401650
mov edi, dword [ebp - 0x74]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00401650
mov ecx, dword [ebp - 0x78]
push 0
push dword [ebp - 0x68]
push ebx
push edi
call fcn.0046a1cb
mov esi, eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, esi
call fcn.004bf27f
ret 0x14