Function at 0x10006ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1002b4b0]
xor eax, ebp
mov dword [ebp - 8], eax
fld qword [ebp + 0xc]
push ebx
push esi
fstp qword [ebp - 0xac]
mov ebx, ecx
cmp dword [ebx + 8], 0
push edi
mov esi, edx
je 0x10006efe
call fcn.100072e0
mov eax, dword [ebp + 8]
mov dword [ebx], 0x65
movzx ecx, word [ebx]
push 5
push ecx
push esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
lea esi, [ebp - 0xc8]
mov dword [ebp - 0xb4], edi
call fcn.10006da0
mov eax, dword [ebp - 0xc8]
test eax, eax
js 0x10006f53
cmp eax, 0x7fff
jle 0x10006f60
neg eax
and eax, 0xffff
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc8]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
fmul qword [ebp - 0xac]
push edx
push 0
push 0
fdiv qword [0x10028100]
push 0
push 0
push 1
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
fadd qword [0x100280f8]
call fcn.100215e0
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edx, dword [ebx + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
mov dword [ebx + 0xc], eax
call esi
mov ecx, dword [ebx + 8]
push 1
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
push eax
push 0x30
push ecx
call esi
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x94]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebx + 0xc]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [ebp - 0x50]
push edx
push esi
mov dword [ebp - 0x98], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea eax, [ebp - 0xac]
push eax
push 0x34
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov ecx, dword [ebp - 0x50]
mov eax, 0x4ec4ec4f
imul dword [ebp - 0xac]
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 1]
cdq
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x98]
sub eax, edx
push ecx
sar eax, 1
push esi
mov dword [ebp - 0xa0], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x94]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
fild dword [ebp - 0xa0]
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x18]
fstp qword [ebp - 0xac]
push ecx
fild dword [ebp - 0x9c]
push edx
fstp qword [ebp - 0xd4]
call dword [sym.imp.USER32.dll_GetClientRect]
movsx eax, word [edi + 0x16]
mov dword [ebp - 0x98], eax
fild dword [ebp - 0x98]
fmul qword [ebp - 0xac]
fmul qword [0x100280f0]
fld qword [0x100280f8]
fadd st(1), st(0)
fxch st(1)
call fcn.100215e0
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
movsx ecx, word [edi + 0x18]
mov dword [ebp - 0x98], ecx
fild dword [ebp - 0x98]
fmul qword [ebp - 0xd4]
fmul qword [0x100280e8]
faddp st(1)
call fcn.100215e0
add eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
push edx
push eax
call esi
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x10]
push ecx
push edx
call esi
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [edi + 0xc]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, edi
call fcn.10006d00
mov esi, eax
mov eax, edi
mov dword [ebp - 0x98], 0
call fcn.10006ce0
xor ecx, ecx
cmp cx, word [eax]
jae 0x100072ba
mov edi, dword [ebp - 0xb0]
cmp dword [ebp - 0x98], 0
jne 0x10007172
mov edx, dword [ebx + 8]
push 5
push edx
jmp 0x10007175
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x100072ba
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [esi + 0x14]
je 0x100071a5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10007185
jmp 0x100072ba
test edi, edi
je 0x100072ba
movsx eax, word [esi + 0x12]
mov dword [ebp - 0x9c], eax
push 1
fild dword [ebp - 0x9c]
fld qword [ebp - 0xd4]
fmul st(1), st(0)
fld qword [0x100280e8]
fmul st(2), st(0)
fld qword [0x100280f8]
fadd st(3), st(0)
fxch st(3)
call fcn.100215e0
movsx ecx, word [esi + 0x10]
mov dword [ebp - 0x9c], ecx
push eax
fild dword [ebp - 0x9c]
fld qword [ebp - 0xac]
fmul st(1), st(0)
fld qword [0x100280f0]
fmul st(2), st(0)
fxch st(2)
fadd st(5)
call fcn.100215e0
movsx edx, word [esi + 0xe]
mov dword [ebp - 0x9c], edx
push eax
fild dword [ebp - 0x9c]
fmulp st(4)
fxch st(3)
fmulp st(2)
fxch st(1)
fadd st(3)
call fcn.100215e0
push eax
movsx eax, word [esi + 0xc]
mov dword [ebp - 0x9c], eax
fild dword [ebp - 0x9c]
fmulp st(2)
fmulp st(1)
faddp st(1)
call fcn.100215e0
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebx + 0xc]
push 1
push ecx
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0x18]
mov edx, 0xffff
cmp word [eax], dx
jne 0x10007270
add eax, 4
jmp 0x1000727b
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007270
cmp word [eax], dx
jne 0x10007285
add eax, 4
jmp 0x10007290
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007285
movzx edx, word [eax]
inc dword [ebp - 0x98]
lea esi, [edx + eax + 5]
mov eax, dword [ebp - 0xb4]
and esi, 0xfffffffc
call fcn.10006ce0
movzx eax, word [eax]
cmp dword [ebp - 0x98], eax
jl 0x10007161
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f688
mov esp, ebp
pop ebp
ret 0xc