Function at 0x413490
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x46d0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1b8], eax
push edi
mov eax, 0x4649e8
lea esi, [ebp - 0x94]
call fcn.0040fb30
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x4134cb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp dword [ebp - 0x80], esi
jb 0x4134e8
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00423933
add esp, 4
xor edx, edx
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], dx
test ebx, ebx
je 0x413ddc
mov eax, 0x464a04
lea esi, [ebp - 0x13c]
call fcn.0040fb10
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x413526
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x164], eax
cmp dword [ebp - 0x128], edi
jb 0x413551
mov edx, dword [ebp - 0x13c]
push edx
call fcn.00423933
add esp, 4
fld qword [0x465318]
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x1bc], 0x235
fstp qword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1bc]
imul eax, eax, 0x4fa5
mov dword [ebp - 0x1c0], eax
fild dword [ebp - 0x1c0]
fld qword [ebp - 0x1b4]
fadd st(0), st(0)
fsubp st(1)
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fcomp qword [0x464f10]
fnstsw ax
test ah, 5
jp 0x4135cb
fld qword [ebp - 0x1b4]
fchs
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
call fcn.00426fd0
mov dword [ebp - 0x1bc], eax
mov eax, 0x464a1c
lea esi, [ebp - 0xcc]
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x4135f3
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x168], eax
cmp dword [ebp - 0xb8], edi
jb 0x41361e
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464a2c
lea esi, [ebp - 0x174]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413650
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x16c], eax
cmp dword [ebp - 0x160], edi
jb 0x41367b
mov edx, dword [ebp - 0x174]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464a44
lea esi, [ebp - 0x104]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x4136ad
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x170], eax
cmp dword [ebp - 0xf0], edi
jb 0x4136d8
mov edx, dword [ebp - 0x104]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464a58
lea esi, [ebp - 0x24]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413707
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x174], eax
cmp dword [ebp - 0x10], edi
jb 0x41372c
mov edx, dword [ebp - 0x24]
push edx
call fcn.00423933
add esp, 4
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x1bc], 0x55d7
mov dword [ebp - 0x1b0], 0x3f75
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
fild dword [ebp - 0x1c0]
fmul qword [0x464f30]
call fcn.004254f0
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b0], ecx
fild dword [ebp - 0x1b0]
mov dword [ebp - 0x1b0], edx
sub esp, 8
fmulp st(1)
fild dword [ebp - 0x1b0]
faddp st(1)
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [esp]
push str._lf_
call fcn.00423a88
add esp, 0xc
mov eax, 0x464a6c
lea esi, [ebp - 0x40]
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x4137ca
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x178], eax
cmp dword [ebp - 0x2c], edi
jb 0x4137ef
mov edx, dword [ebp - 0x40]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464a80
lea esi, [ebp - 0x78]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413815
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x17c], eax
cmp dword [ebp - 0x64], edi
jb 0x41383a
mov edx, dword [ebp - 0x78]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464a98
lea esi, [ebp - 0xb0]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413863
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x180], eax
cmp dword [ebp - 0x9c], edi
jb 0x41388e
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464aa8
lea esi, [ebp - 0xe8]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x4138c0
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x184], eax
cmp dword [ebp - 0xd4], edi
jb 0x4138eb
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464ac4
lea esi, [ebp - 0x120]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x41391d
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x188], eax
cmp dword [ebp - 0x10c], edi
jb 0x413948
mov edx, dword [ebp - 0x120]
push edx
call fcn.00423933
add esp, 4
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
mov dword [ebp - 0x1bc], 0xd1e
mov dword [ebp - 0x1c0], 0x6572
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b0], eax
fild dword [ebp - 0x1b0]
fmul qword [0x464f30]
call fcn.004254f0
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b0], ecx
fild dword [ebp - 0x1b0]
mov dword [ebp - 0x1b0], edx
sub esp, 8
fmulp st(1)
fild dword [ebp - 0x1b0]
faddp st(1)
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [esp]
push str._lf_
call fcn.00423a88
add esp, 0xc
mov eax, 0x464adc
lea esi, [ebp - 0x158]
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x4139f2
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x18c], eax
cmp dword [ebp - 0x144], edi
jb 0x413a1d
mov edx, dword [ebp - 0x158]
push edx
call fcn.00423933
add esp, 4
fld qword [0x465310]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
call fcn.00423b90
fadd qword [0x464f30]
fstp qword [ebp - 0x1c4]
fld qword [ebp - 0x1c4]
fmul qword [0x465308]
fadd qword [0x464f18]
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1c4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x413a96
fld qword [ebp - 0x1b4]
fdiv qword [ebp - 0x1c4]
fstp qword [ebp - 0x1b4]
mov eax, 0x464af0
lea esi, [ebp - 0x1ac]
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413aad
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x190], eax
cmp dword [ebp - 0x198], edi
jb 0x413ad8
mov edx, dword [ebp - 0x1ac]
push edx
call fcn.00423933
add esp, 4
mov eax, 0x464b04
lea esi, [ebp - 0x190]
mov dword [ebp - 0x198], 0xf
mov dword [ebp - 0x19c], 0
mov byte [ebp - 0x1ac], 0
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413b0a
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x194], eax
cmp dword [ebp - 0x17c], edi
jb 0x413b35
mov edx, dword [ebp - 0x190]
push edx
call fcn.00423933
add esp, 4
fld qword [0x465300]
mov dword [ebp - 0x17c], 0xf
mov dword [ebp - 0x180], 0
mov byte [ebp - 0x190], 0
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
call fcn.00426fd0
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
imul eax, eax, 0x5201
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x413ba3
mov edx, dword [ebp - 0x1c0]
add edx, 0x2264
mov dword [ebp - 0x1b0], edx
fild dword [ebp - 0x1b0]
jmp 0x413bba
mov eax, dword [ebp - 0x1bc]
sub eax, 0x4ce6
mov dword [ebp - 0x1b0], eax
fild dword [ebp - 0x1b0]
fstp qword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1bc]
fld qword [ebp - 0x1b4]
push ecx
sub esp, 8
fstp qword [esp]
push str._lf__i
call fcn.00423a88
add esp, 0x10
mov eax, 0x464b1c
lea esi, [ebp - 0x5c]
call fcn.0040fb10
cmp dword [eax + 0x14], edi
jb 0x413bf4
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1b8]
mov dword [edx + 0x198], eax
cmp dword [ebp - 0x48], edi
jb 0x413c19
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00423933
add esp, 4
fld qword [0x4652f8]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
call fcn.00423b90
fadd qword [0x464f30]
fstp qword [ebp - 0x1c4]
fld qword [ebp - 0x1c4]
fmul qword [0x4652f0]
fadd qword [0x464f18]
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1c4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x413c89
fld qword [ebp - 0x1b4]
fdiv qword [ebp - 0x1c4]
fstp qword [ebp - 0x1b4]
fld qword [0x4652e8]
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
call fcn.00426fd0
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
imul ecx, ecx, 0x5796
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
test edx, edx
je 0x413cdb
mov eax, dword [ebp - 0x1c0]
add eax, 0x39dc
mov dword [ebp - 0x1b0], eax
fild dword [ebp - 0x1b0]
jmp 0x413cf3
mov ecx, dword [ebp - 0x1bc]
sub ecx, 0x29b
mov dword [ebp - 0x1b0], ecx
fild dword [ebp - 0x1b0]
fstp qword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1bc]
fld qword [ebp - 0x1b4]
push edx
sub esp, 8
fstp qword [esp]
push str._lf__i
call fcn.00423a88
fldz
fstp qword [ebp - 0x1c4]
add esp, 0x10
mov dword [ebp - 0x1bc], 0x7812
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1bc]
imul eax, ecx
lea eax, [eax + edx*2]
mov dword [ebp - 0x1b0], eax
fild dword [ebp - 0x1b0]
fsub qword [ebp - 0x1c4]
fstp qword [ebp - 0x1c4]
fld qword [ebp - 0x1c4]
fmul qword [0x464f30]
call fcn.004254f0
fstp qword [ebp - 0x1c4]
mov dword [ebp - 0x1b8], 0x750b
mov ecx, dword [ebp - 0x1b8]
imul ecx, ecx, 0x2c95
mov dword [ebp - 0x1b0], ecx
fild dword [ebp - 0x1b0]
fstp qword [ebp - 0x1c4]
sar dword [ebp - 0x1b8], 0x1f
fld qword [ebp - 0x1c4]
fmul qword [0x4652e0]
fadd qword [ebp - 0x1c4]
fstp qword [ebp - 0x1c4]
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], edx
fild dword [ebp - 0x1b0]
fmul qword [ebp - 0x1c4]
call fcn.00426fd0
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042393e
mov esp, ebp
pop ebp
ret 4