Function at 0x10010e53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x10086038]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 8], ebx
je 0x10010e81
call sym.PCBRhelper.dll_Ordinal_301
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
movzx eax, word [esi]
push 5
push eax
push edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea edx, [esp + 0x44]
mov edi, eax
call fcn.10010d4c
mov eax, dword [esp + 0x44]
cmp eax, ebx
jl 0x10010ec5
cmp eax, 0x7fff
jle 0x10010ed0
neg eax
and eax, 0xffff
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
push dword [esp + 0x54]
push ebx
fmul qword [ebp + 0x14]
push ebx
push ebx
push ebx
fdiv qword [0x10072630]
push 1
push ebx
push ebx
push dword [esp + 0x70]
push dword [esp + 0x70]
push ebx
push ebx
push ebx
fadd qword [0x10072628]
call fcn.100515d0
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push ebx
push ebx
push 0x31
push dword [esi + 8]
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0xc]
mov dword [esi + 0x10], eax
push 0x30
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x90]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 0xc]
mov dword [esp + 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea eax, [esp + 0x30]
push eax
push 0x34
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
cdq
push 0x1a
pop ecx
idiv ecx
push dword [esp + 0x14]
push dword [esp + 0x10]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x90]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EndPaint]
fild dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
fstp qword [esp + 0x38]
fild dword [esp + 0x24]
fstp qword [esp + 0x40]
call dword [sym.imp.USER32.dll_GetClientRect]
movsx eax, word [edi + 0x16]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [esp + 0x30]
fmul qword [0x10072620]
fld qword [0x10072628]
fadd st(1), st(0)
fxch st(1)
call fcn.100515d0
add eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
movsx eax, word [edi + 0x18]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [esp + 0x38]
fmul qword [0x10072618]
faddp st(1)
call fcn.100515d0
add eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x28]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [edi + 8]
lea eax, [esp + 0x24]
push dword [esp + 0x4c]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, edi
call fcn.10010c8e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov eax, 0xffff
cmp word [edi + 2], ax
lea eax, [edi + 0x10]
je 0x10011098
lea eax, [edi + 8]
movzx eax, word [eax]
cmp dword [esp + 0xc], eax
jge 0x100111ba
cmp dword [esp + 0xc], ebx
jne 0x100110b2
push 5
push dword [esi + 8]
jmp 0x100110b8
push 2
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x100111ba
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x100110f1
push 2
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x100110ca
cmp dword [esp + 0x10], ebx
je 0x100111ba
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x12]
mov dword [esp + 0x18], eax
push 1
fild dword [esp + 0x1c]
fmul qword [esp + 0x3c]
fld qword [0x10072618]
fmul st(1), st(0)
fld qword [0x10072628]
fadd st(2), st(0)
fxch st(2)
call fcn.100515d0
push eax
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x10]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul qword [esp + 0x38]
fld qword [0x10072620]
fmul st(1), st(0)
fxch st(1)
fadd st(3)
call fcn.100515d0
push eax
mov eax, dword [esp + 0x20]
movsx eax, word [eax + 0xe]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul qword [esp + 0x44]
fmulp st(2)
fxch st(1)
fadd st(2)
call fcn.100515d0
push eax
mov eax, dword [esp + 0x24]
movsx eax, word [eax + 0xc]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [esp + 0x40]
fmulp st(1)
faddp st(1)
call fcn.100515d0
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0xc]
push 0x30
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
call fcn.10010d0a
inc dword [esp + 0xc]
jmp 0x10011083
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10050724
mov esp, ebp
pop ebp
ret 0x14