joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d1c90
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push 0x19
push 8
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10d1d21
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], edx
lea edx, [ebp + 0x18]
push edx
push edi
push esi
push 0x10d1c10
mov dword [esi], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
push edi
push edi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], eax
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x10d1d10
cmp edi, 0xffffffff
je 0x10d1d10
mov eax, dword [ebx]
test eax, eax
je 0x10d1cff
cmp eax, 0xffffffff
jne 0x10d1d20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x12c]
push 0x14
call edx
jmp 0x10d1cf4
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x10d4b50
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.01058d70
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
add eax, 0x1615c
push eax
call edi
test eax, eax
jne 0x10d4b9e
mov eax, dword [esi]
mov ecx, dword [eax + 0x16154]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0x1019c54
push 0x1015934
push connect
push eax
mov dword [ebp + 8], ecx
call fcn.010b9db0
mov eax, dword [esi]
push eax
call fcn.01045f50
mov ecx, dword [esi]
mov dword [ecx + 0x132a4], 1
mov edx, dword [esi]
mov dword [edx + 0x132b0], 1
mov eax, dword [esi]
push 1
add eax, 0x132ac
push eax
call edi
push esi
call fcn.0104ec00
push esi
call fcn.0104c7c0
mov edi, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x109ab20
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10d4bfb
mov edx, dword [edi + 0x1c0]
push eax
call edx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x10d7e80
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
cmp edx, ebx
jne 0x10d7eba
xor edi, edi
jmp 0x10d7ecb
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10d7ec0
sub eax, esi
mov edi, eax
xor esi, esi
cmp edi, ebx
jbe 0x10d7f04
mov ebx, dword [sym.imp.msvcrt.dll_tolower]
jmp 0x10d7ee3
mov edx, dword [ebp + 0xc]
movsx eax, byte [esi + edx]
push eax
call ebx
add esp, 4
push 1
lea ecx, [ebp - 1]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 1], al
call fcn.010bc730
inc esi
cmp esi, edi
jb 0x10d7ee0
lea eax, [ebp - 0x6c]
push eax
call fcn.010bc800
mov ecx, dword [ebp + 8]
mov eax, 0x10
add ecx, 0x58
lea edx, [ebp - 0x14]
jmp 0x10d7f20
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10d7f48
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10d7f20
xor eax, eax
xor edx, edx
test eax, eax
sete dl
pop edi
pop esi
pop ebx
mov eax, edx
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x10d7f74
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x10d7f74
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x10d7f74
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
xor edx, edx
test eax, eax
sete dl
pop edi
pop esi
pop ebx
mov eax, edx
mov esp, ebp
pop ebp
ret 8

Function at 0x10d7fa0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x10d804e
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push 0x403
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10d8043
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10d7fe9
mov eax, dword [eax + 0x1c]
push 0x1ff
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x41
lea ecx, [ebp - 0x44]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
cmp word [esi], di
je 0x10d8008
add eax, 2
cmp word [eax], di
jne 0x10d8000
push 0
push 0
push 0x3f
sub eax, esi
lea edx, [ebp - 0x44]
push edx
sar eax, 1
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
add ecx, 0x20
push ecx
call fcn.010d7e80
push esi
push 0
mov edi, eax
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10d8060
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 8
push ebx
push esi
push eax
call dword [sym.imp.msvcrt.dll_srand]
mov esi, dword [ebp + 0x20]
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x10d80a1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 1
push 7
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.01060510
mov eax, 0x1019d1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10d80c2
sub eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jle 0x10d816f
mov dword [ebp - 4], eax
push edi
lea ecx, [ecx]
call dword [sym.imp.msvcrt.dll_rand]
xor edx, edx
div dword [ebp - 8]
xor edi, edi
mov byte [ebp + 0x19], 0
mov dword [ebp + 0x1c], edx
mov dl, byte [edx + 0x1019d1c]
mov byte [ebp + 0x18], dl
call fcn.01060340
mov esi, eax
test esi, esi
je 0x10d8136
mov edi, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebx + edx + 0x14]
push eax
lea ecx, [ebp + 0x18]
push ecx
push edi
call fcn.01060440
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x10d8160
mov edx, dword [ebp + 0x1c]
movsx eax, byte [edx + 0x1019d1c]
push eax
call dword [sym.imp.msvcrt.dll_tolower]
add esp, 4
push 1
lea ecx, [ebp + 0x1f]
push ecx
push esi
mov byte [ebp + 0x1f], al
call fcn.010bc730
sub dword [ebp - 4], 1
lea ebx, [ebx + edi + 0x14]
jne 0x10d80e0
pop edi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.01060510
test esi, esi
je 0x10d8192
push esi
call fcn.010bc800
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10d9330
Capabilities:
Open clipboard

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
test byte [edi + 0x1104], 1
je 0x10d9360
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10d9360
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
test byte [edi + 0x1104], 2
mov esi, dword [ebp + 8]
je 0x10d93b8
mov edi, dword [esi]
push ebx
push 0x2000
call fcn.0102ab20
lea ebx, [eax*4 + 8]
lea eax, [ebx + edi]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x2000
push edi
call fcn.010b8740
mov ecx, dword [esi]
mov edx, dword [ecx + 0x58c]
push 7
push 0
push 0
call edx
mov eax, dword [esi]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov edi, dword [ebp + 0xc]
pop ebx
test byte [edi + 0x1104], 4
je 0x10d93c8
push edi
push esi
call fcn.010d9240
pop edi
pop esi
pop ebp
ret 8
Function at 0x10d93e0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1019f24
push 0x100bfcc
lea ebx, [esi + 0x3c7e]
push ebx
call fcn.010842c0
mov edi, eax
test edi, edi
je 0x10d942a
cmp dword [ebp + 0xc], 0
jne 0x10d941a
push edi
push esi
call fcn.0104b060
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push 0x1019f08
push 0x100bfcc
push ebx
call fcn.010842c0
mov edi, eax
test edi, edi
je 0x10d951a
push 0x401
lea eax, [ebp - 0x404]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x1019e98
lea ecx, [ebp - 0x404]
push 0x3ff
push ecx
call fcn.0102bdb0
add esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x10d9523
push edi
push esi
call fcn.0104b060
push 0
push 0x1f4
lea ecx, [ebp - 0x404]
push ecx
push edi
push esi
call fcn.0102de40
push ebx
push esi
call fcn.0104b060
mov edx, dword [esi]
push 0x1019e7c
add edx, 0x69c
push edx
push esi
call fcn.010b8df0
mov eax, dword [esi]
push 0x1019e58
add eax, 0x69c
push eax
push esi
call fcn.010b8df0
mov ecx, dword [esi]
push 0x1019e44
add ecx, 0x69c
push ecx
push esi
call fcn.010b8df0
mov edx, dword [esi]
push 0x1019e2c
add edx, 0x69c
push edx
push esi
call fcn.010b8df0
mov eax, dword [esi]
push 0x1019e18
add eax, 0x69c
push eax
push esi
call fcn.010b8df0
push 0
push 1
push edi
push esi
call fcn.01093ff0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
neg edx
sbb edx, edx
push 0
and edx, 0xffffc568
add edx, 0x4e20
push edx
lea eax, [ebp - 0x404]
push eax
push edi
push esi
call fcn.0102de40
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x10d9496

Function at 0x10d98d0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
add edi, 0x3c7e
mov dword [ebp + 8], edi
lea esp, [esp]
push 0x82
lea eax, [ebp - 0x84]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x82
lea ecx, [ebp - 0x108]
push 0
push ecx
call sub.msvcrt.dll_memset
push ebx
push 0x1013fc4
push 0x101a24c
lea edx, [ebp - 0x84]
push 0x3f
push edx
call fcn.0102d240
push ebx
push 0x1013fc4
push 0x101a22c
lea eax, [ebp - 0x108]
push 0x3f
push eax
call fcn.0102d240
add esp, 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x100bfcc
push edi
call fcn.010842c0
mov esi, eax
test esi, esi
je 0x10d99a6
lea edx, [ebp - 0x108]
push edx
push 0x100bfcc
push edi
call fcn.010842c0
mov edi, eax
test edi, edi
je 0x10d9993
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edi, dword [ebp + 8]
inc ebx
cmp ebx, 5
jl 0x10d98f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10dd720
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x240e0]
test esi, esi
je 0x10dd768
mov eax, dword [esi + 4]
push 0
push 0
push 0
push 0
push esi
push eax
call fcn.010d5340
mov esi, dword [esi]
mov eax, dword [esi + 0x2e728]
test eax, eax
je 0x10dd768
cmp eax, 0xffffffff
je 0x10dd768
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x2e728], 0
mov ecx, dword [edi + 8]
mov esi, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0x1070300
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10dd791
push eax
mov eax, dword [esi + 0x1c0]
call eax
push edi
call fcn.010711e0
push edi
call fcn.010dd6b0
mov ecx, dword [edi + 0x240e0]
push ecx
call fcn.010d5a20
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x10de120
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, dword [ebp + 8]
push 0x1018d94
push esi
mov dword [ebp - 4], eax
call fcn.010c9900
mov eax, dword [esi]
push 0x1388
push 0x1018d94
push eax
call fcn.010bb590
test eax, eax
je 0x10de15d
mov eax, 1
jmp 0x10de17a
push 0x1018d94
push esi
call fcn.010c9900
mov ecx, dword [esi]
push 0x1388
push 0x1018d94
push ecx
call fcn.010bb590
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, eax
test eax, eax
jne 0x10de19a
push 0x7d0
call ebx
push 0x1018d94
push esi
call fcn.010d4940
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0xbb8
jbe 0x10de1b1
push 0x7d0
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10dea80
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x2b594]
mov ecx, dword [eax + 0x45c]
cmp dword [ecx + 0x10], 0
jne 0x10debfd
mov edx, dword [edi + 8]
mov eax, dword [edx]
push ebx
push esi
push 0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x101ac8c
push 0x101ac58
push connect
push eax
call fcn.010ba1a0
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov esi, eax
test esi, esi
jne 0x10deb62
push 0x106
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10debfb
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
add edx, 0x8890
push edx
push 0x101ac10
lea eax, [ebp - 0x210]
push 0x103
push eax
call fcn.0102d240
add esp, 0x1c
lea ecx, [ebp - 0x210]
push ecx
push 0x103
push esi
push 0x1026364
push 0x101ac8c
push 0x101abfc
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
jne 0x10deb62
push esi
call fcn.01083050
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0102ce80
xor ecx, ecx
test eax, eax
jbe 0x10deb7e
mov edi, edi
mov edx, 0xffe3
add word [esi + ecx*2], dx
inc ecx
cmp ecx, eax
jb 0x10deb70
test esi, esi
jne 0x10deb86
xor eax, eax
jmp 0x10deb9d
cmp word [esi], 0
mov eax, esi
je 0x10deb99
mov edi, edi
add eax, 2
cmp word [eax], 0
jne 0x10deb90
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0102c950
mov ecx, dword [edi + 0x2b594]
mov edx, dword [ecx + 0x45c]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x2b594]
mov ecx, dword [eax + 0x45c]
cmp dword [ecx + 0x10], 0
je 0x10debeb
mov edx, eax
mov eax, dword [edx + 0x45c]
mov ecx, dword [eax + 0x10]
lea eax, [edi + 0x2e72c]
test eax, eax
je 0x10debeb
test ecx, ecx
je 0x10debeb
push 0x3f
push ecx
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
test esi, esi
je 0x10debfb
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10dec90
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edx
jne 0x10deca2
xor eax, eax
jmp 0x10decbc
mov eax, ecx
cmp word [ecx], dx
je 0x10decb8
lea esp, [esp]
add eax, 2
cmp word [eax], dx
jne 0x10decb0
sub eax, ecx
sar eax, 1
push esi
mov esi, dword [ebp + 0x10]
add eax, eax
push eax
push ecx
push esi
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.010bc730
push esi
call fcn.010bc800
pop esi
pop ebp
ret 0xc
Function at 0x10ed690
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1000
call fcn.0102ab20
mov esi, dword [ebp + 8]
lea eax, [esi + eax*4 + 8]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x1000
push esi
call fcn.010b8740
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10ed6e9
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x10ed5a0
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10ed6e9
mov ecx, dword [esi + 0x1c0]
push eax
call ecx
mov edx, dword [esi + 0x134]
call edx
push eax
push esi
call fcn.010b91b0
mov ebx, eax
test ebx, ebx
je 0x10ed71a
push 1
push 0x1015614
push ebx
push esi
call fcn.010b9230
push ebx
push esi
call fcn.010b90e0
push ebx
push esi
call fcn.0102b340
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x364]
neg edi
sbb edi, edi
and edi, 7
add edi, 2
neg eax
sbb eax, eax
and eax, 4
push 0
or edi, eax
push edi
call ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10edb20
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.010bc5f0
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x10edd02
push 0x82
lea eax, [ebp - 0x8c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 0x18], ebx
mov ebx, dword [ebp + 0xc]
je 0x10edbed
push ebx
push 0x101b900
push 0x3f
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0102d240
add esp, 0x10
push 0xa
lea edx, [ebp - 0x8c]
push edx
push ebx
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x8c]
push eax
push 0x101b8fc
push ecx
call fcn.010842c0
mov ebx, eax
test ebx, ebx
je 0x10edcd3
mov edx, dword [edi + 0x50c]
push ebx
push 1
push esi
call edx
mov esi, eax
mov eax, dword [edi + 0x328]
call eax
test eax, eax
je 0x10edcae
test esi, esi
je 0x10edbe1
mov ecx, dword [edi + 0x1c0]
push esi
call ecx
xor esi, esi
mov dword [ebp - 4], 0
jmp 0x10edcb5
cmp dword [edi + 0x8ae4], 6
jb 0x10edc0a
push ebx
push 0x101b8ec
push 0x3f
lea edx, [ebp - 0x8c]
push edx
jmp 0x10edb7a
push 0x20a
lea eax, [ebp - 0x298]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp + 8], 0x103
test eax, eax
je 0x10edc42
push 0x103
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0102cdc0
jmp 0x10edc53
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x298]
push ecx
call fcn.0102ce80
test eax, eax
je 0x10edb82
cmp dword [ebp + 0x20], 0
jne 0x10edc8c
push 0x1019cd0
lea edx, [ebp - 0x298]
push edx
call fcn.0102cba0
test eax, eax
jne 0x10edc8c
push edi
call fcn.010ed270
test eax, eax
je 0x10edcd3
lea eax, [ebp - 0x298]
push eax
push 0x101b8dc
lea ecx, [ebp - 0x8c]
push 0x3f
push ecx
call fcn.0102d240
add esp, 0x10
jmp 0x10edb95
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0
mov dword [edx], esi
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_HeapFree]
push eax
call edi
mov esi, dword [ebp - 8]
jmp 0x10edcdf
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esi + 4]
test eax, eax
je 0x10edcee
push eax
push 0
call ebx
push eax
call edi
push esi
push 0
call ebx
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10ee5a0
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c8
xor eax, eax
push ebx
push esi
push edi
push 0x105
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x1c8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x2a4]
mov edi, eax
mov dword [ebp - 0x1c], edi
call ecx
lea edx, [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x52c]
push edx
call eax
mov edx, dword [esi + 0x530]
lea ecx, [ebp - 0x18]
push ecx
call edx
mov ecx, dword [esi + 0x2f8]
lea eax, [ebp - 0x58]
push eax
call ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x20]
rdtsc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
test ecx, ecx
jne 0x10ee645
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push edx
push edi
push ebx
push 0x101b95c
lea eax, [ebp - 0x1c8]
push 0x103
push eax
call fcn.0102bdb0
lea eax, [ebp - 0x1c8]
add esp, 0x38
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10ee684
xor ecx, ecx
sub eax, esi
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
push eax
lea ecx, [ebp - 0x1c8]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov dword [ebp - 0xc0], 0x67452301
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
call fcn.010bc730
lea eax, [ebp - 0xc0]
push eax
call fcn.010bc800
lea ecx, [ebp - 0x48]
push ecx
push 0x10
lea edx, [ebp - 0x68]
push edx
call fcn.0102c830
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
push 0
push 0xffffff
push eax
mov esi, edi
xor esi, dword [ebp - 0x18]
push ecx
call fcn.01194c80
movzx edx, word [ebp - 0x52]
mov ecx, dword [ebp - 0x64]
xor ecx, dword [ebp - 4]
xor eax, edx
xor eax, dword [ebp - 0x10]
xor edi, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
xor eax, dword [ebp - 0x1c]
xor eax, ebx
push eax
mov eax, esi
xor eax, dword [ebp - 0x14]
xor esi, ebx
xor eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push edx
push 0x101b948
dec eax
push eax
push ecx
call fcn.0102bdb0
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc