Function at 0x50f080
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x961870]
push ebx
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push esi
push edi
jae 0x50f0c1
mov dword [ecx], str.TtCapsCaps
rdtsc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ecx, dword [ebp + 0x10]
fld dword [ecx + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
fst dword [esp + 0xfc]
push fcn.004458bd
fst dword [esp + 0x130]
push 2
fstp dword [esp + 0x164]
push 0x10
lea edx, [esp + 0xdc]
push edx
call fcn.004017fd
fld dword [esi + 0x10]
fld dword [esi + 0x14]
mov eax, dword [edi + 8]
fld dword [esi + 0x18]
add eax, 0x20
fld st(2)
fmul dword [eax]
fld st(1)
fmul dword [eax + 0x20]
faddp st(1)
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0xd0]
fld st(2)
fmul dword [eax + 4]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0xd4]
fxch st(2)
fmul dword [eax + 8]
fxch st(2)
fmul dword [eax + 0x28]
faddp st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
mov dword [esp + 0xdc], 0
fstp dword [esp + 0xd8]
fld dword [esi + 0x20]
fld dword [esi + 0x24]
fld dword [esi + 0x28]
fld st(2)
fmul dword [eax]
fld st(1)
fmul dword [eax + 0x20]
faddp st(1)
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0xe0]
fld st(2)
fmul dword [eax + 4]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0xe4]
fxch st(2)
fmul dword [eax + 8]
fxch st(2)
fmul dword [eax + 0x28]
faddp st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
mov dword [esp + 0xec], 0
fstp dword [esp + 0xe8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 8]
add eax, 0x20
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0x14]
fld dword [esp + 0x1c]
fmul dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
fmul dword [eax + 0x20]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [eax + 0x30]
fld dword [esp + 0x1c]
fmul dword [eax + 4]
fld dword [esp + 0x28]
fmul dword [eax + 0x24]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0xb4]
fld dword [esp + 0x1c]
fmul dword [eax + 8]
fld dword [esp + 0x28]
fmul dword [eax + 0x28]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
fstp dword [esp + 0xb8]
fld dword [edx + 0x20]
fld dword [edx + 0x24]
fld dword [edx + 0x28]
fld st(2)
fmul dword [eax]
fld st(1)
fmul dword [eax + 0x20]
faddp st(1)
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0xc0]
fld st(2)
fmul dword [eax + 4]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0xc4]
fxch st(2)
fmul dword [eax + 8]
fxch st(2)
fmul dword [eax + 0x28]
faddp st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc0]
fsub st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0xc4]
fsub dword [esp + 0xb4]
fstp dword [esp + 0x34]
fld dword [esp + 0xc8]
fsub dword [esp + 0xb8]
fstp dword [esp + 0x38]
mov dword [esp + 0x3c], 0
fld dword [esp + 0xe0]
mov dword [esp + 0x5c], 0
fsub dword [esp + 0xd0]
fstp dword [esp + 0x50]
fld dword [esp + 0xe4]
fsub dword [esp + 0xd4]
fstp dword [esp + 0x54]
fld dword [esp + 0xe8]
fsub dword [esp + 0xd8]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fmul dword [esp + 0x38]
fld dword [esp + 0x54]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x30]
faddp st(1)
fst dword [esp + 0x4c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50f3fd
fld dword [esp + 0x4c]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
fchs
fstp dword [esp + 0x4c]
mov dword [esp + 0x94], eax
fld dword [esp + 0x30]
mov eax, dword [esp + 0xc4]
fchs
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xc8]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
mov dword [esp + 0xb4], eax
fchs
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x94]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
mov dword [esp + 0x3c], 0
fchs
mov dword [esp + 0xc4], ecx
fstp dword [esp + 0x38]
fstp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fld dword [esp + 0xc0]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc8], eax
fld dword [esp + 0xd0]
fsub st(1)
fld dword [esp + 0xd4]
fsub dword [esp + 0xb4]
fld dword [esp + 0xd8]
fsub dword [esp + 0xb8]
fld dword [esp + 0x38]
fmul st(1)
fld st(2)
fmul dword [esp + 0x34]
faddp st(1)
fld st(3)
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x88]
fmul dword [esp + 0x58]
fxch st(1)
fmul dword [esp + 0x54]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x8c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fst dword [esp + 0x2c]
fmul dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fsub dword [esp + 0x20]
fabs
fld dword [esp + 0x2c]
fmul dword [esp + 0x88]
fld dword [esp + 0x8c]
fmul dword [esp + 0x4c]
fsubp st(1)
fst dword [esp + 0x18]
fmul st(1)
fld st(1)
fmul st(2)
fcompp
fnstsw ax
test ah, 0x41
jnp 0x50f526
fld dword [esp + 0x18]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jp 0x50f501
fld dword [0x641de0]
mov ebx, 2
jmp 0x50f531
fld dword [esp + 0x1c]
fabs
fadd dword [esp + 0x20]
fmul dword [0x65c440]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x50f526
fld dword [esp + 0x18]
xor ebx, ebx
fdiv st(1)
jmp 0x50f531
fld dword [0x6419bc]
mov ebx, 1
fld dword [esp + 0x4c]
fmul st(1)
fsub dword [esp + 0x8c]
fst dword [esp + 0x14]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
jne 0x50f55c
mov dword [esp + 0x14], 0x3f800000
mov ebx, 4
jmp 0x50f57a
fld dword [esp + 0x14]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jp 0x50f5cb
mov dword [esp + 0x14], 0
mov ebx, 8
fstp st(0)
fld dword [esp + 0x14]
fmul dword [esp + 0x4c]
fadd dword [esp + 0x88]
fst dword [esp + 0x18]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jp 0x50f5a7
fld dword [0x641de0]
or ebx, 2
jmp 0x50f5d7
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x50f5c1
fld dword [0x6419bc]
or ebx, 1
jmp 0x50f5d7
fld dword [esp + 0x18]
fdiv dword [esp + 0x28]
jmp 0x50f5d7
fld dword [esp + 0x14]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fmul st(1)
fadd st(3)
fstp dword [esp + 0x90]
fld dword [esp + 0x34]
fmul st(1)
fadd dword [esp + 0xb4]
fstp dword [esp + 0x94]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0xb8]
fstp dword [esp + 0x98]
fmul dword [0x641de0]
fld dword [esp + 0x50]
fmul dword [esp + 0x14]
fadd dword [esp + 0xd0]
fld dword [esp + 0x54]
fmul dword [esp + 0x14]
fadd dword [esp + 0xd4]
fld dword [esp + 0x58]
fmul dword [esp + 0x14]
fadd dword [esp + 0xd8]
fstp dword [esp + 0x78]
fld dword [esp + 0x14]
fmul dword [0x641de0]
fstp dword [esp + 0x7c]
fld dword [esp + 0x90]
fsub st(2)
fstp dword [esp + 0x60]
fld dword [esp + 0x94]
fsub st(1)
fstp dword [esp + 0x64]
fstp st(0)
fstp st(0)
fld dword [esp + 0x98]
fsub dword [esp + 0x78]
fstp dword [esp + 0x68]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x6c]
fld dword [esp + 0xa4]
fadd dword [edx + 0xc]
fld dword [esp + 0xfc]
fadd st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
fld dword [esp + 0x64]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x60]
faddp st(1)
fst dword [esp + 0x20]
fld st(1)
fmul st(2)
fxch st(1)
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50fcc4
fld dword [esp + 0x20]
mov eax, dword [esp + 0x64]
fsqrt
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x108], ecx
fld dword [esp + 0x20]
fcomp dword [0x65c40c]
fnstsw ax
test ah, 5
jp 0x50f788
fld dword [esp + 0x30]
xor ecx, ecx
fabs
mov esi, 1
fld dword [esp + 0x34]
fabs
mov edi, 2
fst dword [esp + 0x24]
fld dword [esp + 0x38]
fabs
fstp dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50f74f
fstp st(0)
xor esi, esi
fld dword [esp + 0x24]
mov ecx, 1
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50f765
mov edi, ecx
mov ecx, 2
fld dword [esp + esi*4 + 0x30]
mov dword [esp + ecx*4 + 0x100], 0
mov ecx, dword [esp + edi*4 + 0x30]
fchs
mov dword [esp + esi*4 + 0x100], ecx
fstp dword [esp + edi*4 + 0x100]
fld dword [esp + 0x108]
fmul dword [esp + 0x108]
fld dword [esp + 0x104]
fmul dword [esp + 0x104]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x100]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50f7d1
fsqrt
fdivr dword [0x6419bc]
jmp 0x50f7d9
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x100]
fmul st(1)
fstp dword [esp + 0x100]
fld dword [esp + 0x104]
fmul st(1)
fstp dword [esp + 0x104]
fld dword [esp + 0x108]
fmul st(1)
fstp dword [esp + 0x108]
fld dword [esp + 0x10c]
fmul st(1)
fstp dword [esp + 0x10c]
fstp st(0)
fld dword [esp + 0xa4]
fsub st(1)
fld dword [esp + 0x100]
fmul st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0xf0]
fld dword [esp + 0x104]
fmul st(1)
fadd dword [esp + 0x94]
fstp dword [esp + 0xf4]
fld dword [esp + 0x108]
fmul st(1)
fadd dword [esp + 0x98]
fstp dword [esp + 0xf8]
fstp st(0)
fsub st(1)
fstp dword [esp + 0xfc]
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [0x643224]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x50fcc8
fld dword [0x6419bc]
mov eax, dword [esp + 0xb4]
fdiv dword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], 0
xor esi, esi
mov eax, 0xa
lea ecx, [esp + 0x138]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x20]
fmul dword [esp + 0x28]
fstp dword [esp + 0xac]
fld dword [esp + 0xd0]
fld dword [esp + 0x8c]
fchs
fstp dword [esp + 0x18]
lea ebx, [ebx]
test ebx, eax
jne 0x50fbec
fld dword [esp + 0x18]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jne 0x50f9d7
fld dword [esp + 0x18]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x50fbec
fld dword [esp + 0x14]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jne 0x50f998
fld dword [esp + 0x14]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x50fbec
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fmul dword [esp + 0xac]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fmul dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 5
jnp 0x50f9fb
fld dword [esp + 0x18]
fmul dword [esp + 0xac]
fld dword [esp + 0x50]
fmul st(1)
faddp st(2)
fld dword [esp + 0x54]
fmul st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x58]
fmul st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
jmp 0x50fa31
fld dword [esp + 0x14]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jne 0x50fa33
fld dword [esp + 0x14]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x50fbec
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fld dword [esp + 0x30]
fmul st(1)
faddp st(3)
fld dword [esp + 0x34]
fmul st(1)
fadd dword [esp + 0x74]
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x7c]
fstp st(0)
fld st(1)
fsubrp st(1)
fld dword [esp + 0x74]
fsub dword [esp + 0x64]
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
fsub dword [esp + 0x68]
fstp dword [esp + 0x98]
fld dword [esp + 0x7c]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x9c]
fld dword [esp + 0xa4]
fadd dword [edx + 0xc]
fst dword [esp + 0x24]
fadd dword [ecx - 0xc]
fld st(1)
fmul st(2)
fld dword [esp + 0x98]
fmul dword [esp + 0x98]
faddp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x94]
faddp st(1)
fst dword [esp + 0x88]
fld st(1)
fmul st(2)
fxch st(1)
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50fbec
fld dword [esp + 0x88]
mov eax, dword [esp + 0x94]
fsqrt
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x98]
mov dword [ecx], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 4], eax
fstp dword [esp + 0x8c]
fstp dword [ecx - 8]
fld dword [esp + 0x88]
fcomp dword [0x65c40c]
fnstsw ax
test ah, 0x41
jne 0x50fb58
fld dword [ecx]
fld dword [ecx - 4]
fld dword [ecx - 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50fb32
fsqrt
fdivr dword [0x6419bc]
jmp 0x50fb3a
fstp st(0)
fld dword [0x641de0]
fld st(0)
fmul dword [ecx - 8]
fstp dword [ecx - 8]
fld st(0)
fmul dword [ecx - 4]
fstp dword [ecx - 4]
fld st(0)
fmul dword [ecx]
fstp dword [ecx]
fmul dword [ecx + 4]
fstp dword [ecx + 4]
jmp 0x50fb7f
mov eax, dword [esp + 0x100]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x104]
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x108]
mov dword [ecx], eax
mov eax, dword [esp + 0x10c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x74]
fst dword [ecx - 0x18]
fld dword [esp + 0xa4]
mov dword [ecx - 0x14], eax
fsub dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
mov dword [ecx - 0x10], eax
mov eax, dword [esp + 0x7c]
fst dword [esp + 0x1c]
mov dword [ecx - 0xc], eax
fmul dword [ecx - 8]
fadd st(1)
fstp dword [ecx - 0x18]
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [ecx - 4]
fadd dword [esp + 0x74]
fstp dword [ecx - 0x14]
fld dword [esp + 0x1c]
fmul dword [ecx]
fadd dword [esp + 0x78]
fstp dword [ecx - 0x10]
fld dword [esp + 0x1c]
fmul dword [ecx + 4]
fadd dword [esp + 0x7c]
fstp dword [ecx - 0xc]
fld dword [esp + 0x8c]
fsub dword [esp + 0x24]
fstp dword [ecx - 0xc]
jmp 0x50fbf0
fstp st(0)
fstp st(0)
cmp esi, 1
je 0x50fcca
fld dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
fld dword [esp + 0xe0]
mov dword [esp + 0x74], eax
fld dword [esp + 0x2c]
mov eax, dword [esp + 0xc8]
fsub dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x64], eax
fsub dword [esp + 0x4c]
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xec]
fstp dword [esp + 0x18]
mov dword [esp + 0x6c], eax
fld dword [esp + 0x28]
add ecx, 0x30
fsub dword [esp + 0x14]
mov dword [esp + 0x7c], 0
inc esi
mov eax, 5
fsub dword [esp + 0x4c]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fchs
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fchs
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x50]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fchs
fstp dword [esp + 0x5c]
jmp 0x50f920
fstp st(0)
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0xa8]
add edi, 0xc
lea esi, [esp + 0xf8]
mov dword [esp + 0x24], 3
fld dword [esi + 4]
mov edx, dword [ebp + 0x10]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x50fd8f
cmp word [edi], 0xffff
jne 0x50fd27
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
lea ebx, [esi - 8]
push ebx
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call dword [eax + 4]
cmp ax, 0xffff
mov word [edi], ax
je 0x50fdaf
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
and ecx, 0x7fffffff
cmp eax, ecx
jne 0x50fd47
push 0x30
push ebx
call fcn.0054d2c0
add esp, 8
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, edx
inc ecx
mov dword [ebx + 4], ecx
mov edx, dword [esi - 8]
mov dword [eax], edx
mov ecx, dword [esi - 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
mov dword [eax + 8], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 8]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x1c], ecx
mov dx, word [edi]
mov word [eax + 0x20], dx
jmp 0x50fdaf
xor eax, eax
mov ax, word [edi]
cmp ax, 0xffff
je 0x50fdaf
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov word [edi], 0xffff
mov eax, dword [esp + 0x24]
add edi, 2
add esi, 0x30
dec eax
mov dword [esp + 0x24], eax
jne 0x50fce3
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x50fdee
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10