joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a6e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405abf
xor eax, eax
jmp 0x405ae6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405ae6
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405abb
call esi
pop esi
leave
ret 4

Function at 0x405b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x468270], 0x44
push eax
xor eax, eax
push 0x468270
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405b5f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405b63
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405c01
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406008
mov edi, eax
cmp edi, 0xffffffff
je 0x405c42
test byte [esp + 0x10], 1
push esi
je 0x405c24
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405c2a
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405c33
xor eax, eax
inc eax
jmp 0x405c44
test byte [esp + 0x10], 4
jne 0x405c42
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405c49
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405f14
test bl, 8
mov dword [ebp - 8], eax
je 0x405c88
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x47af88], eax
jmp 0x405e05
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ca2
test eax, eax
je 0x405db3
test bl, 2
je 0x405db3
mov esi, 0x460270
push edi
push esi
call fcn.0040653d
cmp dword [ebp + 8], 0
je 0x405cc1
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405cc7
push edi
call fcn.00405e58
cmp word [edi], 0
jne 0x405cd7
cmp word [0x460270], 0x5c
jne 0x405ce2
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405da8
cmp word [ebp - 0x22c], 0x2e
jne 0x405d2c
cmp word [ebp - 0x22a], 0
je 0x405d8b
cmp word [ebp - 0x22a], 0x2e
jne 0x405d2c
cmp word [ebp - 0x228], 0
je 0x405d8b
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040653d
test byte [ebp - 0x258], 0x10
je 0x405d57
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405d8b
push dword [ebp + 0xc]
push edi
call fcn.00405c49
jmp 0x405d8b
push dword [ebp - 4]
push edi
call fcn.00405c01
test eax, eax
jne 0x405d83
cmp dword [ebp - 4], eax
je 0x405d7b
push edi
push 0xfffffffffffffff1
call fcn.0040559f
push 0
push edi
call fcn.004062fd
jmp 0x405d8b
inc dword [0x47af88]
jmp 0x405d8b
push edi
push 0xfffffffffffffff2
call fcn.0040559f
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d04
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405db3
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e05
cmp dword [ebp - 8], esi
jne 0x405dc7
inc dword [0x47af88]
jmp 0x405e05
push edi
call fcn.00406873
test eax, eax
je 0x405e05
push edi
call fcn.00405e0c
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c01
test eax, eax
jne 0x405dfd
cmp dword [ebp - 4], esi
je 0x405dbf
push edi
push 0xfffffffffffffff1
call fcn.0040559f
push esi
push edi
call fcn.004062fd
jmp 0x405e05
push edi
push 0xffffffffffffffe5
call fcn.0040559f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405f14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x464270
push esi
call fcn.0040653d
push esi
call fcn.00405eb7
mov edi, eax
test edi, edi
jne 0x405f35
xor eax, eax
jmp 0x405f8d
push edi
call fcn.004067c4
test byte [0x47af18], 0x80
je 0x405f52
mov ax, word [edi]
test ax, ax
je 0x405f31
cmp ax, 0x5c
je 0x405f31
sub edi, esi
sar edi, 1
jmp 0x405f6c
call fcn.00406873
test eax, eax
je 0x405f66
test byte [eax], 0x10
je 0x405f31
push esi
call fcn.00405e58
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405f58
call fcn.00405e0c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406027
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x40602d
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x40605c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a578]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a57c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4060ac
test edi, edi
jne 0x406069
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4060a6
Function at 0x406183
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x468908], 0x55004e
mov dword [0x46890c], 0x4c
mov edi, 0x400
mov ebp, 0x468908
je 0x4061d9
push 1
push 0
push esi
call fcn.0040602d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4062f8
cmp eax, edi
jg 0x4062f8
mov esi, 0x469108
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4062f8
cmp eax, edi
jg 0x4062f8
push esi
push ebp
push str._ls_ls_r_n
push 0x468508
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x47af10]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040657a
push 4
push 0xc0000000
push esi
call fcn.0040602d
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x4062f8
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4062f1
push edi
push esi
push ebp
call fcn.004060b0
test eax, eax
je 0x4062f1
push str._Rename__r_n
push esi
call fcn.00405f92
test eax, eax
jne 0x40628f
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4062c4
add eax, 0xa
push 0x40a580
push eax
call fcn.00405f92
mov ebp, eax
test ebp, ebp
je 0x4062c0
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062b1
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062ab
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4062c6
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x468508
push eax
call fcn.00405fe8
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.004060df
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4062fd
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406320
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406183
pop ecx
pop ecx
inc dword [0x47af90]
ret 8
Function at 0x40640b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x4000
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063aa
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x40647b
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x3ffe], 0
test edi, edi
pop edi
jne 0x40647b
cmp dword [ebp + 0xc], 1
je 0x40647f
cmp dword [ebp + 0xc], 2
je 0x40647f
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x46990c], 0
push esi
jne 0x406a2e
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 0x406a08
mov dword [ecx*4 + 0x469908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
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 + 0x469908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc
Function at 0x10003310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x20
push 0x101989e4
mov eax, dword [ebp + 8]
push eax
call fcn.1012f4a0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [0x101d00e4], 0xffffaeb6
cmp dword [ebp - 8], 0
jne 0x10003343
xor al, al
jmp 0x100033ed
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d00e8], 0xffffbb19
mov edx, dword [ebp - 8]
push edx
call fcn.1012f326
add esp, 4
mov dword [ebp - 4], eax
push eax
pop eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.1012f41b
add esp, 0xc
mov ah, ah
mov ecx, dword [ebp - 4]
push ecx
call fcn.1012de1c
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, edx
cmp dword [ebp - 0xc], 0
jne 0x100033a9
mov edx, dword [ebp - 8]
push edx
call fcn.1012ee5b
add esp, 4
mov ah, ah
xor al, al
jmp 0x100033ed
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.1012f173
add esp, 0x10
mov ah, ah
mov eax, dword [ebp - 8]
push eax
call fcn.1012ee5b
add esp, 4
mov bl, bl
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov bl, bl
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [0x101d00f0], 0xffffdf59
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10005b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push ebp
mov dword [esp + 0x24], eax
mov eax, 0x6c
mov dword [esp + 0x20], edx
mov edx, 0x64
push esi
push edi
mov dword [esp + 0x24], ecx
mov word [esp + 0x44], 0x6e
mov word [esp + 0x46], 0x74
mov word [esp + 0x48], dx
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], 0x2e
mov word [esp + 0x50], dx
mov word [esp + 0x52], ax
mov word [esp + 0x54], ax
mov word [esp + 0x56], 0
cmp dword [0x101d0144], 0x3a60
mov cl, 0x72
mov byte [esp + 0x32], al
mov al, 0x65
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x31], 0x74
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x55
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], 0x54
mov byte [esp + 0x3e], 0x68
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], 0
mov esi, esi
lea eax, [esp + 0x44]
push eax
call fcn.1010bfb0
add esp, 4
mov esi, eax
mov edi, edx
cmp dword [0x101d0140], 0xffffdf67
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
call fcn.1010c810
add esp, 0xc
mov ecx, eax
mov ebp, edx
push eax
pop eax
or esi, edi
je 0x10005c9b
mov edx, ecx
or edx, ebp
je 0x10005c9b
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
cmp dword [0x101d015c], 0x7d32
push eax
pop eax
lea eax, [esp + 0x14]
cdq
push edx
push eax
lea eax, [esp + 0x14]
cdq
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push esi
push esi
push eax
push edx
mov eax, dword [esp + 0x4c]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
cdq
push edx
push eax
push 0xa
push ebp
push ecx
call fcn.1010bd40
add esp, 0x5c
cmp eax, esi
jne 0x10005c87
cmp edx, esi
je 0x10005caf
push edx
push eax
call fcn.1010c740
add esp, 8
cmp dword [0x101d0150], 0xfffff17e
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x50
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0xffffffff
neg eax
sbb eax, eax
pop edi
and eax, ecx
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
xor ecx, esp
call fcn.1012e3ba
add esp, 0x50
ret

