Function at 0x413230
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
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, 0x465be0
lea esi, [ebp - 0x78]
mov dword [ebp - 0x1d8], eax
call fcn.0040f860
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x413268
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp dword [ebp - 0x64], esi
jb 0x413282
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00422c9c
add esp, 4
fld qword [0x466560]
xor edx, edx
mov word [ebp - 0x78], dx
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1d4]
call fcn.00426330
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
imul eax, eax, 0x719a
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
test ecx, ecx
je 0x4132e9
mov edx, dword [ebp - 0x1d0]
add edx, 0x17f6
mov dword [ebp - 0x1d0], edx
fild dword [ebp - 0x1d0]
jmp 0x413300
mov eax, dword [ebp - 0x1e0]
sub eax, 0x4a57
mov dword [ebp - 0x1d0], eax
fild dword [ebp - 0x1d0]
fstp qword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1e0]
fld qword [ebp - 0x1d4]
push ecx
sub esp, 8
fstp qword [esp]
push 0x461808
call fcn.0042307d
add esp, 0x10
test ebx, ebx
je 0x413a94
mov eax, 0x465bfc
lea esi, [ebp - 0x13c]
call fcn.0040f840
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x41334a
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x164], eax
cmp dword [ebp - 0x128], edi
jb 0x413375
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00422c9c
add esp, 4
mov eax, 0x465c14
lea esi, [ebp - 0xcc]
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x4133a7
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x168], eax
cmp dword [ebp - 0xb8], edi
jb 0x4133d2
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465c24
lea esi, [ebp - 0x1ac]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413404
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x16c], eax
cmp dword [ebp - 0x198], edi
jb 0x41342f
mov edx, dword [ebp - 0x1ac]
push edx
call fcn.00422c9c
add esp, 4
fld dword [0x466558]
mov dword [ebp - 0x198], 0xf
mov dword [ebp - 0x19c], 0
mov byte [ebp - 0x1ac], 0
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
sub esp, 8
fmul dword [ebp - 0x1e0]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fadd qword [0x466550]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fstp dword [ebp - 0x1d0]
fld dword [ebp - 0x1d0]
fstp qword [esp]
call fcn.00422e00
fstp dword [ebp - 0x1d0]
fld dword [ebp - 0x1d0]
fmul qword [0x4661f8]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fstp qword [esp]
push 0x4621b8
call fcn.0042307d
add esp, 0xc
mov eax, 0x465c3c
lea esi, [ebp - 0x104]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x4134dc
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x170], eax
cmp dword [ebp - 0xf0], edi
jb 0x413507
mov edx, dword [ebp - 0x104]
push edx
call fcn.00422c9c
add esp, 4
fld qword [0x466548]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1d4]
call fcn.00422e40
fadd qword [0x466118]
fstp qword [ebp - 0x1e4]
fld qword [ebp - 0x1e4]
fmul qword [0x466540]
fadd qword [0x466170]
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1e4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x413580
fld qword [ebp - 0x1d4]
fdiv qword [ebp - 0x1e4]
fstp qword [ebp - 0x1d4]
mov eax, 0x465c50
lea esi, [ebp - 0x40]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413594
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x174], eax
cmp dword [ebp - 0x2c], edi
jb 0x4135b9
mov edx, dword [ebp - 0x40]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465c64
lea esi, [ebp - 0x24]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x4135df
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x178], eax
cmp dword [ebp - 0x10], edi
jb 0x413604
mov edx, dword [ebp - 0x24]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465c78
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x41362a
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x17c], eax
cmp dword [ebp - 0x48], edi
jb 0x41364f
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465c90
lea esi, [ebp - 0xb0]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413678
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x180], eax
cmp dword [ebp - 0x9c], edi
jb 0x4136a3
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465ca0
lea esi, [ebp - 0xe8]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x4136d5
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x184], eax
cmp dword [ebp - 0xd4], edi
jb 0x413700
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465cbc
lea esi, [ebp - 0x120]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413732
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x188], eax
cmp dword [ebp - 0x10c], edi
jb 0x41375d
mov edx, dword [ebp - 0x120]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465cd4
lea esi, [ebp - 0x158]
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x41378f
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x18c], eax
cmp dword [ebp - 0x144], edi
jb 0x4137ba
mov edx, dword [ebp - 0x158]
push edx
call fcn.00422c9c
add esp, 4
fld dword [0x466538]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
sub esp, 8
fmul dword [ebp - 0x1e0]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fadd qword [0x466530]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fstp dword [ebp - 0x1d0]
fld dword [ebp - 0x1d0]
fstp qword [esp]
call fcn.00422e00
fstp dword [ebp - 0x1d0]
fld dword [ebp - 0x1d0]
fmul qword [0x4661f8]
fstp dword [ebp - 0x1e0]
fld dword [ebp - 0x1e0]
fstp qword [esp]
push 0x4621b8
call fcn.0042307d
add esp, 0xc
mov eax, 0x465ce8
lea esi, [ebp - 0x190]
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413867
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x190], eax
cmp dword [ebp - 0x17c], edi
jb 0x413892
mov edx, dword [ebp - 0x190]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465cfc
lea esi, [ebp - 0x1c8]
mov dword [ebp - 0x17c], 0xf
mov dword [ebp - 0x180], 0
mov byte [ebp - 0x190], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x4138c4
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x194], eax
cmp dword [ebp - 0x1b4], edi
jb 0x4138ef
mov edx, dword [ebp - 0x1c8]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465d14
lea esi, [ebp - 0x94]
mov dword [ebp - 0x1b4], 0xf
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 0x1c8], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413921
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x198], eax
cmp dword [ebp - 0x80], edi
jb 0x413949
mov edx, dword [ebp - 0x94]
push edx
call fcn.00422c9c
add esp, 4
mov eax, 0x465d28
lea esi, [ebp - 0x174]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
call fcn.0040f840
cmp dword [eax + 0x14], edi
jb 0x413978
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x19c], eax
cmp dword [ebp - 0x160], edi
jb 0x4139a3
mov edx, dword [ebp - 0x174]
push edx
call fcn.00422c9c
add esp, 4
fld qword [0x466528]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1d4]
call fcn.00422e40
fld qword [0x466118]
fadd st(1), st(0)
fxch st(1)
fstp qword [ebp - 0x1e4]
fld qword [ebp - 0x1e4]
fmul qword [0x466520]
fadd qword [0x466170]
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1e4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x413a20
fld qword [ebp - 0x1d4]
fdiv qword [ebp - 0x1e4]
fstp qword [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0x1d7a
mov dword [ebp - 0x1d8], 0x3388
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], eax
fild dword [ebp - 0x1e0]
fmulp st(1)
call fcn.004246d0
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], ecx
fild dword [ebp - 0x1e0]
mov dword [ebp - 0x1d0], edx
sub esp, 8
fmulp st(1)
fild dword [ebp - 0x1d0]
faddp st(1)
fstp qword [ebp - 0x1d4]
fld qword [ebp - 0x1d4]
fstp qword [esp]
push 0x461938
call fcn.0042307d
add esp, 0xc
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ca7
mov esp, ebp
pop ebp
ret 4