joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401360
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420b90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x42afa0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x425918
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4013d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_locate_resource:__d_n
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4013a0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x4013fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_resource:__d_n
jmp 0x4013ac
mov eax, dword [ebp + 8]
push eax
call fcn.00402fe0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40143a
push str.Unable_to_create_temporary_file._n
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov dword [ebp - 4], 0
call fcn.00403405
mov ecx, dword [ebp - 0x1c]
add esp, 4
push esi
mov edi, eax
push ecx
push edi
call fcn.00415850
add esp, 0xc
push 0
lea edx, [ebp - 0x18]
push edx
push esi
push edi
push ebx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401497
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_save_MSI:__d_n
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
add esp, 0xc
jmp 0x4014bc
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x4014b8
push esi
push eax
push str.Partial_write_of_MSI___d_of__d_bytes_:__d_n
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
add esp, 0x10
jmp 0x4014bc
mov byte [ebp - 0x11], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00403410
mov al, byte [ebp - 0x11]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401519
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401554
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401550
lea ebx, [ebx]
cmp esi, eax
jae 0x401554
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401540
cmp esi, eax
jb 0x40155a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x401eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420c28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x42afa0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x401f50
call fcn.0040341b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401f00
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
push esi
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00401600
add esp, 8
test al, al
jne 0x401f64
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401f50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx - 0xc]
lea edi, [eax + 1]
push edi
mov byte [ebp - 4], 1
call fcn.00403405
add esp, 4
push edi
mov esi, eax
push 0
push esi
call fcn.004115b0
add esp, 0xc
test edi, edi
je 0x401f9f
cmp edi, 0x7fffffff
ja 0x401f9f
mov eax, ebx
mov edx, edi
mov ecx, esi
call fcn.004015b0
push 0x44
lea ecx, [ebp - 0x68]
push 0
push ecx
call fcn.004115b0
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov edi, eax
call fcn.00403410
add esp, 4
test edi, edi
jne 0x402022
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_spawn_msiexec:__d
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
lea eax, [ebx - 0x10]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401f44
mov esi, dword [ebp - 0x24]
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402048
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420a90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42afa0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0xf6
mov dword [ebp - 4], ebx
call fcn.00403405
add esp, 4
push 0x105
mov edi, eax
call fcn.00403405
add esp, 4
push 0xf6
push ebx
push edi
mov esi, eax
call fcn.004115b0
push 0x105
push ebx
push esi
call fcn.004115b0
add esp, 0x18
push edi
push 0xf5
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40307d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Fatal:_Unable_to_get_path_to_temp_directory:__d._n
call fcn.0040fa17
add eax, 0x40
push eax
call fcn.0040fd0a
add esp, 0xc
jmp 0x4030cf
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40309b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_create_temp_file_name:__d_n
jmp 0x40306a
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4030c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_create_temporary_file:__d_n
jmp 0x40306a
mov ecx, dword [ebp + 8]
push esi
call fcn.00402160
test edi, edi
je 0x4030dc
push edi
call fcn.00403410
add esp, 4
test esi, esi
je 0x4030e9
push esi
call fcn.00403410
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fa08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42afa0]
jne 0x40fa12
repz ret
jmp fcn.004137df
Function at 0x41ce45
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041406b
and dword [ebp - 4], 0
cmp dword [0x42e7b0], 0
mov ebx, eax
jne 0x41cef6
push 0x4257d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41cfa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4257c4
push edi
call esi
test eax, eax
je 0x41cfa7
push eax
call fcn.00413ff9
mov dword [esp], 0x4257b4
push edi
mov dword [0x42e7b0], eax
call esi
push eax
call fcn.00413ff9
mov dword [esp], 0x4257a0
push edi
mov dword [0x42e7b4], eax
call esi
push eax
call fcn.00413ff9
mov dword [esp], 0x425784
push edi
mov dword [0x42e7b8], eax
call esi
push eax
call fcn.00413ff9
pop ecx
mov dword [0x42e7c0], eax
test eax, eax
je 0x41cef6
push 0x42576c
push edi
call esi
push eax
call fcn.00413ff9
pop ecx
mov dword [0x42e7bc], eax
mov eax, dword [0x42e7bc]
cmp eax, ebx
je 0x41cf4e
cmp dword [0x42e7c0], ebx
je 0x41cf4e
push eax
call fcn.00414074
push dword [0x42e7c0]
mov esi, eax
call fcn.00414074
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41cf4e
test edi, edi
je 0x41cf4e
call esi
test eax, eax
je 0x41cf45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41cf45
test byte [ebp - 0xc], 1
jne 0x41cf4e
or dword [ebp + 0x10], 0x200000
jmp 0x41cf87
mov eax, dword [0x42e7b4]
cmp eax, ebx
je 0x41cf87
push eax
call fcn.00414074
pop ecx
test eax, eax
je 0x41cf87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41cf87
mov eax, dword [0x42e7b8]
cmp eax, ebx
je 0x41cf87
push eax
call fcn.00414074
pop ecx
test eax, eax
je 0x41cf87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e7b0]
call fcn.00414074
pop ecx
test eax, eax
je 0x41cfa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41cfa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4060a2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00405d18
Function at 0x7003f91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x7003fa0
pop dword [ebp - 8]
mov eax, 0x74ee0212
add eax, 0x92123d8e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xc96b4268
add dword [ebp - 0x18], 0x84e702e3
mov dword [ebp - 0x14], 0xbc388155
add dword [ebp - 0x14], 0x75facaf0
mov dword [ebp - 0x10], 0x87ba2e7
sub dword [ebp - 0x10], 0xbc2f5eb9
mov dword [ebp - 0xc], 0x5689c362
sub dword [ebp - 0xc], 0x5689c362
lea eax, [ebp - 0x18]
push eax
mov eax, 0xcde91bce
sub eax, 0xc6e7fb9e
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x22a69338
sub dword [ebp - 0x18], 0xae3429e2
mov dword [ebp - 0x14], 0xc5e18cf3
sub dword [ebp - 0x14], 0x84752b7e
mov dword [ebp - 0x10], 0xee9534a
sub dword [ebp - 0x10], 0xab79e6de
mov dword [ebp - 0xc], 0x38c49961
sub dword [ebp - 0xc], 0x38c49961
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x390c1
push 0
call eax
mov ecx, 0xc552f636
add ecx, 0x3aad4b77
mov esi, eax
mov edi, 0x8c80fe0a
sub edi, 0x857f1e0a
add edi, dword [ebp - 8]
mov edx, 0xf10ee127
sub edx, 0x16338842
sub dword [ebp - 4], 0x146472c5
mov ebx, dword [edi]
xor ebx, edx
add dword [ebp - 4], edx
mov dword [esi], ebx
xor dword [ebp - 4], eax
add esi, 4
add edi, 0x682d564a
add edi, 0x97d2a9ba
loop 0x70040bd
add eax, 0xa603cec4
sub eax, 0xa602d53d
xor ebx, ebx
add ebx, eax
add eax, 0xaf90d315
sub eax, 0xaf90d310
mov ecx, 0xeb77802
add ecx, 0xf84887fe
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003f91
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003f91
int3
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x586938], 1
mov dword [0x586934], 1
mov dword [0x586930], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x55d00c], eax
mov eax, dword [0x586944]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x586958]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x586940]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x4b6a40], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056
Function at 0x40b830
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b9fe
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b85b
mov eax, 0x7000000
jmp 0x40b863
test eax, eax
je 0x40b9d9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
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
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call dbg.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x4a4f60]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b9f1
cmp ecx, 0x21
jae 0x40b9e5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call dbg.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.004587f0
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 [0x4efd0c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4efd74]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b9b4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4efdc4]
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, ecx
mov ecx, 0x21
call dbg.runtime.panicIndexU
mov eax, ecx
mov ecx, 0x21
call dbg.runtime.panicExtendIndexU
nop
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.fastexprand
Function at 0x413380
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4135a4
sub esp, 0x18
mov eax, dword [0x5821e8]
test eax, eax
jne 0x41358d
nop
lea eax, [0x5821d4]
mov dword [esp], eax
call dbg.runtime.lock2
mov eax, dword [0x5821d8]
test eax, eax
je 0x4133c9
cmp dword [eax + 8], 0xcc
jne 0x41343f
mov edx, dword [0x5821cc]
test edx, edx
jne 0x413421
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5849f0]
mov dword [esp + 8], eax
call dbg.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x5821cc], eax
mov ecx, dword [0x582190]
mov dword [eax], ecx
mov eax, dword [0x5821cc]
mov dword [0x582190], eax
movzx eax, byte [0x582660]
test al, al
jne 0x413421
xor eax, eax
jmp 0x413539
mov edx, dword [0x5821cc]
mov ebx, dword [edx + 4]
mov dword [0x5821cc], ebx
mov ebx, dword [0x5821d8]
mov dword [edx + 4], ebx
mov dword [0x5821d8], edx
mov edx, dword [0x5821d8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413521
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime/internal/atomic.Xadd
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x582370]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41349d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4134aa
mov edx, eax
mov eax, dword [esp + 0x20]
call dbg.runtime.gcWriteBarrier
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x582370]
test edx, edx
jne 0x4134d6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4134f7
mov edi, ebx
mov eax, dword [esp + 0x28]
call dbg.runtime.gcWriteBarrier
mov edi, ebp
mov eax, dword [esp + 0x2c]
call dbg.runtime.gcWriteBarrier
mov edi, esi
mov eax, dword [esp + 0x1c]
call dbg.runtime.gcWriteBarrier
nop
lea eax, [0x5821d4]
mov dword [esp], eax
call dbg.runtime.unlock2
nop
lea eax, [0x5821d0]
mov dword [esp], eax
mov dword [esp + 4], 8
call dbg.runtime/internal/atomic.Or
add esp, 0x18
ret
mov ecx, 0xcc
call dbg.runtime.panicIndexU
lea esi, [0x582660]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x413421
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x413583
lea edx, [0x4a11bc]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41352b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call dbg.runtime.panicIndex
mov ecx, 5
call dbg.runtime.panicIndex
lea eax, [0x4d288b]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call dbg.runtime.throw
nop
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.queuefinalizer
Function at 0x4269a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426b10
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dbg.runtime.spanOfHeap
mov eax, dword [esp + 4]
test eax, eax
je 0x426af9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call dbg.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 + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call dbg.runtime.lock2
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x426a37
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x426a9d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x426a4c
cmp byte [ebp + 6], dl
je 0x426a57
cmp esi, ebx
ja 0x426a9d
jne 0x426a35
cmp byte [ebp + 6], dl
jbe 0x426a35
jmp 0x426a9d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dbg.runtime.unlock2
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426a94
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426a94
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call dbg.runtime.spanHasSpecials
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dbg.runtime.unlock2
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426af0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426af0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x4d3adb]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call dbg.runtime.throw
nop
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.addspecial
Function at 0x426f90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4270ac
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x427025
cmp cl, 2
je 0x426fcd
cmp cl, 3
jne 0x427095
mov byte [eax + 8], 1
jmp 0x427091
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call dbg.runtime.mProf_Free
nop
lea eax, [0x5667b8]
mov dword [esp], eax
call dbg.runtime.lock2
nop
mov eax, dword [0x566784]
sub eax, dword [0x566768]
mov dword [0x566784], eax
mov eax, dword [0x566774]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x566774], ecx
nop
lea eax, [0x5667b8]
mov dword [esp], eax
call dbg.runtime.unlock2
jmp 0x427091
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 dbg.runtime.queuefinalizer
nop
lea eax, [0x5667b8]
mov dword [esp], eax
call dbg.runtime.lock2
nop
mov eax, dword [0x56675c]
sub eax, dword [0x566740]
mov dword [0x56675c], eax
mov eax, dword [0x56674c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x56674c], ecx
nop
nop
lea eax, [0x5667b8]
mov dword [esp], eax
call dbg.runtime.unlock2
add esp, 0x14
ret
lea eax, [0x4d0214]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call dbg.runtime.throw
nop
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.freeSpecial