joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007e22
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10007e43
xor al, al
jmp 0x10007e74
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call sym.java.dll_JNU_CallStaticMethodByName
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007e83
mov eax, dword [esp + 0x18]
dec eax
je 0x10007e71
dec eax
je 0x10007e78
dec eax
dec eax
jne 0x10007e83
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x10007e73
test al, bl
je 0x10007e73
xor al, al
jmp 0x10007e73

Function at 0x10007e87
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

Function at 0x10008088
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call sym.java.dll_JNU_CallStaticMethodByName
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call sym.java.dll_JNU_CallStaticMethodByName
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc
Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x1000b1e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000b1f4
pop dword [ebp - 0x4c]
mov eax, 0xe998be5f
add eax, 0x2667f395
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xaff67b75
add dword [ebp - 0x5c], 0x9e5bc9d6
mov dword [ebp - 0x58], 0xb8f727bb
sub dword [ebp - 0x58], 0x86c3db76
mov dword [ebp - 0x54], 0x16f388a3
sub dword [ebp - 0x54], 0xcaa74475
mov dword [ebp - 0x50], 0x5f2d8e69
add dword [ebp - 0x50], 0xa0d27197
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xe7a45173
sub eax, 0xd7a3201b
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x52abedaf
sub dword [ebp - 0x5c], 0xde398459
mov dword [ebp - 0x58], 0xd180fabe
sub dword [ebp - 0x58], 0x90149949
mov dword [ebp - 0x54], 0x47275d1
add dword [ebp - 0x54], 0x5efcf69b
mov dword [ebp - 0x50], 0x510078e2
sub dword [ebp - 0x50], 0x510078e2
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3404a
push 0
call eax
mov ecx, 0x3941
mov edi, eax
mov ebx, 0xb539a445
add ebx, 0x5ac861bb
add ebx, dword [ebp - 0x4c]
mov edx, 0xd93fd09c
sub dword [ebp - 0x38], 0x1c440da8
mov esi, dword [ebx]
xor dword [ebp - 0x20], edx
sub esi, edx
mov dword [edi], esi
add dword [ebp - 0x2c], 0x77eab4cc
add edi, 0x4030eac2
sub edi, 0x4030eabe
add ebx, 0xa949c8eb
sub ebx, 0xa949c8e7
loop 0x1000b305
add eax, 0x252920b4
sub eax, 0x252848dd
mov ebx, eax
add eax, 0x166222f1
sub eax, 0x166222ec
mov ecx, 0xa38fdc6f
sub ecx, 0x938fdc6f
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb
Function at 0x10001910
Capabilities:
Connect socket

Disassembly:
push ecx
mov eax, dword [edi + 0x18]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x1000192c
call fcn.1003288a
mov esi, dword [edi + 0x18]
call fcn.1003282a
mov dword [edi + 0x18], ebx
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x1000193f
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [edi + 0x1c], 0xffffffff
mov ecx, dword [edi + 0x2c]
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100040fd
mov ecx, dword [edi + 0x30]
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100040fd
add esp, 0x14
xor eax, eax
inc eax
push 6
push eax
push 2
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x13f0], ebx
mov dword [edi + 0x13ec], ebx
mov dword [edi + 0x3dc], ebx
mov dword [edi + 0x3e0], ebx
mov dword [edi + 0x3e4], ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 0x1c], eax
je 0x100019fc
push 0x10
push edi
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x100019fc
mov eax, dword [edi + 0x40]
push str.http:
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100019c0
mov eax, dword [edi + 0x24]
jmp 0x10001a01
push dword [edi + 0x14]
call fcn.100327e3
cmp eax, ebx
pop ecx
mov dword [edi + 0x18], eax
je 0x100019fc
mov ecx, dword [edi + 0x1c]
lea edx, [eax + 0xf8]
lea esi, [eax + 0xfc]
mov dword [edx], ecx
mov dword [esi], ecx
mov dword [eax + 0x110], edx
mov dword [eax + 0x114], esi
mov eax, dword [edi + 0x18]
call fcn.10032afc
cmp eax, 1
je 0x100019bb
mov dword [edi + 0x24], ebx
xor eax, eax
pop esi
pop ebx
pop ecx
ret

