Function at 0x454240
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x7e8f64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x454547
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 5]
test cl, 6
je 0x45426d
call sym.runtime.badTimer
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x34], ebp
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x48], esi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x4c], edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x5c]
sub edi, ecx
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x60]
sbb esi, edx
mov dword [esp + 0x28], esi
test ebp, ebp
setg dl
sete cl
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
jne 0x4542d4
xor ecx, ecx
xor edx, edx
jmp 0x454340
mov dword [esp + 0x30], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call sym.runtime.int64div
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 1
adc ecx, 0
mov edx, eax
mov eax, dword [esp + 0x30]
mov ebx, edx
mov ebp, eax
mul edx
mov esi, dword [esp + 0x34]
imul ebx, esi
add edx, ebx
imul ecx, ebp
add ecx, edx
mov edx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x38]
adc ecx, edx
test ecx, ecx
jge 0x454332
mov ecx, 0x7fffffff
mov eax, 0xffffffff
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x58]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x40], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
movzx ebp, byte [eax + 5]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x4543a7
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
or ebp, 2
xchg ebp, ebx
mov byte [eax + 5], bl
xchg ebp, ebx
test ecx, ecx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x45439f
movzx ecx, byte [esp + 0x1b]
or ecx, 6
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 1
call sym.internal_runtime_atomic.Xaddint32
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime._timer_.updateHeap
lea eax, [0x7e9394]
mov dword [esp], eax
call sym.internal_runtime_atomic.Loadint32
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4543c9
mov ecx, dword [esp + 0x58]
xor edx, edx
jmp 0x45442d
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx + 6]
test dl, dl
jne 0x4543d9
xor edx, edx
jmp 0x45442d
lea eax, [ecx + 7]
mov dword [esp + 0x50], eax
nop
mov dword [esp], eax
call sym.internal_runtime_atomic.Load8
movzx eax, byte [esp + 4]
not eax
or eax, 0x100
bsf ecx, eax
cmp ecx, 8
je 0x454530
mov eax, 1
shl eax, cl
nop
mov edx, dword [esp + 0x50]
mov dword [esp], edx
cmp ecx, 0x20
sbb edx, edx
and eax, edx
mov byte [esp + 0x1a], al
mov byte [esp + 4], al
call sym.internal_runtime_atomic.Or8
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x1a]
mov byte [esp + 0x1a], dl
mov dword [esp], ecx
call sym.runtime._timer_.unlock
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x454449
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jmp 0x45445f
mov dword [esp], eax
call sym.runtime._timers_.unlock
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
je 0x454467
mov edx, dword [esp + 0x48]
jmp 0x4544a0
mov ebx, dword [esp + 0x58]
movzx ebp, byte [ebx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45447b
mov edx, dword [esp + 0x48]
jmp 0x4544a0
lea eax, [ebx + 0x30]
nop
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0x28], eax
je 0x45449c
lea edx, [0x52fd58]
jmp 0x4544a0
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4544db
mov eax, dword [esp + 0x40]
test eax, eax
jmp 0x45451f
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4544ef
mov eax, dword [esp + 0x40]
test eax, eax
jmp 0x45451f
movzx ecx, byte [esp + 0x1a]
not ecx
lea edx, [eax + 0x30]
mov dword [esp + 0x44], edx
add eax, 7
mov dword [esp], eax
mov byte [esp + 4], cl
call sym.internal_runtime_atomic.And8
nop
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45452c
nop
nop
nop
mov dword [esp], eax
call sym.runtime.lock2
add esp, 0x54
ret
lea eax, [0x52b607]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.throw
nop
call sym.runtime.morestackc
jmp sym.runtime._timer_.unlockAndRun