Function at 0x452eca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x8c
mov eax, dword [0x551bc0]
xor eax, ebp
mov dword [ebp + 0x60], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x6c]
mov dword [ebp + 0x14], esi
cmp dword [esi + 8], ebx
je 0x452ee0
call fcn.00452dae
mov eax, dword [ebp + 0x74]
mov dword [esi], eax
mov eax, dword [ebp + 0x70]
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_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea edi, [ebp - 0x28]
mov dword [ebp + 0x1c], eax
call fcn.00452ccd
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jl 0x452f26
cmp eax, 0x7fff
jle 0x452f30
neg eax
and eax, 0xffff
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
push dword [ebp - 0x18]
lea edi, [esi + 0xc]
push ebx
fmul qword [ebp + 0x78]
push ebx
push ebx
push ebx
fdiv qword [0x51bf58]
push 1
push ebx
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push ebx
push ebx
fadd qword [0x511890]
call fcn.004e54d0
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [esi + 8]
mov dword [edi], eax
call ebx
push 1
push dword [edi]
mov dword [esi + 0x10], eax
push 0x30
push dword [esi + 8]
call ebx
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp + 0x18], eax
lea ebx, [ebp + 8]
mov eax, edi
lea esi, [ebp + 0x18]
call fcn.00452c76
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EndPaint]
fild dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
fstp qword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp qword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp + 0x1c]
movsx eax, word [ebx + 0x16]
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
fmul qword [ebp - 0x14]
fmul qword [0x51bf50]
fld qword [0x511890]
fadd st(1), st(0)
fxch st(1)
call fcn.004e54d0
add eax, dword [ebp - 8]
mov dword [ebp], eax
movsx eax, word [ebx + 0x18]
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
fmul qword [ebp + 8]
fmul qword [0x51bf48]
faddp st(1)
call fcn.004e54d0
add eax, dword [ebp - 4]
mov dword [ebp + 4], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebx + 8]
lea eax, [ebp - 8]
push dword [ebp - 0x24]
push dword [ebx + 0xc]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp + 4]
sub eax, dword [ebp - 4]
push 1
push eax
mov eax, dword [ebp]
sub eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
call fcn.00452b92
and dword [ebp + 0x18], 0
push ebx
mov dword [ebp + 0x14], eax
call fcn.00452b7b
pop ecx
pop ecx
xor ecx, ecx
cmp cx, word [eax]
jae 0x453192
cmp dword [ebp + 0x18], 0
jne 0x453090
push 5
push dword [esi + 8]
jmp 0x453095
push 2
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x453192
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x4530c9
push 2
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x4530a6
cmp dword [ebp + 0x1c], 0
je 0x453192
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0x12]
mov dword [ebp + 0x10], eax
push 1
fild dword [ebp + 0x10]
fmul qword [ebp + 8]
fld qword [0x51bf48]
fmul st(1), st(0)
fld qword [0x511890]
fadd st(2), st(0)
fxch st(2)
call fcn.004e54d0
push eax
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0x10]
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
fmul qword [ebp - 0x14]
fld qword [0x51bf50]
fmul st(1), st(0)
fxch st(1)
fadd st(3)
call fcn.004e54d0
push eax
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0xe]
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
fmul qword [ebp + 8]
fmulp st(2)
fxch st(1)
fadd st(2)
call fcn.004e54d0
push eax
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0xc]
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
fmul qword [ebp - 0x14]
fmulp st(1)
faddp st(1)
call fcn.004e54d0
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [edi]
push 0x30
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [ebp + 0x14]
call fcn.00452c12
inc dword [ebp + 0x18]
push ebx
mov dword [ebp + 0x14], eax
call fcn.00452b7b
movzx eax, word [eax]
add esp, 0xc
cmp dword [ebp + 0x18], eax
jl 0x453083
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp + 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e43be
add ebp, 0x64
leave
ret 0x14