joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b1c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
push esi
push 0
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x45b266
call fcn.0045b160
test eax, eax
jne 0x45b266
mov eax, 1
test byte [0x4f1904], al
jne 0x45b235
or dword [0x4f1904], eax
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x76
mov ecx, str.d:workDDCIncludeDiskIO.h
add esi, 8
call fcn.0045b090
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x4f18dc
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x200
push edx
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x45b25f
test eax, eax
je 0x45b25f
test ecx, 0x1ff
jne 0x45b25f
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x45c6c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x45c764
call fcn.0045c660
test eax, eax
jne 0x45c764
mov eax, 1
test byte [0x4f1904], al
jne 0x45c733
or dword [0x4f1904], eax
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x76
mov ecx, str.d:workDDCIncludeDiskIO.h
add esi, 8
call fcn.0045c590
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x4f18dc
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x45c797
test ecx, ecx
je 0x45c75d
test eax, eax
je 0x45c75d
test ecx, 0x1ff
jne 0x45c75d
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x45dd00
Capabilities:
Get disk size

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, eax
call fcn.0042c840
mov esi, eax
cmp esi, 0xffffffff
jne 0x45dd7b
mov eax, 1
test byte [0x4f1904], al
jne 0x45dd45
or dword [0x4f1904], eax
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], esi
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x1d2
mov ecx, str..ldmio.cpp
add esi, 8
call fcn.0045c590
push eax
mov eax, dword [esi]
push str._s:_Open_disk__d_failed.
push 0x4f18dc
call eax
add esp, 0x10
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
lea ecx, [esp + 0x14]
push ecx
push 8
lea edx, [esp + 0x24]
push edx
push eax
push eax
push 0x7405c
push esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call edi
test eax, eax
jne 0x45ddc1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
add eax, 0x1ff
push 0x200
adc ecx, 0
push ecx
push eax
call sub.ntdll.dll__alldiv
mov ebp, eax
xor eax, eax
push eax
mov ebx, edx
lea edx, [esp + 0x18]
push edx
push 0x18
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push 0x70000
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x45de48
mov eax, dword [esp + 0x30]
mul dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
cmp edx, ebx
jb 0x45de48
ja 0x45de4c
cmp eax, ebp
ja 0x45de4c
mov eax, ebp
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x462b77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e9028]
jne 0x462b81
repz ret
jmp fcn.004630f4

