Function at 0x4da430
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61eae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x6621f4]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x8c]
mov esi, ecx
push edi
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x10], edx
fld dword [eax]
fsub dword [esi + 0x2c]
xor ebx, ebx
mov dword [esp + 0x38], ebx
fstp dword [esp + 0x18]
fld dword [eax + 4]
fsub dword [esi + 0x30]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
fsub dword [esi + 0x34]
fst dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push eax
call fcn.005917c0
fcom dword [0x622c08]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4da4f2
fld dword [0x6222d4]
fdiv st(1)
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp dword [esp + 0x14]
jmp 0x4da4fc
fstp st(0)
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.004cc500
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.00457520
fstp st(0)
fld dword [esp + 0x2c]
fcomp dword [0x622c08]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4da531
fchs
fcomp dword [0x6222d4]
fld dword [esp + 0x2c]
fnstsw ax
and eax, 0x4100
jne 0x4da565
fcomp dword [0x622c08]
mov byte [esp + 0x38], bl
fnstsw ax
test ah, 5
jp 0x4da55d
fld dword [0x622fc8]
jmp 0x4da585
fld dword [0x622c08]
jmp 0x4da585
call fcn.0060a580
fld dword [esp + 0x24]
fcomp dword [0x622c08]
fnstsw ax
test ah, 5
jp 0x4da581
fsubr dword [0x622f70]
mov byte [esp + 0x38], bl
mov edx, dword [esi + 0x54]
fstp dword [esi + 0x44]
fld dword [edx + 0x20]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
mov eax, dword [esp + 0x18]
mov dword [esi + 0x58], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x5c], ecx
mov ecx, esi
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x10]
mov dword [esi + 0x60], edx
fadd dword [esi + 0x2c]
fstp dword [esi + 0x2c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x10]
fadd dword [esi + 0x30]
fstp dword [esi + 0x30]
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fadd dword [esi + 0x34]
fstp dword [esi + 0x34]
fld dword [esp + 0x10]
fmul dword [esi + 0x6c]
mov eax, dword [esi]
fadd dword [esi + 0x2c]
fstp dword [esi + 0x2c]
fld dword [esp + 0x10]
fmul dword [esi + 0x74]
fadd dword [esi + 0x34]
fstp dword [esi + 0x34]
call dword [eax + 0x5c]
mov ecx, dword [0x6621f4]
mov edx, dword [esi + 0x2c]
lea edi, [esi + 0x9c]
mov ebp, dword [ecx + 0x64]
push edi
mov dword [edi], edx
mov eax, dword [esi + 0x30]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x34]
mov dword [edi + 8], ecx
mov ecx, ebp
call fcn.0045caa0
test al, al
je 0x4da6e1
push edi
mov ecx, ebp
call fcn.0045c560
test al, al
je 0x4da6e1
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dx, word [edi + 0xc]
mov byte [esp + 0x38], 2
mov ecx, dword [eax + edx*4]
lea edx, [esp + 0x10]
add ecx, 4
push edx
push edi
lea ebp, [ecx + 0x1c]
call fcn.00459710
push 2
mov ecx, ebp
call fcn.0045b830
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
mov byte [ebp + 0xa], 0xff
call fcn.0045b7e0
mov ecx, eax
add ecx, 0x665240
call fcn.0045d7e0
test al, al
sete al
test al, al
je 0x4da6e1
mov ecx, dword [esi + 0x54]
fld dword [esp + 0x14]
fcomp dword [ecx + 0x168]
fnstsw ax
test ah, 0x41
jp 0x4da6c7
mov edx, dword [esi + 0x1d4]
and edx, 0xfffffffa
or edx, 2
mov dword [esi + 0x1d4], edx
jmp 0x4da70b
mov byte [esi + 0x1a5], 0x29
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [0x6621d8]
mov dword [esi + 0x58], eax
mov ecx, dword [0x6621dc]
mov dword [esi + 0x5c], ecx
mov edx, dword [0x6621e0]
mov dword [esi + 0x60], edx
mov eax, dword [esi + 0x1d4]
and al, 0xfa
or al, 2
mov dword [esi + 0x1d4], eax
mov ecx, dword [esp + 0x30]
mov byte [esi + 0x1a5], 0x2c
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret