joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4499f0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x449b12
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x449b12
push esi
lea eax, [ebp - 0x104]
mov byte [ebp - 1], bl
push 0x5c
push eax
call fcn.004530c0
mov esi, eax
add esp, 8
test esi, esi
je 0x449b09
inc esi
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449a52
sub ecx, edx
je 0x449a79
cmp byte [ecx + esi - 1], 0x20
jne 0x449a79
push str.Trailing_space_on_executable_name__This_will_cause_Application_Verifier_and_ETW_Heap_tracing_to_fail__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.0043ef90
test al, al
je 0x449a79
int3
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_s
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00453979
add esp, 0x10
mov byte [ebp - 0x105], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x449b09
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push eax
push eax
push eax
push str.StackTraceDatabaseSizeInMB
push dword [ebp + 8]
call esi
test eax, eax
jne 0x449ae7
push eax
push eax
push eax
push eax
push str.PageHeapFlags
push dword [ebp + 8]
call esi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push 0
push 0
push 0
push 0
push str.TracingFlags
push dword [ebp + 8]
call esi
test eax, eax
jne 0x449b00
mov byte [edi], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx esi, bl
mov cl, 0x80
mov byte [edi], al
movzx eax, al
cdq
idiv esi
mov byte [edi + 1], bl
mov dl, 8
dec al
test al, cl
jne 0x44b94c
dec dl
shr cl, 1
jne 0x44b942
mov byte [edi + 2], dl
dec bl
mov cl, 8
mov al, 0x80
test bl, al
jne 0x44b95f
dec cl
shr al, 1
jne 0x44b955
mov al, 8
mov byte [edi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [edi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [edi + 7], dl
not bl
xor al, dl
mov byte [edi + 3], bl
mov byte [edi + 5], al
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44ef10
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x649394]
test al, 1
jne 0x44ef38
or eax, 1
mov ecx, 0x648f60
mov dword [0x649394], eax
call fcn.0044dd10
push 0x4e5c60
call fcn.004515a1
add esp, 4
cmp byte [0x649398], 0
jne 0x44ef61
call sub.KERNEL32.dll_GetCommandLineA
test eax, eax
je 0x44ef61
cmp byte [eax], 0
je 0x44ef61
push eax
mov ecx, 0x648f60
call fcn.0044e480
mov byte [0x649398], 1
mov eax, dword [0x648f58]
ret
Function at 0x4658c3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5583b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004597b3
mov dword [ebp - 0x14], eax
cmp dword [0x656dc4], esi
jne 0x4659b6
push 0x800
push esi
push 0x50ac14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x465943
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x465a96
push esi
push esi
push 0x50ac14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x465a96
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x465a96
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x656dc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x656dc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x50ac5c
push edi
mov dword [0x656dcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x656dd4], eax
test eax, eax
je 0x4659b3
push 0x50ac78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x656dd0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4659db
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4659ce
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4659f0
push 4
pop eax
jmp 0x465a98
cmp dword [ebp - 0x14], esi
je 0x4659f0
push dword [0x656dc4]
call dword [0x544004]
push 3
jmp 0x4659d5
mov eax, dword [0x656dd0]
mov ebx, dword [0x544004]
cmp eax, edi
je 0x465a4e
cmp dword [0x656dd4], edi
je 0x465a4e
push eax
call ebx
push dword [0x656dd4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x465a4e
test eax, eax
je 0x465a4e
call ecx
test eax, eax
je 0x465a43
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x465a43
test byte [ebp - 8], 1
jne 0x465a4e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x465a7e
mov eax, dword [0x656dc8]
cmp eax, edi
je 0x465a7b
push eax
call ebx
test eax, eax
je 0x465a7b
call eax
mov esi, eax
test esi, esi
je 0x465a7b
mov eax, dword [0x656dcc]
cmp eax, edi
je 0x465a7b
push eax
call ebx
test eax, eax
je 0x465a7b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x656dc4]
call ebx
test eax, eax
je 0x465a96
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x465a98
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453ef1
mov esp, ebp
pop ebp
ret
Function at 0x46eb70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x46eb95
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
dec esi
jne 0x46eb86
pop edi
movzx eax, dl
pop esi
ret

Function at 0x46ee00
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00453200
mov eax, dword [0x5583b4]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x46ee64
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x46ee64
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
call fcn.004571aa
add eax, 0x40
push eax
call fcn.00463b98
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00453ef1
add esp, 0x108
ret
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
lea eax, [esp + 0xc]
push 0xff
push eax
call fcn.004512c0
add esp, 0x10
mov byte [esp + 0x103], 0
call fcn.0046ecc0
test eax, eax
jle 0x46eee9
push esi
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x46eed3
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00453ef1
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00453ef1
add esp, 0x108
ret
Function at 0x498a20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00453200
mov eax, dword [0x5583b4]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x498a86
cmp edi, dword [esi]
je 0x498a7d
test ebp, ebp
je 0x498b00
test ebx, ebx
js 0x498b00
mov eax, 1
mov dword [esi], edi
jmp 0x498a8c
mov edi, dword [esi]
test edi, edi
je 0x498b00
test ebp, ebp
je 0x498c1b
push edi
call fcn.0047a610
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x498ac0
push str.j____int_sizeof_ctx__key_
push 0x6a
push str..cryptohmachmac.c
call fcn.0046ef20
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x498b1b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.0048ae80
add esp, 0xc
test eax, eax
je 0x498b00
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.0048b030
add esp, 0xc
test eax, eax
je 0x498b00
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.0048add0
add esp, 0xc
test eax, eax
jne 0x498b37
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453ef1
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x498b00
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00452a70
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x498b5a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00451ad0
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x498b60
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.0048ae80
add esp, 0xc
test eax, eax
je 0x498b00
push edi
call fcn.0047a610
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0048b030
add esp, 0x10
test eax, eax
je 0x498b00
xor ecx, ecx
jmp 0x498bb0
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x498bb0
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0048ae80
add esp, 0xc
test eax, eax
je 0x498b00
push edi
call fcn.0047a610
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0048b030
add esp, 0x10
test eax, eax
je 0x498b00
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0048b100
add esp, 8
test eax, eax
je 0x498b00
mov eax, 1
jmp 0x498b02
test eax, eax
je 0x498bf9
jmp 0x498b5e
Function at 0x4a5d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.00453200
mov eax, dword [0x5583b4]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.0048b2b0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0048b100
add esp, 0xc
test eax, eax
je 0x4a5e72
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0048add0
add esp, 0xc
test eax, eax
je 0x4a5e72
lea eax, [esp + 0x20]
push eax
call fcn.0048b040
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x4a5e90
push edi
call fcn.0047a9c0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.004993e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4a5e72
push esi
call fcn.004a1680
add esp, 4
test eax, eax
jle 0x4a5e72
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00499190
add esp, 0x18
test eax, eax
jle 0x4a5e72
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.004a15a0
add esp, 0x14
test eax, eax
jle 0x4a5e72
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00499380
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00453ef1
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x4a5ea8
cmp dword [edi], edx
je 0x4a5ed2
inc eax
add ecx, 4
cmp eax, 4
jl 0x4a5e95
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0046b060
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00453ef1
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4a5f06
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0046b060
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00453ef1
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453ef1
add esp, 0x6c
ret
Function at 0x4abb80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x4abb97
mov edi, ecx
jmp 0x4abb9b
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x4abbab
mov eax, ebx
jmp 0x4abbb5
push eax
push ebx
call fcn.0046c7c0
add esp, 8
test eax, eax
jne 0x4abbbd
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x4abbdb
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x4abbc5
cmp esi, dword [edi + 4]
jge 0x4abbf0
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x4abbe0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x4abc14
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x4abc11
dec ecx
test ecx, ecx
jg 0x4abc03
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x1001a58
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1001a62
pushal
call 0x1001a68
pop ebp
sub ebp, 0x10
sub ebp, 0xc01a58
jmp 0x1001a7e
mov eax, 0xc01a58
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d2
mov edx, 0x9f181ea4
xor byte [eax], dl
inc eax
dec ecx
jne 0x1001a95
jmp 0x1001aa8
das
imul ebp, dword [edi], 0xa4a4982d
movsb byte es:[edi], byte [esi]
and eax, 0xa4a45c65
movsb byte es:[edi], byte [esi]
cmpsd dword [esi], dword es:[edi]
imul ebx, dword [ecx], 0x1ea4a4a4
mov word [esp - 0x58b9ac5c], fs
insb byte es:[edi], dx
das
and eax, 0xa4a4a4a8
cmpsd dword [esi], dword es:[edi]
popal
hlt
Function at 0x406492
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4064b6
xor eax, eax
test eax, eax
je 0x4064c8
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4064c8
xor ecx, ecx
jmp 0x4064cb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4065b7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce24], 0
push esi
jne 0x4065ee
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065c8
mov dword [ecx*4 + 0x42ce20], eax
inc ecx
cmp ecx, 0x100
jl 0x4065c3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40661f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce20]
xor eax, esi
inc ecx
dec edx
jne 0x406601
pop edi
not eax
pop esi
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 0x837032a8
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x10
pop ecx
lea edi, [eax + 0x10]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
rep movsd dword es:[edi], dword [esi]
and dword [eax + 0x4c], 0
pop edi
mov dword [eax + 0x48], 0x1c0
pop esi
pop ebp
ret 8
Function at 0x8371a518
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4
Function at 0x8372f680
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x8372f7bb
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x8372f790
test eax, eax
jne 0x8372f790
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x8372f6d0
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x8372f7bb
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x8372f790
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc
Function at 0x83793f13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x65725049
push 0x8c
push edi
call dword [0x870f40a4]
mov esi, eax
cmp esi, edi
je 0x83793fda
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x224]
movzx ecx, word [ecx + 0x1e]
push ecx
push dword [ebp + 8]
lea eax, [esi + 0x50]
push eax
call fcn.83787776
mov eax, dword [ebp + 0x10]
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x34], eax
xor eax, eax
mov word [esi + 0x7c], ax
mov word [esi + 0x7e], ax
mov word [esi + 0x3c], ax
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x28], 0x400
mov dword [esi + 0x88], edi
call dword [0x870f410c]
push edi
push 0x186a0
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.83769b40
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x50]
push eax
push dword [ebp + 0x10]
push dword [ebx]
call fcn.83794326
mov dword [esi + 8], eax
lea eax, [esi + 0x84]
push eax
call fcn.83794428
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x8379da83
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x8710ec68], 0
jne 0x8379da96
xor al, al
leave
ret
mov eax, dword [0x8710e9a8]
mov ecx, dword [0x8710e998]
jmp 0x8379daa7
inc eax
and eax, 0x3f
lea edx, [ecx + eax*8]
cmp dword [edx], edx
je 0x8379daa3
push ebx
lea edx, [eax + 1]
push esi
and edx, 0x3f
mov dword [0x8710e9a8], edx
mov eax, dword [ecx + eax*8]
mov esi, dword [eax - 0x4c]
mov ebx, dword [eax - 0x48]
push edi
mov edi, dword [eax - 0x68]
sub eax, 0x78
push 1
push eax
mov dword [ebp - 4], edi
call fcn.8379d7dc
xor eax, eax
mov ecx, edi
test edi, edi
je 0x8379daeb
movzx edx, cl
shr ecx, 8
xor eax, edx
test ecx, ecx
jne 0x8379dadf
and eax, 0x3f
mov edi, eax
shl edi, 3
jmp 0x8379db0a
lea ecx, [esi - 0x2c]
mov edx, dword [ecx + 0x10]
mov esi, dword [esi]
cmp edx, dword [ebp - 4]
jne 0x8379db33
push 0
push ecx
call fcn.8379d7dc
mov eax, dword [0x8710e99c]
lea ecx, [edi + eax]
cmp esi, ecx
je 0x8379db33
jmp 0x8379daf5
mov ecx, dword [ebp - 4]
lea eax, [ebx - 0x2c]
mov ebx, dword [ebx + 4]
cmp dword [eax + 0x10], ecx
jne 0x8379db39
push 0
push eax
call fcn.8379d7dc
mov eax, dword [0x8710e99c]
add eax, edi
cmp ebx, eax
jne 0x8379db18
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x837d7e4f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [ebp + 0xc], eax
call fcn.8376da3b
test al, al
jne 0x837d7ec2
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi + 0x10]
test al, 2
je 0x837d7ec1
cmp dword [esi + 0x5c], 0
jne 0x837d7ec1
test al, 8
je 0x837d7ec1
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 6]
movzx ecx, byte [edi + 0x14]
add eax, ecx
cmp eax, 0x80
jne 0x837d7ec1
push ebx
push dword [esi + 0x3c]
call fcn.8375c803
push dword [esi + 0x40]
mov ebx, eax
call fcn.8375c803
push 0x870fed44
push 1
push eax
movzx eax, byte [edi + 0x14]
push ebx
push eax
push dword [ebp + 0xc]
push dword [esi + 0x20]
call fcn.8374c787
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x401610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
xor edx, edx
sub esp, 0x14
test eax, eax
je 0x40164c
mov edx, dword [esp + 0x2c]
mov eax, edx
add esp, 0x3c
ret

Function at 0x401660
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3c
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
xor edx, edx
sub esp, 0x14
test eax, eax
je 0x40169c
mov edx, dword [esp + 0x2c]
mov eax, edx
add esp, 0x3c
ret