Function at 0x10001265
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10085add
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100a52b4]
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_FindResourceW]
push pe_nt_image_headers32
push edi
push dword [0x100a8574]
call esi
and dword [esp + 0x28], 0
and dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100012d9
push eax
push dword [0x100a8574]
call ebx
test eax, eax
je 0x100012d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x28], eax
push 5
push edi
push dword [0x100a8574]
call esi
test eax, eax
je 0x100015e7
push eax
push dword [0x100a8574]
call ebx
test eax, eax
je 0x100015de
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100015de
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 0x1000132e
lea edx, [eax + 8]
movzx edi, word [edx]
mov ecx, eax
mov dword [esp + 0x34], edi
call fcn.10006c03
mov esi, eax
mov eax, dword [esp + 0x2c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, di
jae 0x100015e7
jmp 0x10001366
xor edx, edx
cmp dword [esp + 0x14], edx
je 0x10001371
mov ecx, dword [esi + 0x14]
jmp 0x10001375
movzx ecx, word [esi + 0x10]
lea eax, [esi + 0x18]
cmp dword [esp + 0x14], edx
jne 0x10001381
lea eax, [esi + 0x12]
cmp word [eax], 0x7b
jne 0x1000156f
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x2c], edx
call fcn.10006bc6
and dword [esp + 0x20], 0
pop ecx
pop ecx
mov ebx, eax
and dword [esp + 0x58], 0
test ebx, ebx
je 0x100013ee
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100015aa
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [esp + 0x28]
push ebx
push eax
call fcn.10006ba7
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.100069bc
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x10001550
and dword [esp + 0x10], 0
call fcn.100067a2
mov edi, dword [esp + 0x14]
lea eax, [esi + 0x18]
test edi, edi
jne 0x1000142b
lea eax, [esi + 0x12]
mov dword [esp + 0x30], eax
test edi, edi
je 0x10001439
movzx eax, word [esi + 0xc]
jmp 0x1000143d
movzx eax, word [esi + 8]
movsx edx, ax
mov dword [esp + 0x3c], edx
test edi, edi
je 0x1000144e
movzx eax, word [esi + 0xe]
jmp 0x10001452
movzx eax, word [esi + 0xa]
movsx ecx, ax
mov dword [esp + 0x40], ecx
test edi, edi
je 0x10001463
movzx eax, word [esi + 0x10]
jmp 0x10001467
movzx eax, word [esi + 0xc]
cwde
add eax, edx
mov dword [esp + 0x44], eax
test edi, edi
je 0x10001478
movzx eax, word [esi + 0x12]
jmp 0x1000147c
movzx eax, word [esi + 0xe]
mov ebx, dword [esp + 0x2c]
cwde
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
test edi, edi
je 0x1000149e
mov edx, dword [esi + 0x14]
jmp 0x100014a2
movzx edx, word [esi + 0x10]
test edi, edi
je 0x100014ab
mov edi, dword [esi + 4]
jmp 0x100014ad
xor edi, edi
cmp dword [esp + 0x14], 0
je 0x100014b9
mov eax, dword [esi + 8]
jmp 0x100014bb
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edi
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 [ebx + 4]
lea eax, [esp + 0x24]
push eax
call fcn.10001600
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x10001547
cmp dword [esp + 0x14], 0
je 0x10001502
mov eax, dword [esi]
test eax, eax
je 0x10001502
push eax
push ebx
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.100016ba
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x100015bf
cmp word [esp + 0x20], di
jne 0x10001530
mov dword [esp + 0x1c], edi
push 0x13
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x1c], ebx
jmp 0x10001550
call fcn.100069a7
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 0x10001586
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10001586
cmp word [esp + 0x20], dx
je 0x10001586
push 2
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
push dword [esp + 0x14]
mov eax, esi
call fcn.10006947
inc dword [esp + 0x24]
mov esi, eax
mov ax, word [esp + 0x24]
pop ecx
cmp ax, word [esp + 0x34]
jb 0x10001364
jmp 0x100015e7
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x8007000e
test eax, eax
jmp 0x100015d4
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 0x100015e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100015e7
call fcn.100069a7
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