joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ed21d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov edi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x5ed23f
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x5ed2fc
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5ed2fc
call fcn.0049a360
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x2f
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb4]
push 0x10
push str.RemoveDirectory
push eax
call fcn.0040280c
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xcc], eax
jns 0x5ed2a5
mov ecx, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc8]
push ecx
push edi
push ebx
call fcn.004a9bb0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x5ed2ca
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push dword [ebp - 0xcc]
call fcn.0040280c
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x5ed2f1
push dword [ebp - 0xc8]
call fcn.006417be
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.0049a5b0
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5ee440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x7024bc]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, SysReAllocString
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0xc]
mov dword [edx], 0xffffffff
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5ee489
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
jne 0x5ee48c
int3
xor esi, esi
dec esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0064180a
mov eax, esi
add esp, 8
pop esi
pop ebp
ret

Function at 0x5ee49e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x7024bc]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov esi, SysReAllocString
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
push 0
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5ee516
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileType]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x5ee528
mov ebx, eax
push eax
mov edi, ecx
call ecx
cmp eax, 3
jne 0x5ee541
mov dword [ebp - 0x14], 0xffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, edi
jne 0x5ee4e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x5ee52d
cmp ebx, 0xffffffff
je 0x5ee546
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
jmp 0x5ee52d
int3
Function at 0x5eeaf5
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.005eea04
add esp, 0x10
or edx, eax
jne 0x5eeb78
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x5eeb78
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5eeb76
call fcn.0049a360
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0xf4
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb0]
push 0xc
push 0x6cf8ea
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.0049a5b0
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0xb0
pop esi
pop ebx
pop ebp
ret

Function at 0x5eec1c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ed0ed
Function at 0x5fc18c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x78], eax
xor eax, eax
dec eax
lea esi, [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
add ecx, 0x30
push esi
call fcn.005fc322
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
cmp edi, eax
mov dword [esp + 0x10], ebx
je 0x5fc27b
lea esi, [esp + 0x20]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, esi
call fcn.005edd88
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x10]
test eax, eax
je 0x5fc219
mov ebx, 3
xor esi, esi
jmp 0x5fc231
mov ecx, ebx
push esi
call fcn.005fc380
mov eax, ebx
xor ebx, ebx
cmp byte [eax + 0x28], 0
setne al
mov esi, eax
sete bl
cmp byte [esp + 0x47], 0
jns 0x5fc244
push dword [esp + 0x3c]
call fcn.006417be
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00495790
mov eax, esi
test al, al
mov eax, 0
cmovne ebx, eax
cmp ebx, 3
je 0x5fc266
test ebx, ebx
jne 0x5fc2f9
add edi, 0x10
cmp dword [esp + 0xc], edi
mov ebx, dword [esp + 0x10]
lea esi, [esp + 0x20]
jne 0x5fc1d9
cmp byte [ebx + 0xa], 0
je 0x5fc2f9
xor eax, eax
lea edx, [esp + 0x20]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
test eax, eax
jne 0x5fc2f0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x5fc2f0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp edi, esi
je 0x5fc2d5
mov ecx, edi
push ebx
call fcn.005af328
test al, al
jne 0x5fc2d1
add edi, 0x10
cmp esi, edi
jne 0x5fc2bc
jmp 0x5fc2d5
cmp esi, edi
jne 0x5fc2e7
mov esi, dword [esp + 0x10]
mov ecx, esi
push ebx
call fcn.005fc380
cmp byte [esi + 0x28], 0
je 0x5fc2f0
add ebx, 0x50
cmp ebx, dword [esp + 0xc]
jne 0x5fc2b0
lea ecx, [esp + 0x20]
call fcn.0052db5e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5fc30e
mov dword [esp + 0x18], eax
push eax
call fcn.006417be
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6042a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x706598]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x604315
mov ecx, 0x706590
call fcn.004acf70
test eax, eax
jne 0x604308
mov edi, esp
push 4
call fcn.0064173e
add esp, 4
mov esi, eax
mov dword [eax], 0
mov ecx, 0x706590
call fcn.004acf70
test eax, eax
je 0x6042fb
push eax
call fcn.006417be
add esp, 4
mov ecx, 0x706590
push esi
call fcn.004acfb0
mov esp, edi
mov ecx, 0x706590
pop esi
pop edi
pop ebp
jmp fcn.004acf70
push 0x706598
call fcn.00641847
add esp, 4
cmp dword [0x706598], 0xffffffff
jne 0x6042c2
mov dword [0x706594], 0
mov dword [0x706590], 0
mov ecx, 0x706590
push 0x401810
call fcn.004acff0
push 0x706598
call fcn.006418bd
add esp, 4
jmp 0x6042c2