Function at 0x10001a05
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [edi + 0x24], 0
push esi
jne 0x10001a16
xor eax, eax
jmp 0x10001a8d
mov eax, dword [ebx + 4]
and dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 8], eax
jle 0x10001a8a
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
mov eax, 0x1000
cmp ecx, eax
jl 0x10001a35
mov ecx, eax
mov eax, dword [ebx]
mov esi, dword [edi + 0x18]
add eax, dword [ebp - 4]
test esi, esi
je 0x10001a53
push ecx
push eax
call fcn.100359d5
test eax, eax
pop ecx
pop ecx
jge 0x10001a60
or esi, 0xffffffff
jmp 0x10001a62
push 0
push ecx
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jle 0x10001a90
mov eax, dword [edi + 0x3e8]
test eax, eax
je 0x10001a7f
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001a90
add dword [ebp - 4], esi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x10001a24
xor eax, eax
inc eax
pop esi
leave
ret
and dword [edi + 0x24], 0
jmp 0x10001a12
Function at 0x10001a99
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ecx
cmp dword [esi + 0x24], 0
push ebx
push ebp
push edi
jne 0x10001aab
xor eax, eax
jmp 0x10001b82
mov edi, dword [esi + 0x13f0]
mov eax, edi
cdq
mov ebx, bind
add eax, ebx
adc edx, 0
mov dword [esp + 0x10], edx
mov ebp, 0x1000
js 0x10001b0f
jg 0x10001acf
cmp eax, ebp
jbe 0x10001b0f
mov ecx, dword [esi + 0x13ec]
test ecx, ecx
je 0x10001b0f
cmp edi, ebp
je 0x10001ae6
mov eax, edi
sub eax, ecx
cmp eax, 0x10
jg 0x10001b0f
mov eax, edi
sub eax, ecx
push eax
mov dword [esi + 0x13f0], eax
lea eax, [ecx + esi + 0x3ec]
push eax
lea eax, [esi + 0x3ec]
push eax
call sub.MSVCRT.dll_memmove
add esp, 0xc
and dword [esi + 0x13ec], 0
mov eax, dword [esi + 0x13f0]
mov ecx, ebp
sub ecx, eax
cmp ecx, ebx
jle 0x10001b1f
mov ecx, ebx
mov edx, dword [esi + 0x18]
xor ebx, ebx
cmp edx, ebx
lea eax, [eax + esi + 0x3ec]
je 0x10001b3c
push ecx
push eax
push edx
call fcn.10032863
add esp, 0xc
jmp 0x10001b48
push ebx
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jge 0x10001b56
mov dword [esi + 0x24], ebx
jmp 0x10001aa4
mov eax, dword [esi + 0x3e8]
cmp eax, ebx
je 0x10001b6e
push ebx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001b4e
add dword [esi + 0x13f0], edi
cmp edi, ebx
jne 0x10001b7f
mov dword [esi + 0x28], 1
mov eax, dword [esi + 0x24]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x10002a96
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ecx, edi
and ecx, 0xff00
mov edx, edi
shl edx, 0x10
or ecx, edx
shl ecx, 8
movzx edx, di
or ecx, edx
xor ecx, 0xb11924e1
movsx esi, cl
mov edx, ecx
shr edx, 8
movsx edx, dl
mov ebx, esi
mov ebp, dword [esp + 0x14]
shl ebx, 5
add ebx, esi
add edx, ebx
mov esi, edx
shl esi, 5
add esi, edx
mov edx, ecx
shr edx, 0x10
movsx edx, dl
add esi, edx
shr ecx, 0x18
mov edx, esi
shl edx, 5
add edx, esi
movsx ecx, cl
mov ebx, edi
and ebx, 3
mov eax, 0x96438af7
lea ecx, [ecx + edx + 0x7c5d0f85]
mov dword [esp + 0x14], ebx
je 0x10002b58
mov esi, ebp
jmp 0x10002b11
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x10058188]
mov ebp, ecx
not ebp
shl ebp, 0x15
mov dl, al
add dl, cl
xor dl, byte ds:[esi]
add ebp, 0x2611501
shr ecx, 0xb
or ecx, ebp
mov ebp, eax
shl ebp, 5
add ebp, eax
movzx eax, dl
mov byte ds:[esi], dl
add esi, 1
sub ebx, 1
lea eax, [ebp + eax + 3]
jne 0x10002b11
sub edi, dword [esp + 0x14]
mov ebp, esi
test edi, edi
mov esi, ebp
je 0x10002b9f
jmp 0x10002b62
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x10058188]
mov ebx, ecx
not ebx
shl ebx, 0x15
lea edx, [eax + ecx]
xor edx, dword ds:[esi]
add ebx, 0x3938731
shr ecx, 0xb
or ecx, ebx
mov ebx, eax
shl ebx, 5
add ebx, edx
mov dword ds:[esi], edx
add esi, 4
sub edi, 4
lea eax, [ebx + eax + 3]
jne 0x10002b62
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10003a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1005d620], 0
push esi
push edi
mov edx, 0xff
jne 0x10003a77
xor esi, esi
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x10003a5e
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10003a60
shr ecx, 1
dec edi
jne 0x10003a4f
mov edi, esi
xor edi, edx
inc esi
cmp esi, 0x100
mov dword [edi*4 + 0x1005d620], ecx
jb 0x10003a4a
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x10003aa3
mov esi, dword [esp + 0xc]
movzx esi, byte [ecx + esi]
mov edi, eax
and edi, edx
shr eax, 8
xor esi, edi
xor eax, dword [esi*4 + 0x1005d620]
xor eax, 0xff000000
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10003a7f
pop edi
pop esi
ret

