Function at 0x460be0
Capabilities:
Access peb ldr_data
Get number of processors
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2931
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x100], edi
mov eax, dword [ebx + 8]
fld dword [ebx + 0x28]
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x2c]
fstp dword [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x120], eax
fld dword [ebp - 0x120]
fld dword [ebx + 0x24]
fcom st(1)
mov dword [ebp - 0x130], eax
fnstsw ax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x14c], 0
fstp st(1)
test ah, 0x41
jne 0x460ca0
fstp dword [ebp - 0x120]
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
jmp 0x460ca2
fstp st(0)
mov eax, dword [ecx]
lea edx, [ebp - 0x188]
push edx
call dword [eax + 8]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x144], eax
mov dword [ebp - method.Scintilla::FontAlias.virtual_0], vtable.Scintilla::FontAlias.0
mov eax, dword [eax + 0xa14]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0xd8]
mov eax, 0x2aaaaaab
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xe0]
fld dword [ebp - 0x124]
mov ecx, dword [ecx + 0xe4]
sub ecx, esi
mov dword [ebp - 0x13c], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x461d41
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
shl ecx, 3
mov dword [ebp - 0xe4], ecx
mov eax, dword [esi + ecx + 8]
mov dword [ebp - 0xf0], eax
test eax, eax
jle 0x461c70
fst dword [ebp - 0x12c]
fild dword [ebp - 0xf0]
fstp dword [ebp - 0xf0]
fadd dword [ebp - 0xf0]
mov eax, dword [esi + ecx]
fstp dword [ebp - 0x124]
cmp eax, 1
je 0x460e15
test dword [esi + ecx + 0xc], 0xfe000000
je 0x460d9d
fld dword [ebp - 0x184]
call fcn.0059f540
mov esi, dword [ebp - 0xec]
and al, 1
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
je 0x460d94
mov eax, dword [edi + 4]
push eax
jmp 0x460e2f
mov eax, dword [edi + 8]
push eax
jmp 0x460e2f
sub eax, 2
je 0x460df8
sub eax, 1
je 0x460ddb
sub eax, 3
je 0x460dc9
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xec]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax + 0xa00]
mov edx, dword [ecx + 0x38]
push eax
jmp 0x460e2f
mov eax, dword [esi + ecx + 4]
mov esi, dword [ebp - 0xec]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x38]
jmp 0x460e2f
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xec]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax + 0x9b0]
mov edx, dword [ecx + 0x38]
push eax
jmp 0x460e2f
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xec]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax + 0x9b4]
mov edx, dword [ecx + 0x38]
push eax
jmp 0x460e2f
mov esi, dword [ebp - 0xec]
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x14]
push dword [eax + 0xa00]
mov eax, dword [ebp - 0x12c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x124]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x130]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
fld dword [ebx + 0x2c]
fadd dword [ebp - 0x184]
mov esi, dword [ebp - 0xd8]
add esi, 0x48
mov dword [ebp - 0x138], esi
call fcn.0059f540
cdq
idiv dword [esi]
mov edi, dword [ebp - 0xdc]
mov ecx, edi
mov esi, eax
mov edx, dword [edi]
mov edx, dword [edx + 4]
call edx
mov ecx, dword [ebp - 0x138]
add eax, esi
fld dword [ebp - 0x184]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx]
imul eax, esi
mov dword [ebp - 0x11c], eax
call fcn.0059f540
mov ecx, dword [ebp - 0x11c]
sub ecx, eax
mov byte [ebp - 0xc9], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + 0xe0]
test dword [eax + ecx + 0xc], 0xfe000000
je 0x461004
mov edi, dword [edi + 0x298]
mov ecx, dword [ebp - 0xdc]
add edi, 4
push dword [ebp - 0xfc]
mov eax, dword [edi]
mov ecx, dword [ecx + 0x284]
mov esi, dword [eax + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
push eax
push edi
call esi
mov edi, eax
mov dword [ebp - 0xf8], edi
test edi, 0x1000
je 0x460f8f
mov eax, dword [ebp - 0xdc]
push dword [ebp - 0xfc]
mov ecx, dword [eax + 0x284]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
call edx
mov esi, eax
mov eax, edi
test esi, esi
jle 0x460f72
mov edi, dword [ebp - 0xdc]
lea ecx, [ecx]
test eax, 0x1000
je 0x460f6c
mov ecx, dword [edi + 0x298]
dec esi
add ecx, 4
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test esi, esi
jg 0x460f50
mov edi, dword [ebp - 0xf8]
test eax, 0x2000
jne 0x460f8f
and eax, 0xfff
and edi, 0xfff
cmp edi, eax
jae 0x460f8f
mov byte [ebp - 0xc9], 1
mov eax, dword [ebp - 0x100]
cmp byte [eax + 0x1c], 0
je 0x461004
mov ecx, dword [ebp - 0xdc]
mov edi, dword [ecx + 0x284]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, dword [ebx + 0xc]
mov ecx, edi
push eax
call esi
lea esi, [eax + 1]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax + 0x260]
mov ecx, dword [eax + 0x238]
add edx, edx
mov edi, dword [eax + 0x298]
mov edx, dword [ecx + edx*8]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x80]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 0x100]
mov ecx, edi
push esi
add edx, 0xc
mov byte [ebp - 4], 0
push eax
push edx
call fcn.00422510
push dword [ebp - 0xd8]
mov edx, 0x1f
lea ecx, [edx - 5]
call fcn.00460bc0
add esp, 4
mov dword [ebp - 0x1a8], eax
lea edx, [ecx + 4]
lea ecx, [edx - 5]
push dword [ebp - 0xd8]
call fcn.00460bc0
mov esi, dword [ebp - 0xdc]
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, dword [esi + 0x284]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, dword [ebp - 0xfc]
cmp edi, eax
jge 0x461c6a
jmp 0x461060
fild dword [ebp - 0xf0]
fstp dword [ebp - 0xf0]
fld dword [ebp - 0xf0]
fstp dword [ebp - 0xf8]
fld dword [ebp - 0xf8]
fld dword [ebx + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x461c6a
mov ecx, dword [esi + 0x284]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x284]
mov edi, eax
push edi
mov dword [ebp - 0xf0], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov esi, eax
mov eax, dword [ebp - 0xdc]
push edi
mov ecx, dword [eax + 0x284]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
call edx
cmp dword [ebp - 0xfc], esi
mov dword [ebp - 0x144], eax
sete byte [ebp - 0xdd]
cmp dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xdc]
push edi
sete byte [ebp - 0xf1]
mov ecx, dword [eax + 0x298]
call fcn.004212d0
xor ecx, ecx
mov byte [ebp - 0xe5], 0
cmp dword [ebp - 0xfc], esi
setne cl
dec ecx
and ecx, eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + 0xe0]
test dword [eax + ecx + 0xc], 0xfe000000
je 0x46140f
mov esi, dword [ebp - 0xdc]
push edi
mov ecx, dword [esi + 0x298]
add ecx, 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, dword [esi + 0x298]
add edx, 4
mov dword [ebp - 0x108], eax
lea eax, [edi + 1]
push eax
push edx
mov ecx, dword [edx]
mov dword [ebp - 0x104], eax
call dword [ecx + 0x1c]
mov edx, eax
mov eax, dword [ebp - 0x108]
mov esi, eax
mov ecx, edx
and esi, 0xfff
and ecx, 0xfff
mov dword [ebp - 0x108], esi
test eax, 0x2000
je 0x46132d
cmp byte [ebp - 0xdd], 0
je 0x461212
cmp esi, ecx
jae 0x46122e
mov eax, dword [ebp - 0xdc]
push edi
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4611e7
cmp esi, 0x400
jne 0x4611d0
or dword [ebp - 0xd0], 0x80000000
jmp 0x461240
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x1a8]
bts eax, ecx
mov dword [ebp - 0xd0], eax
jmp 0x461240
cmp esi, 0x400
jne 0x4611fb
or dword [ebp - 0xd0], 0x40000000
jmp 0x461240
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x1a4]
bts eax, ecx
mov dword [ebp - 0xd0], eax
jmp 0x461240
cmp esi, ecx
jae 0x46122e
mov eax, dword [ebp - 0xdc]
push edi
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x461236
cmp esi, 0x400
jbe 0x461240
or dword [ebp - 0xd0], 0x20000000
mov eax, dword [ebp - 0xdc]
push dword [ebp - 0x104]
mov byte [ebp - 0xc9], 0
mov edi, dword [eax + 0x284]
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
call eax
push eax
mov ecx, edi
call esi
mov esi, dword [ebp - 0xdc]
mov edi, eax
push edi
mov dword [ebp - 0xd4], edi
mov edx, dword [esi + 0x298]
add edx, 4
push edx
mov ecx, dword [edx]
call dword [ecx + 0x1c]
mov esi, dword [esi + 0x298]
add esi, 4
mov dword [ebp - 0x104], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
call edx
mov edi, dword [ebp - 0xf0]
mov esi, eax
mov eax, dword [ebp - 0xdc]
and esi, 0xfff
push edi
mov ecx, dword [eax + 0x284]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
call edx
test al, al
jne 0x46140f
test dword [ebp - 0x104], 0x1000
je 0x4612e8
cmp dword [ebp - 0x108], esi
jbe 0x4612e8
mov byte [ebp - 0xc9], 1
mov edx, dword [ebp - 0x100]
cmp byte [edx + 0x1c], 0
je 0x46140f
mov eax, dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x46140f
mov ecx, dword [ebp - 0xd4]
cmp eax, ecx
jg 0x46140f
cmp ecx, dword [edx + 0x10]
mov edx, dword [ebp - 0xd0]
jg 0x461415
mov byte [ebp - 0xe5], 1
jmp 0x461415
test eax, 0x1000
je 0x4613aa
cmp byte [ebp - 0xc9], 0
je 0x46137d
test edx, 0x1000
je 0x461357
mov edx, dword [ebp - 0xd0]
mov eax, 0x20000000
or edx, eax
jmp 0x461415
mov byte [ebp - 0xc9], 0
mov eax, 0x8000000
cmp ecx, 0x400
ja 0x461370
mov eax, 0x10000000
mov edx, dword [ebp - 0xd0]
or edx, eax
jmp 0x461415
cmp esi, 0x400
jbe 0x46140f
mov edx, dword [ebp - 0xd0]
cmp ecx, esi
jae 0x461407
mov eax, 0x400
cmp eax, ecx
sbb eax, eax
and eax, 0xf8000000
add eax, 0x10000000
or edx, eax
jmp 0x461415
cmp esi, 0x400
jbe 0x46140f
cmp ecx, esi
jae 0x461401
mov byte [ebp - 0xc9], 0
test edx, 0x1000
je 0x4613db
mov byte [ebp - 0xc9], 1
mov edx, dword [ebp - 0xd0]
mov eax, 0x20000000
or edx, eax
jmp 0x461415
cmp byte [ebp - 0xf1], 0
je 0x4613cc
mov edx, dword [ebp - 0xd0]
mov eax, 0x400
cmp eax, ecx
sbb eax, eax
and eax, 0xf8000000
add eax, 0x10000000
or edx, eax
jmp 0x461415
mov edx, dword [ebp - 0xd0]
or edx, 0x20000000
jmp 0x461415
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0xe0]
mov eax, dword [ebp - 0xe4]
and edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xd0], edx
mov eax, dword [eax]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
mov eax, dword [ebp - 0xe4]
fstp dword [ebp - 0xd4]
fld dword [ebp - 0x12c]
fstp dword [ebp - 0x118]
fld dword [ebp - 0xf8]
fstp dword [ebp - 0x114]
fld dword [ebp - 0x124]
fst dword [ebp - 0x110]
fld dword [ebp - 0xd4]
fstp dword [ebp - 0x10c]
mov eax, dword [ecx + eax]
cmp eax, 1
jne 0x461907
cmp byte [ebp - 0xdd], 0
je 0x46182a
xor ecx, ecx
mov esi, 0xf
fstp st(0)
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0xb0], cl
mov byte [ebp - 4], 2
test edi, edi
js 0x461583
lea edx, [edi + 1]
lea ecx, [ebp - 0x17]
test edx, edx
jns 0x4614e1
neg edx
call fcn.0045c300
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x4614e8
call fcn.0045c300
mov ecx, eax
xor eax, eax
mov esi, 0xf
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xc8], al
lea eax, [ebp - 0x17]
mov dword [ebp - 0xb4], esi
cmp ecx, eax
je 0x46152f
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0040af10
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xf8], eax
or dword [ebp - 0x14c], 3
lea ecx, [ebp - 0xb0]
call fcn.0040a8e0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], esi
mov eax, dword [ebp - 0xdc]
test byte [eax + 0x278], 0xc0
je 0x461658
push 0x64
lea eax, [ebp - 0x98]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov ecx, dword [eax + 0x298]
add ecx, 4
test byte [eax + 0x278], 0x40
push edi
push ecx
mov eax, dword [ecx]
je 0x46160b
call dword [eax + 0x1c]
mov ecx, eax
mov edx, eax
sar ecx, 0x10
and edx, 0xfff
push ecx
mov ecx, eax
and eax, 0x2000
shr ecx, 9
not cl
and ecx, 8
or ecx, 0x57
neg eax
push edx
sbb eax, eax
and eax, 0xffffffe9
push ecx
add eax, 0x5f
push eax
lea eax, [ebp - 0x98]
push str._c_c__03X__03X
push eax
call fcn.004025c0
add esp, 0x18
jmp 0x461623
call dword [eax + 0x24]
push eax
lea eax, [ebp - 0x98]
push 0x5af1a4
push eax
call fcn.004025c0
add esp, 0xc
lea ecx, [ebp - 0x98]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461630
sub ecx, edx
lea eax, [ebp - 0x98]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040af10
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xb0]
cmp esi, 0x10
jb 0x4616b6
mov eax, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xec]
push ecx
push eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1ac], ecx
mov ecx, esi
push eax
call dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xb0]
fstp dword [ebp - 0xd4]
fld dword [ebp - 0x164]
fsub dword [ebp - 0xd4]
fild dword [ecx + 0x17c]
fstp dword [ebp - 0xd4]
fsub dword [ebp - 0xd4]
cmp dword [ebp - 0x9c], 0x10
fstp dword [ebp - 0x16c]
jb 0x46171e
mov eax, dword [ebp - 0xb0]
fild dword [ecx + 0x50]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18c], eax
mov eax, dword [ecx + 0x50]
test eax, eax
jns 0x461740
fadd dword [0x5de510]
fstp dword [ebp - 0xd4]
fld dword [ebp - 0xd4]
fadd dword [ebp - 0x168]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - method.Scintilla::FontAlias.virtual_0], vtable.Scintilla::FontAlias.0
mov eax, dword [ecx + 0xa14]
fstp dword [ebp - 0xd4]
mov dword [ebp - 0x150], eax
fld dword [ebp - 0xd4]
mov byte [ebp - 4], 3
push dword [ecx + 0xa00]
mov eax, dword [esi]
push dword [ecx + 0x9fc]
push dword [ebp - 0x18c]
mov edx, dword [eax + 0x58]
lea eax, [ebp - 0x154]
push dword [ebp - 0x190]
push ecx
fstp dword [esp]
push eax
mov eax, dword [ebp - 0x16c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x150], 0
mov dword [ebp - method.Scintilla::Font.virtual_0], vtable.Scintilla::Font.0
cmp edx, 0x10
jb 0x461b5d
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46181b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461d30
push edx
push ecx
call fcn.0059e222
add esp, 8
jmp 0x461b5d
mov ecx, dword [ebp - 0xd8]
test byte [ecx + 0x18c], 4
je 0x461b5b
mov eax, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x100]
fild dword [eax + 0x20]
fstp dword [ebp - 0xd4]
fsub dword [ebp - 0xd4]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x24]
test eax, eax
fstp dword [ebp - 0xd4]
fld dword [ebp - 0xd4]
fst dword [ebp - 0x198]
fsub dword [edx + 0x9f0]
mov dword [ebp - 0xd4], eax
fstp dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a0]
jne 0x4618cf
sub esp, 0x10
mov ecx, esp
push dword [edx + 0x9fc]
mov dword [ecx], eax
xor dl, dl
mov eax, dword [ebp - 0x198]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xec]
call fcn.00460a80
add esp, 0x14
jmp 0x461b5d
push dword [edx + 0x9fc]
push 0
sub esp, 0x10
mov ecx, esp
push dword [ebp - 0xec]
mov dword [ecx], eax
mov eax, dword [ebp - 0x198]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
call dword [ebp - 0xd4]
add esp, 0x1c
jmp 0x461b5d
fstp st(0)
cmp eax, 4
je 0x461917
cmp eax, 5
jne 0x461b5d
push edi
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 0x298]
call fcn.004263a0
cmp dword [ebp - 0x17c], 0
je 0x461b5d
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0x180]
push ecx
mov ecx, eax
mov esi, dword [eax + 0x140]
mov edx, esi
call fcn.00451c20
add esp, 4
test al, al
je 0x461b5d
cmp byte [ebp - 0xdd], 0
je 0x461ac0
cmp byte [ebp - 0x178], 0
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov edx, dword [eax + 0x38]
je 0x461990
mov eax, dword [ebp - 0x170]
movzx eax, byte [eax]
jmp 0x461996
mov eax, dword [ebp - 0x174]
add eax, esi
imul ecx, eax, 0x4c
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x14]
push dword [ecx + eax + 0x34]
mov eax, dword [ebp - 0x118]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xec]
call edx
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov eax, dword [edx + 0xe0]
cmp dword [edi + eax], 5
mov edi, dword [ebp - 0xf0]
jne 0x461a77
fld dword [ebp - 0x110]
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0xec]
push eax
push dword [edx + 0x140]
fstp qword [ebp - 0x148]
call fcn.00451ca0
mov edx, dword [ebp - 0xd8]
add esp, 8
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
fstp dword [ebp - 0xd4]
fld dword [ebp - 0xd4]
fsubr qword [ebp - 0x148]
fsub qword [0x5de450]
fstp dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c0]
sub esp, 0x10
mov eax, esp
push 0x1ff
push dword [ebp - 0x180]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x104]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x108]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0xec]
push 0
push eax
push dword [edx + 0x140]
call fcn.00451f80
add esp, 0x24
jmp 0x461b5d
mov eax, dword [ebp - 0xdc]
push edi
mov ecx, dword [eax + 0x298]
call fcn.00426d00
test eax, eax
je 0x461b5d
mov ecx, dword [ebp - 0x144]
sub ecx, eax
cmp dword [ebp - 0xfc], ecx
jle 0x461b5d
cmp byte [ebp - 0x178], 0
mov esi, dword [ebp - 0xec]
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
je 0x461b09
mov eax, dword [ebp - 0x170]
movzx ecx, byte [eax]
jmp 0x461b0f
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x140]
add eax, ecx
imul ecx, eax, 0x4c
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x14]
push dword [ecx + eax + 0x34]
mov eax, dword [ebp - 0x118]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
jmp 0x461b5d
fstp st(0)
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x461c28
xor esi, esi
lea ecx, [ecx]
test eax, eax
je 0x461c28
test al, 1
je 0x461c11
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
mov edx, dword [ebp - 0xe4]
mov eax, dword [eax + 0xe0]
test dword [eax + edx + 0xc], 0xfe000000
je 0x461bd7
mov edx, dword [ebp - 0x100]
cmp byte [edx + 0x1c], cl
je 0x461bd1
mov eax, dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x461bd1
cmp eax, edi
jg 0x461bd1
mov edx, dword [edx + 0x10]
cmp edi, edx
jg 0x461bd1
cmp eax, edi
jge 0x461cb7
cmp edi, edx
jge 0x461cb5
mov ecx, 2
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0xe0]
push dword [eax + edx]
lea eax, [ebp - 0x15c]
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0xd8]
push dword [ebp - 0xec]
mov ecx, dword [eax + 0x24]
add ecx, esi
call fcn.0045e930
mov eax, dword [ebp - 0xd0]
sar eax, 1
add esi, 0x24
mov dword [ebp - 0xd0], eax
cmp esi, 0x480
jl 0x461b70
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x11c]
mov edi, dword [ebp - 0xfc]
add eax, dword [ecx]
inc edi
mov ecx, dword [esi + 0x284]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xfc], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp edi, eax
jl 0x461060
fld dword [ebp - 0x124]
mov eax, dword [ebp - 0xd8]
mov edi, dword [ebp - 0x13c]
inc edi
mov dword [ebp - 0x13c], edi
mov ecx, dword [eax + 0xe4]
mov esi, dword [eax + 0xe0]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x461d36
mov edi, dword [ebp - 0x100]
jmp 0x460d19
cmp eax, edi
mov edx, dword [ebp - 0x100]
jne 0x461d0f
cmp edi, dword [edx + 0x10]
jge 0x461d0f
cmp byte [ebp - 0xdd], cl
je 0x461ce0
movzx ecx, byte [ebp - 0xe5]
neg ecx
sbb ecx, ecx
and ecx, 3
inc ecx
jmp 0x461bd1
mov eax, dword [ebp - 0xdc]
push edi
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x461bcc
cmp byte [ebp - 0xe5], al
jne 0x461bcc
xor ecx, ecx
jmp 0x461bd1
cmp eax, edi
jge 0x461bd1
cmp edi, dword [edx + 0x10]
mov edx, dword [ebp - 0xe4]
jne 0x461bd7
mov ecx, 3
jmp 0x461bd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax + 0x14]
jmp 0x461d47
mov edx, dword [ebp - 0x144]
push dword [edx + 0x9b4]
mov eax, dword [ebp - 0xec]
mov edi, dword [ebx + 0x2c]
sub esp, 0x10
mov ecx, dword [ebx + 0x30]
mov edx, esp
fstp dword [ebp - 0x16c]
mov esi, dword [eax]
mov eax, dword [ebp - 0x16c]
mov dword [edx], eax
mov eax, dword [ebx + 0x34]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xec]
mov dword [edx + 0xc], eax
call dword [esi + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30