Function at 0x40e350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3ff00000
call fcn.0053ff24
mov ebx, dword [esp + 0x5c]
mov esi, eax
test esi, esi
je 0x40e50a
mov eax, dword [esp + 0x38]
push 0x580204
push eax
call dword [0x553af0]
add esp, 8
test eax, eax
jne 0x40e3bb
push str.8.5INx11IN
jmp 0x40e40d
mov ecx, dword [esp + 0x38]
mov edi, dword [0x553ae0]
push 0x580200
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40e3db
push str.8.27INx11.69IN
jmp 0x40e40d
mov edx, dword [esp + 0x38]
push str.LETTER
push edx
call edi
add esp, 8
test eax, eax
jne 0x40e3f5
push str.8.5INx11IN
jmp 0x40e40d
mov eax, dword [esp + 0x38]
push str.LEGAL
push eax
call edi
add esp, 8
test eax, eax
jne 0x40e416
push str.8.5INx14IN
lea ecx, [esp + 0x3c]
call fcn.0053fed6
test ebx, ebx
je 0x40e46c
mov edi, dword [0x553b08]
lea ecx, [esp + 0x10]
push ecx
push 0x580350
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x38]
push 0x58
push 3
call fcn.0053ff24
mov esi, dword [0x553b18]
push eax
call esi
add esp, 8
test eax, eax
jne 0x40e464
push 0x78
push 3
lea ecx, [esp + 0x40]
call fcn.0053ff24
push eax
call esi
add esp, 8
test eax, eax
je 0x40e4c7
lea edx, [esp + 0x14]
inc eax
push edx
jmp 0x40e4bc
mov edi, dword [0x553b08]
lea eax, [esp + 0x14]
push eax
push 0x580350
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x38]
push 0x58
push 3
call fcn.0053ff24
mov esi, dword [0x553b18]
push eax
call esi
add esp, 8
test eax, eax
jne 0x40e4b6
push 0x78
push 3
lea ecx, [esp + 0x40]
call fcn.0053ff24
push eax
call esi
add esp, 8
test eax, eax
je 0x40e4c7
lea ecx, [esp + 0x10]
inc eax
push ecx
push 0x580350
push eax
call edi
add esp, 0xc
mov edx, dword [esp + 0x38]
mov esi, dword [0x553b20]
push 0x58034c
push edx
call esi
add esp, 8
test eax, eax
jne 0x40e4ef
mov eax, dword [esp + 0x38]
push 0x580348
push eax
call esi
add esp, 8
fld dword [esp + 0x10]
fcomp dword [0x555c40]
fnstsw ax
test ah, 0x41
jne 0x40e50a
fld dword [esp + 0x14]
fdiv dword [esp + 0x10]
jmp 0x40e50e
fld qword [esp + 0x20]
test ebx, ebx
je 0x40e577
fld dword [esp + 0x10]
fdiv dword [esp + 0x14]
fcom qword [0x5566b8]
fnstsw ax
test ah, 0x41
jne 0x40e551
fdivr qword [0x5566b8]
fcom qword [0x5566b0]
fnstsw ax
test ah, 0x41
jne 0x40e575
fcomp qword [0x5566a8]
fnstsw ax
test ah, 1
je 0x40e577
fstp st(0)
fld qword [0x5566a0]
jmp 0x40e577
fcom qword [0x5566b0]
fnstsw ax
test ah, 0x41
jne 0x40e575
fcomp qword [0x5566a8]
fnstsw ax
test ah, 1
je 0x40e577
fstp st(0)
fld qword [0x556698]
jmp 0x40e577
fstp st(0)
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov esi, eax
mov edi, edx
sub esi, ecx
sub edi, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x5c], esi
fild dword [esp + 0x5c]
mov dword [esp + 0x18], edi
mov ebp, ebx
fild dword [esp + 0x18]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
fstp qword [esp + 0x44]
mov dword [ebp + 4], ecx
fld st(0)
fdiv qword [esp + 0x44]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
fld st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x40e605
fdiv st(1)
fadd qword [0x554618]
call fcn.00540a50
mov edi, eax
mov eax, dword [esp + 0x1c]
sub eax, edi
mov ecx, dword [ebx + 0xc]
cdq
fstp st(0)
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebx + 4]
sar eax, 1
add edx, eax
sub ecx, eax
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], ecx
jmp 0x40e634
fstp st(0)
fld qword [esp + 0x44]
fmul st(1)
call fcn.00540a50
mov esi, eax
mov eax, dword [esp + 0x20]
sub eax, esi
mov ecx, dword [ebx + 8]
cdq
fstp st(0)
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
add edx, eax
sub ecx, eax
mov dword [ebx], edx
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov eax, esi
mov dword [esp + 0x5c], 0
lea edx, [ecx + ecx]
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
lea eax, [ecx + ecx]
mov edx, eax
mov eax, edi
sub eax, edx
cdq
idiv ecx
test ecx, ecx
mov edi, eax
mov dword [esp + 0x44], edi
jle 0x40e722
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
jle 0x40e711
push 0x10
call fcn.0053ff1e
add esp, 4
test eax, eax
je 0x40e6d0
lea ecx, [edi + 2]
mov edx, dword [ebx + 4]
imul ecx, dword [esp + 0x5c]
add ecx, edx
lea edx, [ecx + edi + 2]
mov edi, dword [ebx]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x54]
add edx, 2
add ecx, 2
imul edx, ebp
add edx, edi
mov edi, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
lea edi, [edx + edi + 2]
add edx, 2
mov dword [eax + 8], edi
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov edi, eax
jmp 0x40e6d2
xor edi, edi
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x58], edi
lea eax, [edx*4 + 4]
push eax
push ecx
call dword [0x553b1c]
mov edx, dword [esi + 4]
mov dword [esi], eax
add esp, 8
mov dword [eax + edx*4], edi
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
inc edx
inc ebp
cmp ebp, eax
mov dword [esi + 4], edx
jl 0x40e67e
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jl 0x40e670
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [eax + 8]
mov edx, dword [eax]
sub ecx, edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
fild dword [esp + 0x3c]
sub edx, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fdivp st(1)
fstp qword [esp + 0x20]
call fcn.0053feb8
mov ecx, dword [esp + 0x28]
pop edi
fld qword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret