Function at 0x100089df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x1044]
mov eax, 0x1044
call fcn.100860f0
push 0xffffffffffffffff
push 0x1017ad52
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x1040], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
call fcn.10062a91
mov esi, dword [eax + 8]
lea ecx, [ebp - 0xa4]
call fcn.1005e8b0
push 0x101863dc
push str.CHARDRAW
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x10008d6b
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 - 0x10], 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 - 0x18], eax
call fcn.10085bc0
push esi
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
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 0x10008abd
push esi
jmp 0x10008d65
mov ecx, eax
call fcn.1005de50
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10008ab7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x358]
call fcn.10042326
mov dword [ebp - 0x24], eax
push 0x81e
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.10085bc0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 0x10186260
call fcn.1005f5d0
lea ecx, [ebp]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x358]
call fcn.10053194
mov ecx, dword [ebp - 0x10]
call fcn.1005de50
jmp 0x10008d44
push 0x81e
lea eax, [ebp + 0x822]
push ebx
push eax
mov word [ebp + 0x820], bx
call fcn.10085bc0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 0x10186260
call fcn.1005f5d0
mov edi, eax
cmp edi, ebx
je 0x10008d6b
push 8
call fcn.10062191
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x10008b7b
mov ecx, eax
call fcn.1000754d
mov esi, eax
jmp 0x10008b7d
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], esi
je 0x10008d6b
lea eax, [ebp + 0x820]
push eax
push edi
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x820]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100015f0
push 0x10186198
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x40]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.100017c0
mov ecx, dword [ebp - 0x14]
push str.height
call fcn.1005f5d0
cmp eax, ebx
je 0x10008c4f
lea ecx, [ebp + 0x820]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x820]
push eax
lea ecx, [ebp - 0x40]
call fcn.100015f0
push 0x10186188
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.100017c0
mov ecx, dword [ebp - 0x14]
push str.page
call fcn.1005f5d0
cmp eax, ebx
je 0x10008cb8
lea ecx, [ebp + 0x820]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x820]
push eax
lea ecx, [ebp - 0x40]
call fcn.100015f0
push 0x1018617c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 7
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.100017c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x20]
add eax, 8
je 0x10008d30
lea ecx, [ebp + 0x820]
push ecx
push eax
call fcn.1001c35f
pop ecx
pop ecx
lea eax, [ebp + 0x820]
push eax
lea ecx, [ebp - 0xc0]
call fcn.100015f0
push str.content
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 8
call fcn.100015f0
mov eax, dword [esi]
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, esi
mov byte [ebp - 4], 9
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0xdc]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], bl
call fcn.100017c0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.10018f50
mov ecx, dword [ebp - 0x14]
call fcn.1005dec0
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x10008b2a
mov ecx, dword [ebp - 0x10]
call fcn.1005dec0
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x10008adc
push dword [ebp - 0x18]
call fcn.100621bc
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10005414
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1040]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x1044
leave
ret