Function at 0x60fcf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x80], eax
movzx eax, byte [ecx + 0xb]
test al, al
js 0x60fd17
mov edx, eax
jmp 0x60fd1a
mov edx, dword [ecx + 4]
test edx, edx
je 0x60fd9c
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x2c], 0x44
test al, al
jns 0x60fd48
mov ecx, dword [ecx]
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x60fd9c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
sub esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call esi
sub esp, 4
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x60fdd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x60fe40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x60fe0c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0064180a
add esp, 8
pop esi
pop ebp
ret
lea esi, [ebp - 0xc]
push 0x1b
push str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
push esi
call fcn.0056cb50
add esp, 0xc
mov ecx, esi
call fcn.0056cb20
push 0xc
push 0x6c2f34
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.0056cb30
jmp 0x60fdfc
Function at 0x6139a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xdc], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0xb0]
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov dword [esi + 0x20], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esi + 0x14], 0x100
jb 0x613a27
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x613a27
lea esi, [esp + 8]
mov ecx, esi
push 1
push 0xbd
push str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x2c
push str.dwNumberOfProcessors_exceeds_uint8_t_storage
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.00499dc0
mov eax, dword [esp + 0xc4]
cmp eax, 0x100
mov ebx, 0xff
cmovb ebx, eax
mov ecx, dword [esp + 0xdc]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x621a9a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov ebx, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xf8], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0xb0]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [ecx + 0x10]
mov ecx, edi
call fcn.0062245e
mov ecx, ebx
push esi
push 0
push 0x40
push edx
push eax
call fcn.0063fa9e
test al, al
je 0x621b60
movzx eax, word [esp + 0xb0]
cmp eax, 0x5a4d
jne 0x621b99
mov ecx, edi
call fcn.0062245e
mov edi, eax
mov eax, dword [esp + 0xec]
mov esi, eax
sar esi, 0x1f
add edi, eax
adc esi, edx
mov ecx, ebx
push dword [ebp + 8]
push 0
push 0x108
push esi
push edi
call fcn.0063fa9e
test al, al
je 0x621bcf
mov eax, dword [ebp + 8]
cmp dword [eax], 0x4550
jne 0x621c01
mov eax, dword [ebp + 0xc]
mov bl, 1
test eax, eax
je 0x621c5b
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x621c5b
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621c59
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x154
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x1f
push str.could_not_read_dos_header_from
jmp 0x621c31
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621c59
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x15a
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x21
push str.invalid_e_magic_in_dos_header_of
jmp 0x621c31
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621c59
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x162
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x1f
push str.could_not_read_nt_headers_from
jmp 0x621c31
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621c59
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x168
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x23
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.0040280c
add esp, 0xc
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x621c47
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
push ecx
push ebx
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.00499dc0
xor ebx, ebx
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x621c76
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov ebx, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xf8], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0xb0]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [ecx + 0x10]
mov ecx, edi
call fcn.0062245e
mov ecx, ebx
push esi
push 0
push 0x40
push edx
push eax
call fcn.0063fa9e
test al, al
je 0x621d3c
movzx eax, word [esp + 0xb0]
cmp eax, 0x5a4d
jne 0x621d75
mov ecx, edi
call fcn.0062245e
mov edi, eax
mov eax, dword [esp + 0xec]
mov esi, eax
sar esi, 0x1f
add edi, eax
adc esi, edx
mov ecx, ebx
push dword [ebp + 8]
push 0
push 0xf8
push esi
push edi
call fcn.0063fa9e
test al, al
je 0x621dab
mov eax, dword [ebp + 8]
cmp dword [eax], 0x4550
jne 0x621ddd
mov eax, dword [ebp + 0xc]
mov bl, 1
test eax, eax
je 0x621e37
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x621e37
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621e35
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x154
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x1f
push str.could_not_read_dos_header_from
jmp 0x621e0d
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621e35
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x15a
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x21
push str.invalid_e_magic_in_dos_header_of
jmp 0x621e0d
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621e35
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x162
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x1f
push str.could_not_read_nt_headers_from
jmp 0x621e0d
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x621e35
lea edi, [esp + 8]
mov ecx, edi
push 1
push 0x168
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.004999e0
lea eax, [esp + 0x10]
push 0x23
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.0040280c
add esp, 0xc
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x621e23
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
push ecx
push ebx
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.00499dc0
xor ebx, ebx
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x667bd7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00667e20

