Function at 0x40e783
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push str.Yh_plug.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e800
push 0x5c9ca7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
mov eax, 0
jmp 0x40ea0e
push 0x5c9cc5
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
push 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e854
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
nop
nop
push 0x5c9ce3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
mov eax, 0
jmp 0x40ea0e
push 0x5c9cfe
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
push 2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e8a8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
nop
nop
push 0x5c9d19
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
mov eax, 0
jmp 0x40ea0e
push 0x5c9d32
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
mov ebx, dword [0x5cd81c]
add ebx, 0x50
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x40e8e1
push eax
mov ebx, eax
call fcn.0040106a
inc eax
push eax
call fcn.0044b8a4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e8f2
push ebx
call fcn.0044b8aa
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e92f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
nop
nop
push 0x5c9d4b
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
mov eax, 0
jmp 0x40ea0e
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4a0c6f]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401131
push eax
call fcn.004073da
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x40e9c6
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40e9c3
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x4a0c6f]
fstp qword [ebp - 0x34]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x34]
fadd qword [0x4a0c6f]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401131
push eax
call fcn.004073da
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40e9be
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
pop eax
pop ebx
pop ecx
jmp 0x40e968
add esp, 0xc
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jne 0x40e9ea
push 0x5c9d64
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
jmp 0x40e9f9
push 0x5c9d82
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
jmp 0x40ea0e
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ea1f
push ebx
call fcn.0044b8aa
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret