Function at 0x1009f823
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100edc19
call fcn.100c908c
sub esp, 0x3c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
movzx edi, word [ebp + 8]
push 0xf0
push edi
push dword [0x101519b0]
mov dword [ebp - 0x28], ecx
call esi
and dword [ebp - 0x24], 0
and dword [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1009f877
push eax
push dword [0x101519b0]
call ebx
test eax, eax
je 0x1009f877
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
push 5
push edi
push dword [0x101519b0]
call esi
test eax, eax
je 0x1009fb44
push eax
push dword [0x101519b0]
call ebx
test eax, eax
je 0x1009fb3c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1009fb3c
xor ecx, ecx
mov eax, 0xffff
cmp word [esi + 2], ax
push esi
sete cl
mov dword [ebp + 8], ecx
call fcn.100311d7
movzx edi, word [eax]
push esi
mov dword [ebp - 0x34], edi
call fcn.100311ee
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
mov dword [ebp - 0x18], eax
xor eax, eax
cmp ax, di
jae 0x1009fb44
cmp dword [ebp + 8], 0
je 0x1009f8fe
mov ebx, dword [esi + 0x14]
jmp 0x1009f902
movzx ebx, word [esi + 0x10]
push dword [ebp + 8]
push esi
call fcn.1009f485
pop ecx
pop ecx
test al, al
je 0x1009fad9
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push ebx
call fcn.1009f444
xor edi, edi
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x1009f975
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x1009fb0e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 0x20]
push ebx
push eax
call fcn.100034ab
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.10031bf9
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x1009fabd
mov dword [ebp - 0x10], edi
call fcn.10045008
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x18]
cmp ebx, edi
jne 0x1009f9aa
lea eax, [esi + 0x12]
mov dword [ebp - 0x30], eax
cmp ebx, edi
je 0x1009f9b7
movzx eax, word [esi + 0xc]
jmp 0x1009f9bb
movzx eax, word [esi + 8]
movsx edx, ax
mov dword [ebp - 0x48], edx
cmp ebx, edi
je 0x1009f9cb
movzx eax, word [esi + 0xe]
jmp 0x1009f9cf
movzx eax, word [esi + 0xa]
movsx ecx, ax
mov dword [ebp - 0x44], ecx
cmp ebx, edi
je 0x1009f9df
movzx eax, word [esi + 0x10]
jmp 0x1009f9e3
movzx eax, word [esi + 0xc]
cwde
add eax, edx
mov dword [ebp - 0x40], eax
cmp ebx, edi
je 0x1009f9f3
movzx eax, word [esi + 0x12]
jmp 0x1009f9f7
movzx eax, word [esi + 0xe]
mov ebx, dword [ebp - 0x28]
cwde
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 0x1009fa17
mov edx, dword [esi + 0x14]
jmp 0x1009fa1b
movzx edx, word [esi + 0x10]
cmp dword [ebp + 8], edi
je 0x1009fa28
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
jmp 0x1009fa2b
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 8], edi
je 0x1009fa35
mov eax, dword [esi + 8]
jmp 0x1009fa37
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.1009f605
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x1009fab5
cmp dword [ebp + 8], edi
je 0x1009fa7a
mov eax, dword [esi]
cmp eax, edi
je 0x1009fa7a
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.1009f802
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x1009fb20
cmp word [ebp - 0x1c], di
jne 0x1009faa0
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 0x1009fabd
call fcn.10003682
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 0x1009faee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1009faee
cmp word [ebp - 0x1c], 0
je 0x1009faee
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.1003126e
inc dword [ebp - 0x1c]
mov esi, eax
mov ax, word [ebp - 0x1c]
pop ecx
pop ecx
cmp ax, word [ebp - 0x34]
jb 0x1009f8f3
jmp 0x1009fb44
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0x8007000e
test eax, eax
jmp 0x1009fb32
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 0x1009fb44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1009fb44
call fcn.10003682
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4