Function at 0x414190
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x46e0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, 0x465e78
lea esi, [ebp - 0x150]
mov dword [ebp - 0x170], eax
call fcn.0040f860
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x4141cb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp dword [ebp - 0x13c], esi
jb 0x4141eb
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.00422c9c
add esp, 4
xor edx, edx
mov dword [ebp - 0x13c], 7
mov dword [ebp - 0x140], 0
mov word [ebp - 0x150], dx
test ebx, ebx
je 0x41470c
mov eax, 0x465e94
lea esi, [ebp - 0xa8]
call fcn.0040f840
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x41422c
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1cc], eax
cmp dword [ebp - 0x94], edi
jb 0x414257
mov edx, dword [ebp - 0xa8]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465ea4
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x414289
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1d0], eax
cmp dword [ebp - 0xb0], edi
jb 0x4142b4
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00422c9c
add esp, 4
fld qword [0x4664f8]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0x180], 0x3e35
fstp qword [ebp - 0x17c]
mov eax, dword [ebp - 0x180]
imul eax, eax, 0x2c62
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x180]
fld qword [ebp - 0x17c]
fadd st(0), st(0)
fsubp st(1)
fstp qword [ebp - 0x17c]
fld qword [ebp - 0x17c]
fcomp qword [0x466120]
fnstsw ax
test ah, 5
jp 0x41432e
fld qword [ebp - 0x17c]
fchs
fstp qword [ebp - 0x17c]
fld qword [ebp - 0x17c]
call fcn.00426330
mov dword [ebp - 0x180], eax
mov eax, 0x465eb4
lea esi, [ebp - 0xe0]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x414356
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1d4], eax
cmp dword [ebp - 0xcc], edi
jb 0x414381
mov edx, dword [ebp - 0xe0]
push edx
call fcn.00422c9c
add esp, 4
fld qword [0x4664f0]
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
fstp qword [ebp - 0x17c]
mov ecx, 1
lea ecx, [ecx]
xor edx, edx
mov eax, 0x38ed
div ecx
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x180]
fadd qword [ebp - 0x17c]
fstp qword [ebp - 0x17c]
cmp ecx, 2
je 0x4143df
inc ecx
cmp ecx, 0x3e4a
jl 0x4143b0
fld qword [ebp - 0x17c]
sub esp, 8
fstp qword [esp]
push str._lf_
call fcn.0042307d
add esp, 0xc
mov eax, 0x465ec4
lea esi, [ebp - 0x134]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x41440f
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1d8], eax
cmp dword [ebp - 0x120], edi
jb 0x41443a
mov edx, dword [ebp - 0x134]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465ed4
lea esi, [ebp - 0x16c]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x41446c
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1dc], eax
cmp dword [ebp - 0x158], edi
jb 0x414497
mov edx, dword [ebp - 0x16c]
push edx
call fcn.00422c9c
add esp, 4
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
mov dword [ebp - 0x180], 0x3b09
mov dword [ebp - 0x178], 0x19cb
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
fild dword [ebp - 0x188]
fmul qword [0x466118]
call fcn.004246d0
mov ecx, dword [ebp - 0x178]
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x178], ecx
fild dword [ebp - 0x178]
mov dword [ebp - 0x178], edx
sub esp, 8
fmulp st(1)
fild dword [ebp - 0x178]
faddp st(1)
fstp qword [ebp - 0x17c]
fld qword [ebp - 0x17c]
fstp qword [esp]
push 0x461938
call fcn.0042307d
add esp, 0xc
mov eax, 0x465ee4
lea esi, [ebp - 0x118]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x414541
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1e0], eax
cmp dword [ebp - 0x104], edi
jb 0x41456c
mov edx, dword [ebp - 0x118]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465ef4
lea esi, [ebp - 0xfc]
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x118], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x41459e
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x1e4], eax
cmp dword [ebp - 0xe8], edi
jb 0x4145c9
mov edx, dword [ebp - 0xfc]
push edx
call fcn.00422c9c
add esp, 4
fld qword [0x4664e8]
mov dword [ebp - 0xe8], 0xf
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
fstp qword [ebp - 0x18c]
mov ecx, 1
xor edx, edx
mov eax, 0x3bbb
div ecx
mov dword [ebp - 0x178], eax
fild dword [ebp - 0x178]
fadd qword [ebp - 0x18c]
fstp qword [ebp - 0x18c]
cmp ecx, 2
je 0x414624
inc ecx
cmp ecx, 0x5c34
jl 0x4145f5
fld qword [ebp - 0x18c]
sub esp, 8
fstp qword [esp]
push str._lf_
call fcn.0042307d
mov dword [ebp - 0x170], 0x2034
mov eax, dword [ebp - 0x170]
imul eax, eax, 0x77ee
mov dword [ebp - 0x178], eax
add esp, 0xc
fild dword [ebp - 0x178]
fstp qword [ebp - 0x18c]
sar dword [ebp - 0x170], 0x1f
fld qword [ebp - 0x18c]
fmul qword [0x4664e0]
fadd qword [ebp - 0x18c]
fstp qword [ebp - 0x18c]
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x178], ecx
fild dword [ebp - 0x178]
fmul qword [ebp - 0x18c]
call fcn.00426330
fld qword [0x4664d8]
mov dword [ebp - 0x170], eax
call fcn.00422e40
fstp qword [ebp - 0x194]
push 0x7f
lea edx, [ebp - 0x8b]
push 0
push edx
mov byte [ebp - 0x8c], 0
call fcn.004251f0
fld qword [ebp - 0x194]
add esp, 4
fstp qword [esp]
push str.a__lf_
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.00422fad
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x8c]
push 0x4621b8
push edx
call fcn.0042305b
add esp, 0x20
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ca7
mov esp, ebp
pop ebp
ret 4