Function at 0x10018c08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x3c
mov eax, 0x1006adfd
call fcn.1005163c
mov dword [ebp - 0x28], ecx
movzx edi, word [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xf0
push edi
push dword [0x100a6188]
call esi
and dword [ebp - 0x24], 0
and dword [ebp - 0x10], 0
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
je 0x10018c58
push eax
push dword [0x100a6188]
call ebx
test eax, eax
je 0x10018c58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
push 5
push edi
push dword [0x100a6188]
call esi
test eax, eax
je 0x10018f24
push eax
push dword [0x100a6188]
call ebx
test eax, eax
je 0x10018f1c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10018f1c
xor eax, eax
cmp word [esi + 2], 0xffff
push esi
sete al
mov dword [ebp + 8], eax
call fcn.10011764
movzx edi, word [eax]
push esi
mov dword [ebp - 0x34], edi
call fcn.10011778
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x28]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 0x1c], 0
test di, di
mov dword [ebp - 0x18], eax
jbe 0x10018f24
cmp dword [ebp + 8], 0
je 0x10018cda
mov ebx, dword [esi + 0x14]
jmp 0x10018cde
movzx ebx, word [esi + 0x10]
push dword [ebp + 8]
push esi
call fcn.1001294e
test al, al
pop ecx
pop ecx
je 0x10018eb9
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push ebx
call fcn.10012910
xor edi, edi
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x14], edi
cmp ebx, edi
mov dword [ebp - 4], edi
je 0x10018d51
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10018eee
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 0x20]
push ebx
push eax
call fcn.10009cfe
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor edi, edi
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10011fc3
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x10018e9d
mov dword [ebp - 0x10], edi
call fcn.1001826c
mov ebx, dword [ebp + 8]
cmp ebx, edi
lea eax, [esi + 0x18]
jne 0x10018d86
lea eax, [esi + 0x12]
cmp ebx, edi
mov dword [ebp - 0x30], eax
je 0x10018d93
movzx eax, word [esi + 0xc]
jmp 0x10018d97
movzx eax, word [esi + 8]
cmp ebx, edi
movsx edx, ax
mov dword [ebp - 0x48], edx
je 0x10018da7
movzx eax, word [esi + 0xe]
jmp 0x10018dab
movzx eax, word [esi + 0xa]
cmp ebx, edi
movsx ecx, ax
mov dword [ebp - 0x44], ecx
je 0x10018dbb
movzx eax, word [esi + 0x10]
jmp 0x10018dbf
movzx eax, word [esi + 0xc]
movsx eax, ax
add eax, edx
cmp ebx, edi
mov dword [ebp - 0x40], eax
je 0x10018dd1
movzx eax, word [esi + 0x12]
jmp 0x10018dd5
movzx eax, word [esi + 0xe]
mov ebx, dword [ebp - 0x28]
movsx eax, ax
add eax, ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp dword [ebp + 8], edi
je 0x10018df7
mov edx, dword [esi + 0x14]
jmp 0x10018dfb
movzx edx, word [esi + 0x10]
cmp dword [ebp + 8], edi
je 0x10018e08
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
jmp 0x10018e0b
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 8], edi
je 0x10018e15
mov eax, dword [esi + 8]
jmp 0x10018e17
mov eax, dword [esi]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push dword [ebp - 0x2c]
or eax, 0x10000
push eax
push edi
push ecx
mov dword [ecx], edx
mov eax, esp
lea ecx, [ebp - 0x48]
mov dword [eax], ecx
mov dword [ebp - 0x38], esp
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
call fcn.10012ab7
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x10018e95
cmp dword [ebp + 8], edi
je 0x10018e5a
mov eax, dword [esi]
cmp eax, edi
je 0x10018e5a
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x30]
call fcn.10017c17
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x10018f00
cmp word [ebp - 0x1c], di
jne 0x10018e80
mov dword [ebp - 0x18], edi
push 0x13
push edi
push edi
push edi
push edi
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x18], ebx
jmp 0x10018e9d
call fcn.10009dd5
mov dword [ebp - 0x10], eax
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x10018ece
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10018ece
cmp word [ebp - 0x1c], 0
je 0x10018ece
push 2
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
push esi
call fcn.100117f8
inc dword [ebp - 0x1c]
mov esi, eax
mov ax, word [ebp - 0x1c]
cmp ax, word [ebp - 0x34]
pop ecx
pop ecx
jb 0x10018ccf
jmp 0x10018f24
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0x8007000e
test eax, eax
jmp 0x10018f12
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x10018f24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10018f24
call fcn.10009dd5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.10051714
ret 4