Function at 0x48e480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x50cc94]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 8], 0
push esi
push edi
mov esi, ecx
je 0x48e4a4
mov edi, ebx
call fcn.0048e7d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx edx, ax
push 5
push edx
push esi
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x68], eax
call fcn.0048e360
mov eax, dword [ebp - 0x7c]
test eax, eax
jl 0x48e4e7
cmp eax, 0x7fff
jle 0x48e4f1
neg eax
and eax, 0xffff
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
fmul qword [ebp + 0x10]
push eax
push 0
push 0
fdiv qword [0x4fb6c0]
push 0
push 0
push 1
push 0
push 0
push ecx
push edx
push 0
push 0
push 0
lea esi, [ebx + 0xc]
fadd qword [0x4fb6b8]
call fcn.004b5e00
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov dword [esi], eax
mov eax, dword [ebx + 8]
push 0x31
push eax
call edi
mov ecx, dword [esi]
mov edx, dword [ebx + 8]
push 1
push ecx
push 0x30
push edx
mov dword [ebx + 0x10], eax
call edi
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x4c], eax
mov eax, esi
lea edi, [ebp - 0x54]
lea esi, [ebp - 0x4c]
call fcn.0048e2f0
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
fild dword [ebp - 0x54]
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x64]
fstp qword [ebp - 0x90]
push ecx
fild dword [ebp - 0x50]
push edx
fstp qword [ebp - 0x88]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x68]
movsx eax, word [edi + 0x16]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fmul qword [ebp - 0x90]
fmul qword [0x4fb6b0]
fld qword [0x4fb6b8]
fadd st(1), st(0)
fxch st(1)
call fcn.004b5e00
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
movsx ecx, word [edi + 0x18]
mov dword [ebp - 0x4c], ecx
fild dword [ebp - 0x4c]
fmul qword [ebp - 0x88]
fmul qword [0x4fb6a8]
faddp st(1)
call fcn.004b5e00
add eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 8]
push edx
push eax
call esi
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x5c]
push ecx
push edx
call esi
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x78]
mov edx, dword [edi + 0xc]
push eax
push ecx
push edx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x64]
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.0048e1f0
mov esi, eax
mov eax, edi
mov dword [ebp - 0x4c], 0
call fcn.0048e1d0
xor ecx, ecx
cmp cx, word [eax]
jae 0x48e7b1
mov edi, dword [ebp - 0x50]
lea ebx, [ebx]
cmp dword [ebp - 0x4c], 0
jne 0x48e67e
mov edx, dword [ebx + 8]
push 5
push edx
jmp 0x48e681
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x48e7b1
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [esi + 0x14]
je 0x48e6be
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x48e691
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af011
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x48e7b1
movsx eax, word [esi + 0x12]
mov dword [ebp - 0x50], eax
push 1
fild dword [ebp - 0x50]
fld qword [ebp - 0x88]
fmul st(1), st(0)
fld qword [0x4fb6a8]
fmul st(2), st(0)
fld qword [0x4fb6b8]
fadd st(3), st(0)
fxch st(3)
call fcn.004b5e00
movsx ecx, word [esi + 0x10]
mov dword [ebp - 0x50], ecx
push eax
fild dword [ebp - 0x50]
fld qword [ebp - 0x90]
fmul st(1), st(0)
fld qword [0x4fb6b0]
fmul st(2), st(0)
fxch st(2)
fadd st(5)
call fcn.004b5e00
movsx edx, word [esi + 0xe]
mov dword [ebp - 0x50], edx
push eax
fild dword [ebp - 0x50]
fmulp st(4)
fxch st(3)
fmulp st(2)
fxch st(1)
fadd st(3)
call fcn.004b5e00
push eax
movsx eax, word [esi + 0xc]
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fmulp st(2)
fmulp st(1)
faddp st(1)
call fcn.004b5e00
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_SendMessageW]
lea eax, [esi + 0x18]
mov edx, 0xffff
cmp word [eax], dx
jne 0x48e770
add eax, 4
jmp 0x48e77b
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e770
cmp word [eax], dx
jne 0x48e785
add eax, 4
jmp 0x48e790
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e785
movzx edx, word [eax]
inc dword [ebp - 0x4c]
lea esi, [edx + eax + 5]
mov eax, dword [ebp - 0x68]
and esi, 0xfffffffc
call fcn.0048e1d0
movzx eax, word [eax]
cmp dword [ebp - 0x4c], eax
jl 0x48e670
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004af011
mov esp, ebp
pop ebp
ret 0x10