Function at 0x66be9a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066bea5
Function at 0x40cc80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f526
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47a4a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x14], edi
mov edi, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x20], edx
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x64], eax
mov byte [esi + 0x63], cl
lea edi, [esi + 0x64]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edi
or edi, 0xffffffff
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004377f0
mov dword [ebp - 4], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x416330
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460b28
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x47a4a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
xor eax, eax
mov esi, 7
push 0x4669cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], ax
call fcn.004073d0
mov dword [ebp - 4], ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00416260
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push 0x466a94
push eax
call fcn.00409700
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 8
jb 0x4163c2
mov edx, dword [ebp - 0x40]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x48], 8
jb 0x4163e3
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0043ff5a
add esp, 4
xor edx, edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 8
jb 0x416408
mov eax, dword [ebp - 0x24]
push eax
call fcn.0043ff5a
add esp, 4
mov eax, dword [0x47b894]
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], cx
cmp eax, ebx
je 0x416431
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x47b894]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x417c80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 0x1380], 1
push ebx
mov eax, dword [ecx + 0x1380]
mov edx, dword [ecx + eax*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, eax
mov dword [ecx + eax*4], ebx
inc dword [ecx + 0x1380]
cmp dword [ecx + 0x1380], 0x270
jl 0x417c93
pop ebx
pop ebp
ret 4
Function at 0x418f90
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x47a4a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x47b924]
mov edx, dword [0x47b92c]
push esi
mov esi, ecx
mov ecx, dword [0x47b928]
mov dword [ebp - 0x18], eax
mov eax, dword [0x47b930]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x47b934]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 4]
mov dword [ebp - 0xc], eax
push edx
lea eax, [ebp - 0x18]
mov dword [ebp - 8], ecx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
mov dword [ebp - 0x64], 0xc3d2e1f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x78], 0x47b924
call fcn.00418d30
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x74]
call fcn.00418d30
push 0
call fcn.00441526
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 8], edx
call fcn.00418d30
call fcn.00441aa7
lea edx, [ebp - 4]
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.00418d30
call fcn.00441a85
mov dword [ebp - 0x10], eax
call fcn.00441a85
mov dword [ebp - 0xc], eax
call fcn.00441a85
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x74]
mov dword [ebp - 8], eax
call fcn.00418d30
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41909e
push eax
push 0x14
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004410a0
add esp, 0x10
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x74]
call fcn.00418d30
push 4
call fcn.0044079c
add esp, 4
lea ecx, [eax + 4]
push ecx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 8], eax
call fcn.00418d30
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.00418d30
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ff5a
add esp, 4
lea edx, [esi + 0x14]
push edx
push esi
lea ecx, [ebp - 0x74]
call fcn.00418d30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x74]
call fcn.00418d80
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x18]
xor dword [eax], ecx
xor dword [esi], ecx
mov ecx, dword [ebp - 0x14]
xor dword [eax + 4], ecx
xor dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
xor dword [eax + 8], ecx
xor dword [esi + 8], ecx
mov ecx, dword [ebp - 0xc]
xor dword [eax + 0xc], ecx
xor dword [esi + 0xc], ecx
mov ecx, dword [ebp - 8]
xor dword [eax + 0x10], ecx
xor dword [esi + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00440721
mov esp, ebp
pop ebp
ret
Function at 0x419720
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ecx + 4]
sub esi, dword [ecx]
mov ebx, 1
mov dword [ebp - 4], ecx
inc esi
push edi
xor ecx, ecx
mov eax, ebx
mov edx, 0x20
mov edi, edi
or ecx, eax
rol eax, 1
sub edx, ebx
jne 0x419740
cmp ecx, 0xffffffff
jne 0x419755
lea ebx, [edx + 2]
mov ecx, SysReAllocString
inc ecx
xor edx, edx
mov eax, ecx
div esi
test edx, edx
jne 0x419764
mov ebx, eax
jmp 0x419781
shr eax, 5
cmp eax, esi
jb 0x419781
jmp 0x419770
shr ecx, 1
xor edx, edx
mov eax, ecx
div esi
add ebx, ebx
shr eax, 5
cmp eax, esi
jae 0x419770
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0x1380]
cmp eax, 0x270
jne 0x419797
push 0
jmp 0x4197a0
cmp eax, 0x4e0
jl 0x4197a7
push 1
mov ecx, edi
call fcn.00417d70
mov eax, dword [edi + 0x1380]
mov ecx, dword [edi + eax*4]
inc eax
mov dword [edi + 0x1380], eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
xor edx, edx
mov ecx, dword [ebp - 4]
pop edi
div esi
pop esi
pop ebx
mov eax, edx
add eax, dword [ecx]
mov esp, ebp
pop ebp
ret 4