Function at 0x42c740
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x83749e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x30], edi
xor bl, bl
call fcn.00821b1e
and eax, 0xffff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x858b14]
fmul dword [0x858628]
call fcn.00821b40
xor ecx, ecx
cmp eax, 0x32
movsx eax, word [edi + 0x22]
mov eax, dword [eax*4 + 0xa9b0c8]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x24]
mov ax, word [edi + 0x20]
setg cl
xor ebp, ebp
mov dword [esp + 0x18], edx
mov word [edi + 0x45e], ax
mov dword [esp + 0x1c], ebp
add ecx, 2
cmp ecx, ebp
mov dword [esp + 0x34], ecx
jle 0x42cbb6
push esi
lea esp, [esp]
movsx ecx, word [edi + 0x22]
push 1
push ecx
call fcn.00421440
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x42cba0
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
inc edx
cmp eax, ebp
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld st(0)
fmul dword [eax + 0x18]
fld st(1)
fmul dword [eax + 0x14]
fstp dword [esp + 0x14]
fxch st(1)
fmul dword [eax + 0x10]
fstp dword [esp + 0x58]
fld dword [esp + 0x1c]
fadd st(0), st(0)
fadd dword [0x858fa0]
fstp dword [esp + 0x10]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x58]
fmul dword [esp + 0x10]
fstp dword [esp + 0x70]
je 0x42c845
add eax, 0x30
jmp 0x42c848
lea eax, [edi + 4]
fsubr dword [eax + 8]
push ebp
fld dword [eax + 4]
push ebp
fsub dword [esp + 0x1c]
push 1
fld dword [eax]
push ebp
fsub dword [esp + 0x80]
push ebp
push ebp
push 1
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
push eax
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x48]
push 0x447a0000
push edx
mov dword [esp + 0x44], 0x4e6e6b28
call fcn.005674e0
add esp, 0x2c
test al, al
je 0x42c8be
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push 1
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x48]
push 0xc47a0000
push eax
call fcn.005674e0
add esp, 0x2c
test al, al
je 0x42c933
fld dword [esp + 0x84]
fsub dword [esp + 0x2c]
fcom dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x42c904
fchs
fld dword [esp + 0x18]
fsub dword [esp + 0x2c]
fcom dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x42c91b
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x42c933
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
mov ecx, esi
fcomp dword [0x858fec]
fnstsw ax
test ah, 0x41
jne 0x42c951
mov edx, dword [esi]
push 1
call dword [edx]
jmp 0x42cba0
mov eax, dword [esi]
call dword [eax + 0xd4]
fadd dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
push ebp
fstp dword [esp + 0x34]
push 1
push 1
push ebp
push ebp
push 2
lea ecx, [esp + 0x4c]
push ecx
push 1
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00568b80
add esp, 0x2c
cmp word [esp + 0x30], bp
jne 0x42cb98
test bl, bl
jne 0x42ca25
mov cl, byte [edi + 0x36]
movzx edx, byte [edi + 0x3d0]
and cl, 7
or cl, 0x18
mov dword [esp + 0x14], edx
lea eax, [esp + 0xa8]
fild dword [esp + 0x14]
mov byte [edi + 0x36], cl
push eax
mov ecx, edi
fstp dword [esp + 0x14]
mov byte [edi + 0x3b9], 2
call fcn.0041ccb0
lea ecx, [edi + 0x44]
fld dword [esp + 0x10]
fmul dword [eax + 8]
fld dword [esp + 0x10]
fmul dword [eax + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [eax]
fstp dword [esp + 0x64]
fmul dword [0x858b38]
fld dword [esp + 0x14]
fmul dword [0x858b38]
fld dword [esp + 0x64]
fmul dword [0x858b38]
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
mov dword [ecx], edx
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov eax, dword [edi + 0x14]
mov ecx, dword [esi + 0x14]
push eax
call fcn.0059bbc0
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
fld dword [esp + 0x28]
cmp eax, ebp
mov ecx, dword [esp + 0x24]
je 0x42ca55
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x14]
fstp dword [edx + 0x34]
mov eax, dword [esi + 0x14]
fstp dword [eax + 0x38]
jmp 0x42ca5e
fstp dword [esi + 8]
mov dword [esi + 4], ecx
fstp dword [esi + 0xc]
lea edx, [edi + 0x44]
mov ecx, dword [edx]
lea eax, [esi + 0x44]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov cl, byte [esi + 0x36]
mov dword [eax + 8], edx
movzx eax, byte [edi + 0x36]
shr eax, 3
shl al, 3
and cl, 7
or cl, al
mov al, byte [esi + 0x42b]
or al, 8
push esi
mov byte [esi + 0x36], cl
mov byte [esi + 0x42b], al
call fcn.00563220
mov eax, dword [esi + 0x590]
add esp, 4
cmp eax, 9
jne 0x42cab4
mov ecx, esi
call fcn.006beeb0
jmp 0x42cabf
cmp eax, ebp
jne 0x42cabf
mov ecx, esi
call fcn.006af420
mov edx, dword [esp + 0xc8]
push 0x63
push ebp
push 1
push ebp
push edx
push esi
call fcn.004217c0
push 0x24
call fcn.0061a5a0
add esp, 0x1c
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0xbc], ebp
je 0x42cafc
push 0x41200000
push ebp
push esi
mov ecx, eax
call fcn.0063cb10
jmp 0x42cafe
xor eax, eax
push ebp
push 4
push eax
mov eax, dword [esi + 0x460]
mov ecx, dword [eax + 0x47c]
add ecx, 4
mov dword [esp + 0xc8], 0xffffffff
call fcn.00681af0
fild dword [esp + 0x20]
mov cl, byte [edi + 0x3d0]
mov byte [esi + 0x3d0], cl
fsubr dword [edi + 0x3c8]
fst dword [esi + 0x3c8]
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x42cb50
mov dword [esi + 0x3c8], ebp
mov dl, byte [edi + 0x3b9]
mov byte [esi + 0x3b9], dl
mov al, byte [edi + 0x3ba]
mov byte [esi + 0x3ba], al
mov cx, word [edi + 0x20]
mov word [esi + 0x20], cx
mov dx, word [edi + 0x45e]
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x41c]
push eax
mov word [esi + 0x45e], dx
mov dword [eax], ecx
call fcn.00571b70
mov dword [esp + 0x34], esi
mov bl, 1
jmp 0x42cba0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x42c7d0
pop esi
mov ecx, dword [esp + 0xb0]
pop edi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret