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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov ecx, dword [ebp + 0x10]
cmp ecx, 3
push esi
mov esi, eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [eax], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 6
mov dword [eax + 0x1c], 0xd
ja case.default.0x5daa63
jmp dword [ecx*4 + 0x5dae14]
fld dword [ebp + 8]
fadd dword [0x66d5e0]
fstp dword [ebp + 8]
jmp case.0x5daa63.0
fld dword [ebp + 8]
fadd dword [0x66d5e0]
fstp dword [ebp + 8]
fld dword [ebp + 0xc]
fadd dword [0x66d5e0]
fstp dword [ebp + 0xc]
jmp case.0x5daa63.0
push 0
call fcn.0044b1f0
add esp, 4
mov eax, dword [ebx + 0x9c]
test eax, eax
mov edx, dword [ebp + 0xc]
je 0x5daac4
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0xf0]
push ecx
push edx
push eax
call fcn.00510a40
add esp, 0x10
jmp 0x5daacf
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fld dword [esp + 0x20]
mov edx, dword [ebx + 0x9c]
test edx, edx
fadd dword [ebx + 0xb0]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
je 0x5dab16
lea edx, [esp + 0x30]
push edx
mov edx, dword [ebx + 0x378]
add edx, 0x40
push edx
push ecx
push eax
call fcn.00510a40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0x10
jmp 0x5dab1e
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edx, dword [ebp + 0x14]
mov byte [edx], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edi, dword [ebx + 0xb0]
mov dword [esp + 0x54], edi
fld dword [esp + 0x54]
fmul dword [0x677858]
inc edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
add esi, 8
fstp dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x14], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], ecx
mov dword [ebp + 0x10], ecx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00510c00
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00510c00
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x4c]
push edi
push edx
push eax
push ecx
call fcn.00510c00
mov edx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
add esp, 0x3c
test edx, edx
je 0x5dabf3
lea edx, [esp + 0x38]
push edx
mov edx, dword [ebx + 0x378]
add edx, 0x40
push edx
push ecx
push eax
call fcn.00510a40
add esp, 0x10
jmp 0x5dabfb
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 0x9c]
test edx, edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
je 0x5dac28
lea edx, [esp + 0x40]
push edx
mov edx, dword [ebx + 0x378]
add edx, 0x40
push edx
push ecx
push eax
call fcn.00510a40
add esp, 0x10
jmp 0x5dac30
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov edx, dword [ebx + 0x9c]
test edx, edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
je 0x5dac5d
lea edx, [esp + 0x48]
push edx
mov edx, dword [ebx + 0x378]
add edx, 0x40
push edx
push ecx
push eax
call fcn.00510a40
add esp, 0x10
jmp 0x5dac65
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x14]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov byte [ecx], 2
mov dword [esi], eax
fcomp dword [esi]
inc ecx
mov dword [ebp + 0x14], ecx
mov dword [esi + 4], edx
fnstsw ax
test ah, 0x41
je 0x5dac8f
mov eax, dword [esi]
mov dword [esp + 0x10], eax
fld dword [esp + 0xc]
fcomp dword [esi]
fnstsw ax
test ah, 5
jnp 0x5daca2
mov edx, dword [esi]
mov dword [esp + 0xc], edx
fld dword [esp + 0x18]
fcomp dword [esi + 4]
fnstsw ax
test ah, 0x41
je 0x5dacb7
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jnp 0x5daccc
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x40]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x44]
add esi, 8
mov dword [esi], eax
fcomp dword [esi]
mov dword [esi + 4], edx
fnstsw ax
test ah, 0x41
je 0x5dacef
mov eax, dword [esi]
mov dword [esp + 0x10], eax
fld dword [esp + 0xc]
fcomp dword [esi]
fnstsw ax
test ah, 5
jnp 0x5dad02
mov edx, dword [esi]
mov dword [esp + 0xc], edx
fld dword [esp + 0x18]
fcomp dword [esi + 4]
fnstsw ax
test ah, 0x41
je 0x5dad17
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jnp 0x5dad2c
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x48]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
add esi, 8
mov dword [esi], eax
fcomp dword [esi]
mov dword [esi + 4], edx
fnstsw ax
test ah, 0x41
je 0x5dad4f
mov eax, dword [esi]
mov dword [esp + 0x10], eax
fld dword [esp + 0xc]
fcomp dword [esi]
fnstsw ax
test ah, 5
jnp 0x5dad62
mov edx, dword [esi]
mov dword [esp + 0xc], edx
fld dword [esp + 0x18]
fcomp dword [esi + 4]
fnstsw ax
test ah, 0x41
je 0x5dad77
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jnp 0x5dad8c
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x10]
add esi, 8
inc eax
cmp eax, 4
mov dword [ebp + 0x10], eax
je 0x5dadea
fld dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
fchs
mov edi, dword [esp + 0x50]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
fchs
mov dword [esp + 0x58], ecx
fstp dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
fld dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
fchs
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x1c]
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
jmp 0x5dab6d
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
mov byte [ecx], 3
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edx
pop esi
mov esp, ebp
pop ebp
ret