joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d8250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10ec808
push 0x10dc288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10d8329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10d8329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.010db1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x10d8329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x10d8329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x10d832c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.010d8351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10d8d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10d8d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x10d8d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10d8d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10d8d94
push eax
push esi
call fcn.010db20b
add esp, 8
pop esi
ret 0x10

Function at 0x10d8da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10d8e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x10d8e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x10f1320
push ecx
mov dword [esp + 0x1c], 4
call fcn.010dadff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x10d8dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x10d8e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10d8ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x10d8eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x10f1320
push ecx
mov dword [esp + 0x1c], 4
call fcn.010dadff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x10d8eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x10d8e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x10d9000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x10d9131
push esi
call fcn.010dc145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.010cb080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x10d9131
push 0
push ebp
call fcn.010cb3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.010cb260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10d908b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.010cb2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10d9121
push 0x10f1918
push edi
call fcn.010da3f0
push eax
push ebx
push esi
call fcn.010d8f60
push 0x10f18f8
push edi
call fcn.010da3f0
push eax
push ebx
push esi
call fcn.010d8f60
push 0x10f18d8
push edi
call fcn.010da3f0
push eax
push ebx
push esi
call fcn.010d8f60
push 0x10f18c0
push edi
call fcn.010da3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.010d8f60
push 0x10f18a0
push edi
call fcn.010da3f0
push eax
push ebx
push esi
call fcn.010d8f60
push 0x10f1888
push edi
call fcn.010da3f0
push eax
push ebx
push esi
call fcn.010d8f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10da1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.010da140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.010da140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.010da140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.010da140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x10dabfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10dac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10ec87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10dac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10dac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10177ff2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [0x1020d6a4]
add ecx, 0xf46
mov dword [0x1020d6a4], ecx
mov dword [ebp - 0x10], eax
call fcn.101782cb
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x1020d6a4], 0x6e4
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10178079
jmp 0x10178091
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x101780bd
jmp 0x10178084
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x10178114
jmp 0x101780eb
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
je 0x10178084
jmp 0x1017804f
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
jb 0x101780a3
jmp 0x10178079
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x1020d6a4], 0x338
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x10178079
Function at 0x101784e6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x1020d6a4], 0x332
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x1020d6a4]
add edx, 0xfffff07e
mov dword [0x1020d6a4], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10178587
mov dword [0x1020d6a4], 0xfffff99d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101785d8
jmp 0x10178580
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], cl
mov al, byte [ebp - 0x1d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], edx
jne 0x10178587
jmp 0x1017859d
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x10178578
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edx
jne 0x1017854d
mov eax, dword [ebp - 0x24]
mov dword [0x1020d6a8], 0x346
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10178580
mov dword [0x1020d6a8], 0x1343
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1017852e
jmp 0x10178580
mov dword [0x1020d6a4], 0x1089
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10178580
mov dword [0x1020d6a4], 0x1be
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10178580
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10178580
mov eax, 1
mov dword [0x1020d6a4], 0x9b4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x10178578
jmp 0x10178580
Function at 0x101787b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [0x1020d6a4]
mov dword [0x1020d6a8], 0x50b
add ecx, 0x58f
mov dword [0x1020d6a4], ecx
mov dword [ebp - 0x30], eax
jmp 0x101788d8
mov eax, dword [0x1020d6a4]
mov ecx, dword [ebp - 0x34]
add eax, 0x13a5
mov dword [0x1020d6a8], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov ecx, dword [0x1020d6a4]
add ecx, 0x1367
mov dword [0x1020d6a8], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.101792c0
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x48], ecx
dec eax
lea eax, [ebp - 0x24]
mov dword [0x1020d6a8], 0x43d
mov dword [ebp - 0x44], eax
call fcn.10178f99
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1017813c
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x10178904
jmp 0x101787f0
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018223e]
mov dh, byte [eax + 0x1018220f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x101788a5
jmp 0x101788d8
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10178c1b
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x1020d6a4], 0x85f
call fcn.10001083
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10178d87
lea eax, [esp + 0x38]
mov ecx, dword [0x1020d6a8]
add ecx, 0xffffff68
mov dword [0x1020d6a8], ecx
mov dword [esp + 0x20], eax
call fcn.101784e6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x10178c81
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x10178d87
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1017890c
lea ecx, [0x10178768]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dword [0x1020d6a8], 0x2662
mov dword [esp + 0x64], 0x14de00
mov edx, dword [0x1020d690]
mov dword [esp + 0x58], edx
mov edx, dword [0x1020d694]
mov dword [esp + 0x40], edx
mov edx, dword [0x1020d698]
mov dword [esp + 0x70], edx
mov edx, dword [0x1020d69c]
mov dword [esp + 0x78], edx
mov edx, dword [0x1020d6a0]
mov dword [esp + 0x5c], edx
mov dword [0x1020d6a4], 0x18f4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10178d14
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10178d28
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10178cf1
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x38], esi
mov dword [0x1020d6a4], 0x1aa2
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101787b7
mov dword [esp + 8], eax
mov dword [0x1020d6a8], 0x80f
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x10178c74
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10178d91
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1020d6a8], 0x123
mov dword [0x1020d6ac], 0
mov dword [0x1020d6b0], 0
mov dword [0x1020d6bc], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10178f0a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1020d6ac], edx
mov dword [0x1020d6a4], 0xfe6
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1020d6b0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1020d6b4], cl
mov dword [0x1020d6a4], 0x3d8
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1020d6b4]
mov edx, dword [0x1020d6b0]
mov byte [ebx + edx], cl
mov edx, dword [0x1020d6ac]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1020d6b0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1020d6bc], ecx
mov dword [0x1020d6a4], 0x24f
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dl, cl
add dl, byte [0x1020d6c1]
mov byte [0x1020d6c0], dl
mov byte [0x1020d6c1], ch
mov byte [0x1020d6c2], cl
xor ch, cl
mov dword [0x1020d6a4], 0x273
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x1020d6a8], 0x17cb
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10178f0a
mov eax, dword [0x1020d6ac]
mov ecx, dword [0x1020d6b0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10178df4
mov dword [0x1020d6a4], 0x1708
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101790e7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1020d6b0], 0
mov byte [0x1020d6b4], 0
mov dword [0x1020d6a4], 0x1066
mov dword [0x1020d6ac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10179221
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x31a6
mov esi, 0x100
mov dword [0x1020d6b8], 0
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [0x1020d6b0]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x1020d6b8], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x1020d6a4], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x1020d6b0], edx
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x1020d6b4], cl
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x1020d6b4]
mov esi, dword [0x1020d6b0]
mov byte [edi + esi], cl
mov dword [0x1020d6a4], 0xe81
mov dword [0x1020d6a8], 0xcc9
mov esi, dword [0x1020d6ac]
add esi, 1
mov dword [0x1020d6ac], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
jl 0x10179139
jmp 0x10179131
mov dword [0x1020d6ac], 0
xor eax, eax
mov ecx, dword [0x1020d6a8]
add ecx, 0x24dd
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x10179139
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1020d6a4], 0x14c8
mov eax, dword [0x1020d6ac]
add eax, 1
mov dword [0x1020d6ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10179221
jmp 0x101791fe
Function at 0x40b0b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40b15e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b15e
cmp eax, 3
je 0x40b0f3
cmp eax, 2
jne 0x40b173
push 0x5c
push edi
call fcn.0042ccf1
mov esi, eax
add esp, 8
test esi, esi
je 0x40b173
sub esi, edi
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push 0x104
push eax
call fcn.0043b072
add esi, esi
add esp, 0x10
cmp esi, 0x208
jae 0x40b185
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [ebp + esi - 0x20c], ax
call fcn.0040b0b0
test eax, eax
je 0x40b173
push 0
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40b15e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b173
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b03b
mov esp, ebp
pop ebp
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042b03b
mov esp, ebp
pop ebp
ret
call fcn.0042b23f
int3
Function at 0x40f210
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x463184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx], 0
lea ebx, [ecx + 8]
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 4]
jne 0x40f3b7
mov ecx, dword [ebx]
sub ecx, dword [esi]
sar ecx, 3
cmp ecx, 2
jle 0x40f3b7
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, ecx
mov dword [ebp - 4], 0
shr eax, 1
mov edi, 1
add eax, ecx
mov dword [ebp - 0x18], edi
cmp eax, edi
jbe 0x40f291
add edi, edi
cmp edi, eax
jb 0x40f288
mov dword [ebp - 0x18], edi
lea ebx, [edi*4]
mov ecx, edx
push ebx
call fcn.0040e030
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x40f2c3
lea ecx, [ebp - 0x30]
call fcn.0040e0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push 0
push eax
call fcn.0042d630
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [esi]
mov ebx, edx
mov dword [ebp - 0x14], edx
cmp ebx, dword [eax]
je 0x40f34d
nop dword [eax]
mov eax, dword [ebx + 4]
test eax, eax
je 0x40f2eb
xor esi, esi
jmp 0x40f2ed
mov esi, dword [ebx]
test eax, eax
cmovne esi, eax
test esi, esi
je 0x40f343
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor ecx, eax
lea eax, [edi - 1]
and eax, ecx
xor ecx, ecx
nop
mov edx, dword [ebp - 0x20]
lea edi, [edx + eax*4]
mov edx, dword [edi]
test edx, edx
je 0x40f39d
mov edi, dword [ebp - 0x18]
cmp edx, esi
je 0x40f340
inc eax
lea edx, [edi - 1]
add eax, ecx
inc ecx
and eax, edx
cmp ecx, edx
jbe 0x40f320
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
invalid

Function at 0x413e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov edi, ecx
mov esi, ebx
mov al, byte [ebx]
test al, al
je 0x413e90
movsx eax, al
lea esi, [esi + 1]
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x413e75
lea eax, [edx + edx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
and ecx, 0x3f
mov esi, dword [edi + ecx*4]
test esi, esi
je 0x413f00
mov eax, dword [esi]
dec eax
cmp eax, 3
ja case.default.0x413eac
jmp dword [eax*4 + 0x413f14]
lea eax, [esi + 0x1c]
jmp 0x413ec9
lea eax, [esi + 0x10]
jmp 0x413ec9
lea eax, [esi + 0xc]
jmp 0x413ec9
lea eax, [esi + 9]
jmp 0x413ec9
xor eax, eax
mov ecx, ebx
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413ef0
test dl, dl
je 0x413eec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413ef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x413ed0
xor eax, eax
jmp 0x413ef5
sbb eax, eax
or eax, 1
test eax, eax
je 0x413f09
mov esi, dword [esi + 4]
test esi, esi
jne 0x413ea4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4