Function at 0x10011d85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002c889
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1003a0a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
movzx edi, word [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push pe_nt_image_headers32
push edi
push dword [0x1004ccd4]
call esi
and dword [esp + 0x28], 0
and dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10011df9
push eax
push dword [0x1004ccd4]
call ebx
test eax, eax
je 0x10011df9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x28], eax
push 5
push edi
push dword [0x1004ccd4]
call esi
test eax, eax
je 0x1001213c
push eax
push dword [0x1004ccd4]
call ebx
test eax, eax
je 0x10012133
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10012133
movzx esi, word [eax + 2]
mov ecx, 0xffff
xor ebx, ebx
mov edx, ecx
cmp si, dx
sete bl
lea edx, [eax + 0x10]
mov dword [esp + 0x14], ebx
cmp si, cx
je 0x10011e4e
lea edx, [eax + 8]
movzx esi, word [edx]
mov ecx, eax
mov dword [esp + 0x34], esi
call fcn.1000c96b
mov ebx, eax
mov eax, dword [esp + 0x2c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
xor eax, eax
cmp ax, si
jae 0x1001213c
cmp dword [esp + 0x14], 0
je 0x10011e8d
mov edi, dword [ebx + 0x14]
jmp 0x10011e91
movzx edi, word [ebx + 0x10]
xor ecx, ecx
lea eax, [ebx + 0x18]
cmp dword [esp + 0x14], ecx
jne 0x10011e9f
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x100120c4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x10011ed7
movzx edx, word [eax]
inc eax
inc eax
movzx esi, word [eax]
mov dword [esp + 0x30], eax
inc eax
inc eax
mov ecx, dword [eax]
movzx edx, dx
add eax, 4
cmp edx, edi
je 0x10011f70
add eax, ecx
jne 0x10011eb5
xor esi, esi
and dword [esp + 0x18], 0
and dword [esp + 0x58], 0
test esi, esi
je 0x10011f25
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100120ff
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [esp + 0x28]
push esi
push eax
call fcn.100105bc
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x18]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x18]
push eax
call fcn.1000cd2b
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x100120a5
and dword [esp + 0x10], 0
call fcn.1000d1d4
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x18]
test esi, esi
jne 0x10011f62
lea eax, [ebx + 0x12]
mov dword [esp + 0x30], eax
test esi, esi
je 0x10011f8e
movzx eax, word [ebx + 0xc]
jmp 0x10011f92
mov eax, 0x378
cmp si, ax
je 0x10011ed7
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
lea esi, [ecx + 6]
jmp 0x10011ed9
movzx eax, word [ebx + 8]
movsx edx, ax
mov dword [esp + 0x3c], edx
test esi, esi
je 0x10011fa3
movzx eax, word [ebx + 0xe]
jmp 0x10011fa7
movzx eax, word [ebx + 0xa]
movsx ecx, ax
mov dword [esp + 0x40], ecx
test esi, esi
je 0x10011fb8
movzx eax, word [ebx + 0x10]
jmp 0x10011fbc
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [esp + 0x44], eax
test esi, esi
je 0x10011fcd
movzx eax, word [ebx + 0x12]
jmp 0x10011fd1
movzx eax, word [ebx + 0xe]
mov edi, dword [esp + 0x2c]
cwde
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
test esi, esi
je 0x10011ff3
mov edx, dword [ebx + 0x14]
jmp 0x10011ff7
movzx edx, word [ebx + 0x10]
test esi, esi
je 0x10012000
mov esi, dword [ebx + 4]
jmp 0x10012002
xor esi, esi
cmp dword [esp + 0x14], 0
je 0x1001200e
mov eax, dword [ebx + 8]
jmp 0x10012010
mov eax, dword [ebx]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push esi
or eax, 0x10000
push eax
push ecx
mov dword [ecx], edx
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esp
mov dword [eax], ecx
push dword [edi + 4]
lea eax, [esp + 0x24]
push eax
call fcn.1000c9e7
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1001209c
cmp dword [esp + 0x14], 0
je 0x10012057
mov eax, dword [ebx]
test eax, eax
je 0x10012057
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [esp + 0x24]
lea edi, [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.10011c3b
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x10012114
cmp word [esp + 0x20], di
jne 0x10012085
mov dword [esp + 0x1c], edi
push 0x13
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x1c], esi
jmp 0x100120a5
call fcn.10011d70
mov dword [esp + 0x10], eax
push dword [esp + 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100120db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100120db
cmp word [esp + 0x20], cx
je 0x100120db
push 2
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
push dword [esp + 0x14]
mov eax, ebx
call fcn.10011d10
inc dword [esp + 0x24]
mov ebx, eax
mov ax, word [esp + 0x24]
pop ecx
cmp ax, word [esp + 0x34]
jb 0x10011e81
jmp 0x1001213c
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x8007000e
test eax, eax
jmp 0x10012129
push dword [esp + 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1001213c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001213c
call fcn.10011d70
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4