Function at 0x463745
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e9028]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00463684
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x463794
cmp dword [ebp - 0x1c], 5
jb 0x4637ac
jmp 0x4637a8
cmp dword [ebp - 0x10], 1
jne 0x4637ac
cmp dword [ebp - 0x1c], 4
ja 0x4637a8
jne 0x4637ac
cmp dword [ebp - 0x18], 0
jbe 0x4637ac
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x468aa8
call fcn.0046351a
test eax, eax
jge 0x4637cd
mov byte [0x4eba28], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00462b77
add ebp, 0x78
leave
ret
Function at 0x40c840
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40ca0b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c869
mov eax, 0x7000000
jmp 0x40c871
test eax, eax
je 0x40c9e6
mov dword [esp + 0x34], eax
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
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 + 0x4a4], ebx
mov dword [ecx + 0x4a8], 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, [0x520b60]
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 0x40c9fe
cmp edx, 0x21
jae 0x40c9f2
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 [0x4bdd80]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4bddc8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c9c1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4bddf8]
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 0x413b40
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413d3e
sub esp, 0x18
mov eax, dword [0x567350]
test eax, eax
jne 0x413d27
nop
nop
lea eax, [0x567340]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x567344]
test eax, eax
je 0x413b88
cmp dword [eax + 8], 0xcc
jne 0x413bfe
mov edx, dword [0x567348]
test edx, edx
jne 0x413be0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x569c10]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x567348], eax
mov ecx, dword [0x56734c]
mov dword [eax], ecx
mov eax, dword [0x567348]
mov dword [0x56734c], eax
movzx eax, byte [0x567780]
test al, al
jne 0x413be0
xor eax, eax
jmp 0x413cf8
mov edx, dword [0x567348]
mov ebx, dword [edx + 4]
mov dword [0x567348], ebx
mov ebx, dword [0x567344]
mov dword [edx + 4], ebx
mov dword [0x567344], edx
mov edx, dword [0x567344]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413cd7
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.runtime_internal_atomic.Xadd
mov eax, dword [0x5674b8]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413c50
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413c90
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, [0x567340]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x56733c]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime_internal_atomic.Or
add esp, 0x18
ret
mov ecx, 0xcc
call sym.runtime.panicIndexU
lea edx, [0x5201f0]
movzx ebx, byte [edx + eax]
lea ebp, [0x567780]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413be0
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 0x413ce1
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x4a220d]
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 0x427bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427cf4
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 0x427cdd
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x56741c]
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 0x427c47
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427c72
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x427c5c
cmp byte [ebp + 6], bl
je 0x427c67
cmp esi, edx
ja 0x427c6e
jne 0x427c45
cmp byte [ebp + 6], bl
jbe 0x427c45
jmp 0x427c6e
mov ebx, 1
jmp 0x427c74
xor ebx, ebx
jmp 0x427c74
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427c92
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 [0x56741c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x427ccd
movzx eax, byte [ebx + 0x65]
test al, al
je 0x427ccd
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4a32a4]
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 0x428170
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4282e0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x428270
cmp cl, 1
je 0x428202
cmp cl, 2
jne 0x4282c9
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, [0x5337a0]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x533744]
sub eax, dword [0x533728]
nop
mov dword [0x533744], eax
mov eax, dword [0x533734]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x533734], ecx
nop
lea eax, [0x5337a0]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x4282c5
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, [0x5337a0]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x53371c]
sub eax, dword [0x533700]
nop
mov dword [0x53371c], eax
mov eax, dword [0x53370c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x53370c], ecx
nop
lea eax, [0x5337a0]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x4282c5
cmp cl, 3
jne 0x42827b
mov byte [eax + 8], 1
jmp 0x4282c5
cmp cl, 4
jne 0x4282c9
nop
nop
lea eax, [0x5337a0]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x533794]
sub eax, dword [0x533778]
nop
mov dword [0x533794], eax
mov eax, dword [0x533784]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x533784], ecx
nop
nop
lea eax, [0x5337a0]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x14
ret
lea eax, [0x4a0571]
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 0x42df00
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42dfe6
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x567730]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Loadint32
mov eax, dword [esp + 4]
test eax, eax
je 0x42dfc2
mov dword [esp + 8], 0
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.004620a9
lea ecx, [sym.runtime._mLockProfile_.captureStack.func1]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call sym.runtime.systemstack
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x42dfbe
jae 0x42dfdb
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [sym.runtime._LostContendedRuntimeLock]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._mLockProfile_.captureStack
Function at 0x440200
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call sym.runtime.traceAcquire
mov eax, dword [0x56741c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call sym.runtime.save
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call sym.runtime.casgstatus
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x440285
cmp dword [eax + 4], ecx
jae 0x4402b3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [sym.runtime.reentersyscall.func1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call sym.runtime.systemstack
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x440309
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [sym.runtime.reentersyscall.func2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
lea eax, [0x5298c0]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
je 0x440342
lea eax, [0x4a75d0]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x44037e
lea eax, [0x4a7690]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call sym.runtime_internal_atomic.Store
lea eax, [0x5298b4]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
je 0x4403f6
lea eax, [0x4a75cc]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x450650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4507ca
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4507c0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4506aa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4506aa
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4506bd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x450797
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x45078b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x450782
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x450710
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x450753
mov eax, 1
cmp eax, ecx
ja 0x450747
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call sym.runtime.panicSliceBU
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45077d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45074c
mov ecx, dword [esp + 0xc]
jmp 0x450715
call sym.runtime.panicIndexU
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
call sym.runtime.panicSliceBU
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4507bb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x450790
mov ecx, dword [esp + 0x18]
jmp 0x4506c2
call sym.runtime.panicIndexU
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.step
Function at 0x457c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x56741c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457df4
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 0x457d81
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 0x457df0
call sym.runtime.printlock
lea eax, [0x4bd394]
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