Function at 0x10003ab9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov ecx, dword [eax]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
push ebx
push esi
mov esi, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
add edi, 2
movzx ebx, byte [edi]
xor edx, edx
mov dh, byte [edi - 2]
add edi, 4
mov dl, byte [edi - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi - 3]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
mov dword [ebp + ebx*4 - 0x150], edx
jb 0x10003ae5
push 0x40
lea edx, [ebp - 0x148]
pop edi
mov ebx, dword [edx + 0x2c]
xor ebx, dword [edx + 0x18]
xor ebx, dword [edx - 8]
xor ebx, dword [edx]
add edx, 4
dec edi
rol ebx, 1
mov dword [edx + 0x34], ebx
jne 0x10003b1d
xor edx, edx
cmp edx, 0x14
jae 0x10003b58
mov ebx, dword [ebp - 4]
mov edi, esi
not edi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x5a827999]
jmp 0x10003baf
cmp edx, 0x28
jae 0x10003b75
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x6ed9eba1]
jmp 0x10003baf
cmp edx, 0x3c
jae 0x10003b99
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
or edi, esi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x70e44324]
jmp 0x10003baf
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x359d3e2a]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
ror esi, 2
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, esi
rol ebx, 5
inc edx
add edi, ebx
cmp edx, 0x50
mov dword [ebp - 0x10], edi
jb 0x10003b35
mov edx, dword [eax]
add edx, edi
mov dword [eax], edx
mov edx, dword [eax + 4]
add edx, esi
mov esi, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
pop edi
add edx, ecx
pop esi
mov dword [eax + 0x10], edx
pop ebx
leave
ret
Function at 0x1000487b
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push 0
push 0x100445ac
call fcn.10004039
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
pop ecx
push dword [esp + 0x18]
mov dword [esp + 0x10], eax
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x10004913
cmp word [edi], 0
push esi
mov esi, edi
je 0x1000490b
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x1000490b
push 0x3d
lea eax, [esi + 2]
call fcn.1000497f
mov dword [esp + 0x18], eax
sub eax, esi
sar eax, 1
cmp eax, ebp
pop ecx
jne 0x100048fe
lea eax, [ebp + ebp]
push eax
push esi
push dword [esp + 0x24]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100048fe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 2
push eax
call fcn.100040d2
pop ecx
push esi
call ebx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x100048b5
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x10004bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10004c52
push esi
push 0x104
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.10004039
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, edi
pop ecx
pop ecx
je 0x10004c4d
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10004c4d
push 0x5c
call fcn.10004228
pop ecx
mov eax, esi
pop esi
jmp 0x10004c5f
push edi
push 0x100445ac
call fcn.10004039
pop ecx
pop ecx
pop edi
leave
ret

