joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415715
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x41b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004096b0
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [ebp - 0x28]
mov ebx, eax
mov dword [ebp - 0x258], ebx
test ebx, ebx
jne 0x412212
mov esi, 2
jmp 0x4122f4
push 0x228
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x270]
call fcn.0040b540
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, edi
cmp dword [eax + 0x14], 8
jb 0x412266
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x18]
jne 0x412289
test edx, edx
je 0x412285
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x412289
add ecx, 2
sub edx, 1
jne 0x412274
mov bl, 1
jmp 0x41228b
xor bl, bl
mov ecx, dword [ebp - 0x25c]
cmp ecx, 8
jb 0x4122cb
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4122c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41234d
push ecx
push edx
call fcn.0041342f
add esp, 8
test bl, bl
jne 0x4122ee
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x412240
xor esi, esi
jmp 0x4122f4
mov esi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x412327
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41231d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41234d
push ecx
push edi
call fcn.0041342f
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x41235d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412353
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412353
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412ed8
mov esp, ebp
pop ebp
ret
Function at 0x412380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415760
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x41b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x430]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x20019
push 0
push eax
push 0x80000002
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040b540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x41c]
cmovae ecx, dword [ebp - 0x42c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x42c]
cmovae ecx, dword [ebp - 0x42c]
push ecx
push eax
push ecx
mov ecx, 0x41b784
call fcn.004097d0
mov ecx, dword [ebp - 0x418]
cmp ecx, 8
jb 0x4124a4
mov edx, dword [ebp - 0x42c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41249a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412537
push ecx
push edx
call fcn.0041342f
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
cmp ecx, 8
jb 0x4124f7
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4124ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412537
push ecx
push edx
call fcn.0041342f
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x412547
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41253d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41253d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
mov eax, 0x41b784
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412ed8
mov esp, ebp
pop ebp
ret
Function at 0x413ac9
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10001ddf
pop dword [ebp - 0x4c]
mov eax, 0xa55cc6d2
add eax, 0x6aa3570d
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x356bc
push 0
mov eax, 0x7acd0faa
sub eax, 0x6acc6fa6
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xbd540f29
sub ecx, 0xbd53cd15
xor edi, edi
add edi, eax
mov ebx, 0x1000d600
add ebx, dword [ebp - 0x4c]
mov esi, 0x5c9a4d71
sub dword [ebp - 0x38], 0x12068e7c
mov edx, dword [ebx]
mov dword [ebp - 0x38], 0xdc42f791
xor edx, esi
xor dword [ebp - 0x10], ebx
mov dword [edi], edx
mov dword [ebp - 0x1c], 0x9fbef9a
add edi, 4
add ebx, 4
loop 0x10001e34
add eax, 0xfb23
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xcfaa835a
add ecx, 0x40557ca6
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x1000928f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b348]
jne 0x10009299
repz ret
jmp fcn.1000966a
Function at 0x414404
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d33f
and dword [ebp - 0x14], 0
cmp dword [0x421dd0], 0
mov dword [ebp - 0x18], eax
jne 0x4144b7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41455f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41455f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x421dd0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x421dd4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x421dd8], eax
call edi
push eax
call esi
mov dword [0x421de0], eax
test eax, eax
je 0x4144b7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x421ddc], eax
mov eax, dword [0x421ddc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414510
cmp dword [0x421de0], ecx
je 0x414510
push eax
call esi
push dword [0x421de0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414510
test ebx, ebx
je 0x414510
call edi
test eax, eax
je 0x414507
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414507
test byte [ebp - 8], 1
jne 0x414510
or dword [ebp + 0x10], 0x200000
jmp 0x414543
mov eax, dword [0x421dd4]
cmp eax, dword [ebp - 0x18]
je 0x414543
push eax
call esi
test eax, eax
je 0x414543
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414543
mov eax, dword [0x421dd8]
cmp eax, dword [ebp - 0x18]
je 0x414543
push eax
call esi
test eax, eax
je 0x414543
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x421dd0]
call esi
test eax, eax
je 0x41455f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x414561
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
leave
ret

Function at 0x42d827
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ebx, 0x7fffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, esi
imul eax, edx, 0x10dcd
add eax, 0x116c5
xor edx, edx
div ebx
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
loop 0x42d83c
popal
leave
ret 0xc

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 0x401870
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4078b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x40191a
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401901
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x401901
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401930
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401992
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x401ba0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x401c94
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.00401930
test eax, eax
jne 0x401c94
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.00401930
test eax, eax
jne 0x401c94
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401c65
lea eax, [esp + 0x10]
push 0x40d33c
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401c65
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x401c68
mov byte [esi], 0
push 0x40d338
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4023b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4079e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
nop
mov al, 0x45
mov bl, 5
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x28], al
mov al, 0x6c
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], bl
nop
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov al, 0x65
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x35], al
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x14]
mov cl, 0x73
push 0x40a2c8
push eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x25
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x402493
ret
Function at 0x402ce0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x402e67
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x402d9a
lea ecx, [ebp - 0x24]
push 0x40a2c8
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x402d94
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x402e48
ret
lea eax, [ebp - 0x28]
push 0x40a2c8
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x402ddc
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f80
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov esi, dword [esp + 0x18]
push edi
xor ebx, ebx
lea edi, [esi + 0x10]
mov dword [esp + 0x10], ebx
push edi
mov dword [esp + 0x18], ebx
call ebp
mov edx, dword [esi + 8]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x24], ebx
je 0x407076
push edi
call ebp
mov edx, dword [esi + 8]
lea ebx, [esi + 0x40]
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x24]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x407021
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [esp + 0x10], eax
je 0x406fff
push str.ReadFile__
jmp 0x40701a
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push 1
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x407021
push str.GetOverlappedResults___in_ReadFile__
mov ecx, esi
call fcn.00406e60
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
and eax, 0xff
push edx
push eax
mov edx, dword [ecx + 0x20]
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call ebp
mov edx, dword [esi + 8]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call ebx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x406fc6
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401e1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [str.._AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
lea eax, [ebp - 0xcc]
push 0x18
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.00401da4
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043cac0
leave
ret
Function at 0x46c3dc
Capabilities:
Hash data with md5

Disassembly:
push 0xb8
mov eax, 0x434a44
call fcn.00477438
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push ebx
push eax
call dword [0x438324]
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov eax, edi
jae 0x46c47f
lea eax, [ebp + 8]
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc4], eax
jae 0x46c491
lea edi, [ebp + 8]
cmp edi, eax
je 0x46c4c2
mov al, byte [edi]
mov byte [ebp - 0x95], al
lea eax, [ebp - 0x95]
push 1
push eax
lea esi, [ebp - 0x94]
call fcn.00471c3e
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0xc4]
jne 0x46c495
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0046c59f
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
lea edi, [ebp - 0x9c]
push dword [ebp - 0xac]
call fcn.0046c668
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi + 0x14], 0xf
push eax
push ecx
mov dword [esi + 0x10], ebx
push esi
mov byte [esi], bl
call fcn.0046c85a
mov edi, dword [fcn.00438334]
cmp dword [ebp - 0xbc], ebx
je 0x46c54c
push dword [ebp - 0xbc]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call fcn.0045d36c
cmp dword [ebp - 0xac], ebx
je 0x46c57a
push dword [ebp - 0xac]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.0045d36c
mov eax, esi
call fcn.004774bb
ret