Function at 0x100c06f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100090
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x848
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x858], esi
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov edi, dword [ebx + 8]
push 0x40b
push eax
mov dword [ebp - 0x848], 0x30
mov dword [ebp - 0x844], 0x11
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], 0x434c5348
movups xmmword [ebp - 0x838], xmm0
movups xmmword [ebp - 0x828], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x848]
push eax
push 0
push 0x433
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [0x10158ab0], 0
jne 0x100c07b8
push 0x1010ca30
push 0x40b
push dword [esi + 4]
jmp 0x100c0850
cmp word [edi], 0
jne 0x100c07c3
mov eax, dword [esi + 0x58]
mov edi, dword [eax]
mov esi, dword [0x10158adc]
cmp esi, dword [0x10158ae0]
je 0x100c07ef
push edi
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x100c0876
add esi, 0x1c
cmp esi, dword [0x10158ae0]
jne 0x100c07d1
mov edx, 0xfda
lea ecx, [ebp - 0x854]
call fcn.100aedf0
push edi
push dword [eax]
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.100a4830
mov edx, dword [ebp - 0x854]
add esp, 0x10
add edx, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c083b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x858]
lea eax, [ebp - 0x818]
push eax
push 0x40b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
call fcn.100ae9e0
mov dword [ebp - 0x854], eax
test eax, eax
je 0x100c0903
push 0x10
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100c08ac
mov dword [ebp - 0x850], eax
jmp 0x100c08f7
push eax
push dword [ebp - 0x854]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
test edx, edx
jne 0x100c08ce
mov dword [ebp - 0x850], eax
jmp 0x100c08f7
movzx eax, word [edx + 0x3c]
mov dword [ebp - 0x84c], eax
movzx eax, word [edx + 0x38]
movzx ecx, al
movzx eax, word [edx + 0x3a]
shl eax, 8
or ecx, eax
movzx eax, word [edx + 0x3e]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x850], ecx
push dword [ebp - 0x854]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esi + 8]
cmp ecx, dword [ebp - 0x850]
ja 0x100c0957
jne 0x100c091b
mov eax, dword [ebp - 0x84c]
cmp dword [esi + 0xc], eax
ja 0x100c0957
mov edx, 0xfd9
lea ecx, [ebp - 0x84c]
call fcn.100aedf0
push edi
push dword [eax]
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.100a4830
mov edx, dword [ebp - 0x84c]
add esp, 0x10
add edx, 0xfffffff0
mov dword [ebp - 4], 1
jmp 0x100c0826
mov edx, 0xfdb
lea ecx, [ebp - 0x84c]
call fcn.100aedf0
push edi
push dword [eax]
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.100a4830
mov edx, dword [ebp - 0x84c]
add esp, 0x10
add edx, 0xfffffff0
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c09a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x858]
lea eax, [ebp - 0x818]
push eax
push 0x40b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 4]
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x848]
push eax
push 0
push 0x432
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100c0856