joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032d0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4034a0
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_chacha8rand.setup
Function at 0x40bcf0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bebb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bd19
mov eax, 0x7000000
jmp 0x40bd21
test eax, eax
je 0x40be96
mov dword [esp + 0x34], eax
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x8e9f00]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40beae
cmp edx, 0x21
jae 0x40bea2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x7714e8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x771558]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40be71
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x771598]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicExtendIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.fastexprand
Function at 0x413f60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41415e
sub esp, 0x18
mov eax, dword [0x936408]
test eax, eax
jne 0x414147
nop
nop
lea eax, [0x9363f8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x9363fc]
test eax, eax
je 0x413fa8
cmp dword [eax + 8], 0xcc
jne 0x41401e
mov edx, dword [0x936400]
test edx, edx
jne 0x414000
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x93b6b0]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x936400], eax
mov ecx, dword [0x936404]
mov dword [eax], ecx
mov eax, dword [0x936400]
mov dword [0x936404], eax
movzx eax, byte [0x936b20]
test al, al
jne 0x414000
xor eax, eax
jmp 0x414118
mov edx, dword [0x936400]
mov ebx, dword [edx + 4]
mov dword [0x936400], ebx
mov ebx, dword [0x9363fc]
mov dword [edx + 4], ebx
mov dword [0x9363fc], edx
mov edx, dword [0x9363fc]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4140f7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.internal_runtime_atomic.Xadd
mov eax, dword [0x9367c0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x414070
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x4140b0
call sym.runtime.gcWriteBarrier8
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x9363f8]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x9363f4]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.internal_runtime_atomic.Or
add esp, 0x18
ret
mov ecx, 0xcc
call sym.runtime.panicIndexU
lea edx, [0x8e743c]
movzx ebx, byte [edx + eax]
lea ebp, [0x936b20]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x414000
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x414101
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x707c71]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.queuefinalizer
Function at 0x418f40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418fc9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call sym.internal_runtime_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
je 0x418fae
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x418fb2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call sym.runtime._gcCPULimiterState_.updateLocked
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime._gcCPULimiterState_.unlock
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x707c89]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcCPULimiterState_.update
Function at 0x428450
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428594
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.spanOfHeap
mov eax, dword [esp + 4]
test eax, eax
je 0x42857d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x9364f0]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call sym.runtime._mspan_.ensureSwept
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call sym.runtime.lock2
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x4284e7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x428512
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x4284fc
cmp byte [ebp + 6], bl
je 0x428507
cmp esi, edx
ja 0x42850e
jne 0x4284e5
cmp byte [ebp + 6], bl
jbe 0x4284e5
jmp 0x42850e
mov ebx, 1
jmp 0x428514
xor ebx, ebx
jmp 0x428514
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x428532
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call sym.runtime.spanHasSpecials
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x9364f0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42856d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42856d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x70a52f]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.addspecial
Function at 0x428d20
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428efa
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x428e25
cmp cl, 1
je 0x428db4
cmp cl, 2
jne 0x428ee3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call sym.internal_runtime_atomic.Storeuintptr
nop
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x922a9c]
sub eax, dword [0x922a80]
nop
mov dword [0x922a9c], eax
mov eax, dword [0x922a8c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x922a8c], ecx
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x428edf
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call sym.runtime.queuefinalizer
nop
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x9229fc]
sub eax, dword [0x9229e0]
nop
mov dword [0x9229fc], eax
mov eax, dword [0x9229ec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x9229ec], ecx
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x428edf
cmp cl, 3
je 0x428e87
cmp cl, 4
jne 0x428e38
mov byte [eax + 8], 1
jmp 0x428edf
cmp cl, 5
jne 0x428ee3
nop
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x922a74]
sub eax, dword [0x922a58]
nop
mov dword [0x922a74], eax
mov eax, dword [0x922a64]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x922a64], ecx
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x428edf
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call sym.runtime.mProf_Free
nop
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x922a24]
sub eax, dword [0x922a08]
nop
mov dword [0x922a24], eax
mov eax, dword [0x922a14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x922a14], ecx
nop
nop
lea eax, [0x922aa8]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x14
ret
lea eax, [0x703e83]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.freeSpecial
Function at 0x42e320
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42e4a2
sub esp, 0x24
mov eax, dword [0x936afc]
test eax, eax
je 0x42e44d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42e458
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42e3a6
cmp ecx, ebx
je 0x42e3a6
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call sym.runtime.gcallers
mov eax, dword [esp + 0x14]
jmp 0x42e3d0
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.runtime.callers
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42e451
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call sym.runtime.saveBlockEventStack
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x9364f0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42e449
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42e449
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call sym.runtime.panicSliceAcap
call sym.runtime.printlock
lea eax, [0x7038a3]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.runtime.printint
call sym.runtime.printunlock
lea eax, [0x704b3b]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.saveblockevent
Function at 0x4344a0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0x9364f0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1b0], 8
lea ecx, [esp + 0x10]
mov dword [eax + 0x1b4], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call sym.runtime.stdcall
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x4541e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45433d
sub esp, 0x14
lea eax, [0x936b14]
mov dword [esp], eax
call sym.internal_runtime_atomic.Loadint32
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x454217
mov ecx, dword [esp + 0x18]
jmp 0x454233
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x454233
lea eax, [ecx + 0x30]
nop
mov dword [esp], eax
call sym.runtime.lock2
mov ecx, dword [esp + 0x18]
test byte [ecx], al
nop
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x454257
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime._timer_.maybeRunAsync
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 5]
test dl, 1
je 0x454297
mov ebx, edx
or edx, 2
mov byte [ecx + 5], dl
test dl, 4
jne 0x454297
or ebx, 6
mov byte [ecx + 5], bl
mov eax, dword [ecx + 0x2c]
test byte [eax], al
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.internal_runtime_atomic.Xaddint32
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
test ebx, ebx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test edx, edx
seta dl
and ebx, edx
or ebx, ebp
mov byte [esp + 0xf], bl
test eax, eax
jne 0x4542d3
movzx edx, byte [ecx + 6]
test dl, dl
je 0x4542d3
inc dword [ecx + 0x28]
mov dword [esp], ecx
call sym.runtime._timer_.unlock
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4542ea
movzx ebx, byte [esp + 0xf]
jmp 0x454335
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4542fd
movzx ebx, byte [esp + 0xf]
jmp 0x454335
lea ecx, [eax + 0x30]
nop
mov dword [esp], ecx
call sym.runtime.unlock2
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x45431e
call sym.runtime.badTimer
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call sym.runtime.timerchandrain
movzx ebx, byte [esp + 4]
movzx eax, byte [esp + 0xf]
or ebx, eax
mov byte [esp + 0x1c], bl
add esp, 0x14
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime._timer_.stop
Function at 0x456060
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45615c
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test byte [eax], al
nop
nop
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4560a3
call sym.runtime.badTimer
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x4560f7
test cl, 4
je 0x4560f7
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
seta dl
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4560f7
and ecx, 0xfffffffb
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], 0xffffffff
call sym.internal_runtime_atomic.Xaddint32
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x456135
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ebx, ecx
or ebx, edx
test bl, bl
je 0x456135
movzx ecx, byte [eax + 6]
test cl, cl
je 0x45612e
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x456137
mov ecx, 1
jmp 0x456137
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call sym.runtime._timer_.unlock
movzx eax, byte [esp + 0xf]
test al, al
je 0x456158
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sym.runtime._timer_.maybeAdd
add esp, 0x14
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.blockTimerChan
Function at 0x4583f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x458574
sub esp, 0x24
movzx eax, byte [esp + 0x28]
movzx ebx, al
add ebx, dword [edx + 4]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
shr edi, 0x18
movzx esi, byte [ebx + 2]
mov ecx, esi
shr esi, 0x10
or esi, edi
shl ecx, 0x10
or ecx, ebp
movzx ebp, byte [ebx + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [ebx + 4]
or esi, ebp
movzx ebp, byte [ebx + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [ebx + 6]
shl ebp, 0x10
or ebp, esi
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, ebp
movzx ebp, byte [esp + 0x29]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x458501
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 0xa], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
mov ecx, ebp
shr edi, cl
neg ecx
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x18]
shl eax, cl
mov dword [esp + 0x18], eax
movzx edx, byte [esp + 0xa]
cmp dl, 0x20
sbb eax, eax
mov dword [esp + 0x14], eax
and ebx, eax
and esi, eax
mov ecx, edx
shr esi, cl
and esi, eax
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb eax, eax
and edi, eax
or edi, ebx
movzx edx, byte [esp + 0xb]
cmp dl, 0x20
sbb ebx, ebx
mov edx, dword [esp + 0x18]
and edx, ebx
or edi, edx
mov edx, ecx
mov ecx, ebp
mov ebp, edi
shl edi, cl
and edi, eax
or edi, esi
movzx ecx, byte [esp + 0xb]
mov eax, ebp
shr ebp, cl
and ebp, ebx
mov ecx, edx
shr eax, cl
mov ebx, dword [esp + 0x14]
and ebx, eax
or edi, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
call sym.runtime.printlock
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x28]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2a]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x458570
call sym.runtime.printlock
lea eax, [0x76fc28]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x24
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2