Function at 0x1000be4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x9c
mov eax, 0x1017b33a
call fcn.1008546d
mov dword [ebp - 0x5c], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10062a91
mov esi, dword [eax + 8]
lea ecx, [ebp - 0xa4]
call fcn.1005e8b0
cmp dword [ebp + 0x434], 8
mov eax, dword [ebp + 0x420]
mov byte [ebp - 4], 1
jae 0x1000bea9
lea eax, [ebp + 0x420]
push 0x101863dc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x1000c340
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea edi, [esi + 1]
push edi
call fcn.100621c1
push edi
push ebx
push eax
mov dword [ebp - 0x3c], eax
call fcn.10085bc0
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
push esi
call fcn.10086310
add esp, 0x1c
push ebx
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.10060db0
push 0x10186278
lea ecx, [ebp - 0xa4]
call fcn.1005ddb0
cmp eax, ebx
jne 0x1000bf28
push esi
jmp 0x1000c33a
mov ecx, eax
call fcn.1005de50
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x1000bf22
push 0x206
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.10085bc0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x10186260
call fcn.1005f5d0
lea ecx, [ebp]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.1005de50
push 0x10
mov dword [ebp - 0x10], eax
call fcn.10062191
pop ecx
cmp eax, ebx
je 0x1000bf87
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1000bf89
xor eax, eax
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
je 0x1000c2f0
push 8
call fcn.10062191
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x1000bfb7
mov ecx, eax
call fcn.1000754d
mov esi, eax
jmp 0x1000bfb9
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], esi
je 0x1000c340
push 0x206
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.10085bc0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 0x1018673c
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c340
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x34]
call fcn.100015f0
push str.text
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call dword [eax]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x58]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push 0x10186260
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c0bf
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x10186198
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 7
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push 0x1018671c
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c129
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x101867f8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 9
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push str.page
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c193
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x1018617c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xb
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push str.type
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c1fd
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x10186730
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xd
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push str.code
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c267
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x10186afc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xf
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x10]
push 0x10186af8
call fcn.1005f5d0
cmp eax, ebx
je 0x1000c2d1
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x10186858
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x11
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
call fcn.10018f50
mov ecx, dword [ebp - 0x10]
call fcn.1005dec0
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000bf99
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
call fcn.100015f0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x328]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x12
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.100017c0
mov ecx, dword [ebp - 0x18]
call fcn.1005dec0
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x1000bf36
push dword [ebp - 0x3c]
call fcn.100621bc
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.10005414
push ebx
push 1
lea ecx, [ebp + 0x41c]
call fcn.100017c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x414
leave
ret 0x1c