Function at 0x10006f31
Capabilities:
Create thread

Disassembly:
push dword [ebp + 0x10]
push dword [ebp - 0x148]
push dword [0x102fb204]
jmp fcn.10005a00
Function at 0x100175a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov al, 0x64
push ebp
mov ebp, dword [esp + 0x34]
mov cl, 0x61
mov byte [esp + 0xd], al
mov byte [esp + 0x15], al
mov al, 0x6c
push esi
push edi
mov byte [esp + 0x14], cl
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
mov ch, ch
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, ebp
mov esi, esi
test esi, esi
je 0x100176b2
mov al, 0x65
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x4b
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x79
mov byte [esp + 0x2e], 0x45
mov byte [esp + 0x2f], 0x78
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0
cmp dword [0x101d0584], 0x5bc7
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov ecx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dh, dh
test edi, edi
je 0x100176b2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1012e3ba
add esp, 0x28
ret 0x14

Function at 0x10020d90
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
push eax
pop eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ebx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov bl, bl
mov dword [esp + 0x10], 0
mov esi, esi
call fcn.10044820
mov edi, eax
push eax
pop eax
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x10020cc0
push 0
push 0
call fcn.101301c7
add esp, 0x18
mov esi, eax
cmp dword [0x101d05d0], 0x6c83
push edi
call fcn.10044920
add esp, 4
cmp dword [0x101d05e4], 0x4fa7
test esi, esi
jne 0x10020e03
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ch, ch
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x101d05dc], 0x7511
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x10020e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov dl, 0x77
mov cl, 0x69
push esi
mov byte [esp + 8], 0x44
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0x6d
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x70
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0
mov edx, edx
mov al, 0x74
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x41
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0
cmp dword [0x101d05e0], 0xfffff998
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, ebp
test esi, esi
je 0x10020f3a
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, edx
test eax, eax
je 0x10020f31
mov dword [esp + 4], 1
cmp dword [0x101d05e8], 0xffffec2e
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
call eax
mov al, al
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov cl, cl
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.1012e3ba
add esp, 0x2c
ret
Function at 0x10021d90
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018f681
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
cmp dword [0x101d05e4], 0xffffb058
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.101308da
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
mov ebp, ebp
call fcn.101308e7
and eax, reloc.WS2_32.dll_getsockopt
jns 0x10021ec5
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
push ecx
pop ecx
cmp dword [0x101d05e0], 0x667
test eax, eax
jle 0x10021f18
mov edi, eax
lea ebx, [ebx]
call fcn.101308e7
and eax, 0x8000001f
jns 0x10021ef1
dec eax
or eax, 0xffffffe0
inc eax
cmp dword [0x101d05d8], 0x4e61
mov al, byte [esp + eax + 0x14]
add al, 1
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.10021ce0
mov bh, bh
sub edi, 1
jne 0x10021ee0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x3c
ret
Function at 0x10022e70
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1018f802
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x38], bl
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0634], 0xffffbf2d
push eax
pop eax
cmp dword [0x101d0648], 0xfffffe1b
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dl, dl
cmp eax, 0xffffffff
je 0x10022f0f
lea ecx, [esp + 0x13]
push ecx
push edi
mov ecx, esi
call fcn.10004620
jmp 0x10022fda
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, ebp
cmp eax, ebx
jne 0x10022f2b
lea edx, [esp + 0x13]
push edx
push 0x10198bf0
jmp 0x10022fd3
cmp word [eax + 0xa], 4
je 0x10022f41
lea eax, [esp + 0x13]
push eax
push 0x10198bf0
jmp 0x10022fd3
mov ah, ah
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.1012fbf0
add esp, 0xc
mov edi, edi
mov cl, 0x25
mov al, 0x64
mov dl, 0x2e
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
cmp dword [0x101d0624], 0x66e
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
push edx
push eax
mov eax, dword [esp + 0x20]
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.1012f577
add esp, 0x18
mov ch, ch
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.10004620
mov dword [esp + 0x138], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x12c
ret