Function at 0x10006b5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
call fcn.10003df3
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
pop esi
call fcn.10003f7f
mov edi, dword [ebp + 8]
push dword [edi]
mov ebx, dword [edi + 4]
mov esi, eax
call fcn.100041b8
mov eax, dword [esi]
mov edx, dword [eax]
pop ecx
pop ecx
push 4
pop ecx
cmp dword [esi + 4], ecx
jbe 0x10006bb3
mov eax, dword [esi]
imul edx, edx, 0x3279092d
add edx, 0x54d794f
add eax, ecx
mov ebx, edx
shr ebx, 0x18
xor byte [eax], bl
inc ecx
cmp ecx, dword [esi + 4]
jb 0x10006b96
push dword [esi + 4]
push dword [esi]
call fcn.10004795
pop ecx
pop ecx
mov ebx, eax
call fcn.10004011
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov dword [edi], ecx
mov esi, ebx
mov dword [ebx], eax
call fcn.10004011
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006c52
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10006be6
pop ecx
mov dword [ebp - 8], eax
or eax, edx
pop ecx
mov dword [ebp - 4], edx
je 0x10006c85
push 8
or cl, 0xff
lea eax, [ebp - 8]
pop edx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006c7c
push dword [ebp - 8]
movzx eax, byte [ebp + 0xc]
push dword [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 0x18], 0x2d
mov byte [ebp - 0x17], 0x25
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x58
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x38
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x25
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x38
mov byte [ebp - 0xc], 0x58
mov byte [ebp - 0xb], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x80]
call fcn.1000429f
add esp, 0x20
push 0x64
pop ecx
lea eax, [ebp - 0x80]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006cf5
push 0xe
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006d01
pop ebx
leave
ret
Function at 0x10006d0a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10006be6
pop ecx
mov dword [ebp - 0x3c], eax
pop ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push dword [ebp - 0x3c]
movzx eax, word [ebp - 0x3e]
push dword [ebp - 0x38]
xor ebx, ebx
push eax
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4c]
push eax
movzx eax, byte [ebp + 0xc]
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x33], 0x25
mov byte [ebp - 0x32], 0x30
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x5f
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x30
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x25
mov byte [ebp - 0x28], 0x30
mov byte [ebp - 0x27], 0x32
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x25
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x5f
mov byte [ebp - 0x1f], 0x25
mov byte [ebp - 0x1e], 0x30
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x25
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x32
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x32
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0xf], 0x30
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x5f
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x58
mov byte [ebp - 7], 0x25
mov byte [ebp - 6], 0x30
mov byte [ebp - 5], 0x38
mov byte [ebp - 4], 0x58
mov byte [ebp - 3], bl
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xb8]
call fcn.1000429f
add esp, 0x50
push 0x64
pop ecx
lea eax, [ebp - 0xb8]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e5e
push 0x32
pop ecx
lea eax, [ebp - 0x34]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e6a
pop ebx
leave
ret
Function at 0x10006e73
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 8
pop ebx
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, 0x288
push eax
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_malloc
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10006ec8
push dword [ebp - 4]
call sub.MSVCRT.dll_free
push dword [ebp - 8]
call sub.MSVCRT.dll_malloc
pop ecx
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x10006f14
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xc], ebx
mov eax, esi
sub dword [ebp - 0xc], eax
test edi, edi
je 0x10006f14
push ebx
lea eax, [edi + 0x194]
push eax
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
or eax, dword [esi + 4]
je 0x10006f06
or cl, 0xff
mov eax, esi
mov edx, ebx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006efd
mov eax, dword [ebp - 0xc]
mov edi, dword [edi]
add esi, ebx
add eax, esi
cmp eax, 0x20
jbe 0x10006eda
push dword [ebp - 4]
call sub.MSVCRT.dll_free
mov edi, ebx
lea ebx, [ebp - 0x2c]
pop ecx
sub ebx, 8
lea eax, [ebx + edi]
push 8
push eax
call fcn.10004795
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [esi]
mov eax, 0x100445cc
push dword [ebp + 8]
call fcn.1000429f
add esp, 0x28
call fcn.10004011
add edi, 8
cmp edi, 0x20
jbe 0x10006f25
push 0x20
pop ecx
pop edi
pop esi
lea eax, [ebp - 0x2c]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10006f62
leave
ret