Function at 0x41d330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
mov dword [esp + 0x18], ecx
mov ecx, 0x4690e3
push edi
call fcn.00447953
mov eax, dword [0x462020]
mov eax, dword [eax + 0x19d0]
test eax, eax
jne 0x41d5cc
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x18]
xor ecx, ecx
add ecx, dword [esp + 0x14]
push 0
adc eax, 0
sub ecx, 0xd53e8000
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.00447630
mov ecx, eax
call fcn.00447a00
movzx eax, word [esp + 0x66]
sub esp, 8
mov esi, dword [0x462020]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x453d08]
addsd xmm0, xmm1
movsd xmm1, qword [esi + 0x1540]
movsd qword [esp], xmm1
movsd qword [esp + 0x28], xmm0
call fcn.00426bc5
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 0x70]
addsd xmm0, qword [esi + 0x1540]
add esp, 8
push eax
mov eax, dword [0x462020]
movsd qword [esp + 0x24], xmm0
push dword [eax + 0x154c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x462020]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
push 0xc
mov ecx, dword [eax + 0x1548]
lea ebx, [eax + 0x19c8]
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0x50]
push str.ResponsChart
mov dword [ebx + 0x14], eax
call fcn.00407c90
mov dword [ebx + 0x68], esi
mov esi, dword [esp + 0x14]
push 1
push esi
mov dword [ebx + 0x6c], edi
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 0x40af00
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], str.NetScrChartWindow
mov dword [esp + 0x58], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
mov dword [ebx + 0x10], esi
push esi
push 0
push dword [esp + 0x28]
push closesocket
push closesocket
push 0
push 0
push 0xcc0000
push 0x453bf0
push dword [esp + 0x78]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov eax, dword [0x45ab24]
cmp eax, 0xffffffff
je 0x41d52b
push 0
push eax
mov eax, dword [0x462020]
push 0x40e
push dword [eax + 0x19d0]
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x45ab24], 0xffffffff
mov eax, dword [0x462020]
push 5
push dword [eax + 0x19d0]
call dword [sym.imp.USER32.dll_ShowWindow]
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x78]
sub esp, 8
movsd qword [esp], xmm0
push str.OPENCHART__.3lf
push 0x40
push eax
call fcn.004013f0
mov esi, dword [0x462020]
add esp, 0x10
lea eax, [esi + 0xfd]
push eax
lea ecx, [esi + 0xeb0]
call fcn.00413930
push ecx
lea ecx, [esi + 0xeb0]
call fcn.004139e0
cmp eax, 1
jne 0x41d59c
mov eax, dword [esi + 0xeb0]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esi + 0xeb0]
call dword [eax]
mov eax, dword [esi + 0xeb8]
test eax, eax
je 0x41d5ad
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0xeb8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret