joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x403450
push 0x67
push edi
call esi
push 0x64
push 0x403388
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401180
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 0x6d
mov dword [ebp - 0xc], 0x403388
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x403450
push 0x403388
push 0
mov dword [0x403380], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4010ea
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d9
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push 0
push eax
call esi
test eax, eax
je 0x401161
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop word [eax + eax]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401150
lea eax, [ebp - 0x50]
push eax
call edi
lea eax, [ebp - 0x50]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call esi
test eax, eax
jne 0x401130
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
pop edi
pop esi
call fcn.004012d9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401b0f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b4e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b4e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b4e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b4e
cmp dword [ecx + 0x74], 0xe
jbe 0x401b4e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401dd4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x401e13
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401e13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401e13
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401e13
cmp dword [ecx + 0x74], 0xe
jbe 0x401e13
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4067d9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x415014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406824
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004069f6
test al, al
jne 0x40681e
sub edx, 2
cmp edx, edi
jne 0x406804
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406846
lea eax, [edi + 2]
cmp edx, eax
je 0x406846
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406725
add esp, 0x10
jmp 0x406940
push esi
lea ecx, [ebp - 0x255]
call fcn.004069f6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406889
push dword [ebp - 0x25c]
jmp 0x406836
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4068c6
cmp word [ebp - 0x226], 0
je 0x4068e7
cmp word [ebp - 0x226], ax
jne 0x4068c6
cmp word [ebp - 0x224], 0
je 0x4068e7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406725
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406933
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4068a0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40691b
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x406940
push 0x406555
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004095a0
add esp, 0x10
jmp 0x406910
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004018d4
leave
ret

Function at 0x408473
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410004
push 0x40fffc
push str.FlsAlloc
push 0x1f
call fcn.004083ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4084a7
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e160]
call esi
jmp 0x4084ad
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4084f1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410014
push 0x41000c
push str.FlsGetValue
push 0x21
call fcn.004083ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408528
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x408530
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41001c
push 0x410014
push str.FlsSetValue
push 0x22
call fcn.004083ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40856a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x10002790
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b03c
mov esp, ebp
pop ebp
ret

Function at 0x10004b40
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esp, ebp
pop ebp
ret

Function at 0x10004c90
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esp, ebp
pop ebp
ret

Function at 0x10004e80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov esp, ebp
pop ebp
ret

Function at 0x10005090
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call fcn.1000e020
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.10004f20
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x10005127
call fcn.10004f70
movzx edx, al
test edx, edx
jne 0x1000510b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10004cc0
add esp, 0x14
movzx eax, al
test eax, eax
jne 0x10005127
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004a40
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [eax], 2
xor al, al
jmp 0x10005143
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004f20
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [eax], 0
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x10005190
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x100051c6
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
jmp 0x100051e7
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x17
jne 0x100051e7
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
push 0x401
push 0
lea eax, [ebp - 0x408]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 2
push 0
push 0
lea ecx, [ebp - 0x408]
call fcn.1000c610
push eax
lea ecx, [ebp - 0x408]
call fcn.10002220
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x10005241
lea ecx, [ebp - 0x408]
call fcn.10002220
push eax
mov ecx, dword [ebp + 0x10]
call fcn.1000e600
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b03c
mov esp, ebp
pop ebp
ret
Function at 0x1000c290
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1000c2ae
mov ecx, dword [ebp - 8]
call fcn.1000eda0
jmp 0x1000c2c1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1000c2c1
mov ecx, dword [ebp - 8]
call fcn.1000ee30
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x1000eda0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1000edbb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x1000ee27
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1000edff
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1000ee06
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000edb2
mov esp, ebp
pop ebp
ret
Function at 0x1000ee30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x1000ee4b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jae 0x1000eeb7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1000ee8f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1000ee96
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000ee42
jmp 0x1000eec2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jae 0x1000ef2e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1000ef06
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x1000ef0d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000eeb9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x1000ef6c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x1000ef73
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x1002ab50
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eb0b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], 0
lea ecx, [ebp - 0x144]
call fcn.1000e6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.1000e6f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2d4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0xffffffff
jne 0x1002abeb
push 0x100375b4
lea ecx, [ebp - 0x12c]
call fcn.1000e620
jmp 0x1002abfd
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x12c]
call fcn.1000e600
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000e6a0
mov ecx, dword [ebp - 0x2d8]
or ecx, 1
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.10001d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10001d70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002b03c
mov esp, ebp
pop ebp
ret
Function at 0x40bdd0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bf9b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bdf9
mov eax, 0x7000000
jmp 0x40be01
test eax, eax
je 0x40bf76
mov dword [esp + 0x14], eax
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
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 + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
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 + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x5ee0c0]
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 0x40bf8e
cmp edx, 0x21
jae 0x40bf82
movsd qword [esp + 0x18], 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 + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x54d298]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x54d300]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bf51
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x54d358]
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 0x416090
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41629e
sub esp, 0x18
mov eax, dword [0x621144]
test eax, eax
jne 0x416287
nop
nop
lea eax, [0x621134]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x621138]
test eax, eax
je 0x4160d8
cmp dword [eax + 8], 0xcc
jne 0x41614e
mov edx, dword [0x62113c]
test edx, edx
jne 0x416130
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x625990]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x62113c], eax
mov ecx, dword [0x621140]
mov dword [eax], ecx
mov eax, dword [0x62113c]
mov dword [0x621140], eax
movzx eax, byte [0x621660]
test al, al
jne 0x416130
xor eax, eax
jmp 0x416258
mov edx, dword [0x62113c]
mov ebx, dword [edx + 4]
mov dword [0x62113c], ebx
mov ebx, dword [0x621138]
mov dword [edx + 4], ebx
mov dword [0x621138], edx
mov edx, dword [0x621138]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416237
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 [0x6213a0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x416198
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x4161ae
call sym.runtime.gcWriteBarrier2
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 dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x6213a0]
test eax, eax
jne 0x4161d2
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x416200
call sym.runtime.gcWriteBarrier6
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x621134]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x621130]
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, [0x5ed268]
movzx ebx, byte [edx + eax]
lea ebp, [0x621660]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416130
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 0x416241
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x523e6b]
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 0x423d70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x423e58
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x423e52
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call sym.runtime._atomicScavChunkData_.load
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime._scavChunkData_.alloc
movzx eax, byte [esp + 0x18]
test al, 2
je 0x423e06
cmp word [esp + 0x10], 0x1f0
jbe 0x423e06
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x423e4d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call sym.runtime._atomicScavChunkData_.store
add esp, 0x1c
ret
call sym.runtime.panicIndexU
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._scavengeIndex_.alloc