joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50e5c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50e6b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dl, 1
mov eax, dword [0x41f728]
call fcn.00403edc
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
xor eax, eax
push ebp
push 0x50e692
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0x50df6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x50e679
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0040c148
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0050e6ec
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
mov edi, dword [eax]
call dword [edi + 0x3c]
inc ebx
dec esi
jne 0x50e634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e699
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.004121e0
ret

Function at 0x50e944
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
cmp dword [ebp + 0xc], 0
jne 0x50e959
cmp dword [ebp + 8], 0
jbe 0x50e9c8
jmp 0x50e95b
jle 0x50e9c8
mov ebx, dword [ebp + 8]
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
push ebx
push 0x50df2c
call sub.user32.dll_EnumWindows
cmp dword [ebp - 4], 0
jbe 0x50e9cc
xor edx, edx
push ebp
push 0x50e9c1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x1f4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x50e9aa
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e9cc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x50f0a8
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x50f0bc
call sub.user32.dll_FindWindowA
pop ebp
ret
Function at 0x50f330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x50f46d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41f728]
call fcn.00403edc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50f44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x6c]
call fcn.0040c5c8
test al, al
je 0x50f38d
mov edx, dword [esi + 0x6c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + 0x6c]
call fcn.0040c7e0
lea eax, [ebp - 8]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040c054
push dword [ebp - 0x10]
push 0x50f484
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.0040c054
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051f8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x50f41e
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
call fcn.0050e6c4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040c9dc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040ba14
mov eax, dword [ebp - 0x18]
mov edx, 0x50f490
call fcn.00405284
je 0x50f41e
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x50f435
mov edx, dword [esi + 0x6c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f452
mov eax, dword [ebp - 4]
call fcn.00403f0c
ret

Function at 0x50f4a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
mov ebx, edx
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x80
call fcn.00403774
mov dword [ebp - 4], 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004050cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50f4f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x50f577
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e5c
mov dword [ebp - 4], 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x50f55e
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004050cc
mov eax, dword [ebp - 0x88]
call fcn.00405338
mov edx, eax
mov eax, ebx
call fcn.00405054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f57e
lea eax, [ebp - 0x88]
call fcn.00404e5c
ret
Function at 0x517f74
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x517ffd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5a6218
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x517fe7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040fc54
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x518014
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5a052c]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410594
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518004
lea eax, [ebp - 0x1c]
call fcn.00404e5c
ret

Function at 0x5186f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00518608
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404114
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x518758
call fcn.00517ebc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x518749
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404114
pop esi
pop ebx
pop ebp
ret

Function at 0x518780
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00405338
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 4
call fcn.00403774
cmp dword [ebp - 8], 0
je 0x5187cd
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [ebp - 0xc], cl
mov cl, byte [edx + 1]
mov byte [ebp - 0xb], cl
mov cl, byte [edx + 2]
mov byte [ebp - 0xa], cl
mov al, byte [edx + 3]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5188b4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5188e5
mov ecx, dword [0x5a0784]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410558
call fcn.004047b0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x518912
mov ecx, dword [0x5a0220]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410558
call fcn.004047b0
xor eax, eax
push ebp
push 0x518993
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404114
cmp byte [ebp + 8], 0
je 0x51896d
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0051881c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0051866c
jmp 0x518989
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005181b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5189b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5189bc
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5189ed
mov ecx, dword [0x5a0318]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410558
call fcn.004047b0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x518a1a
mov ecx, dword [0x5a0220]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410558
call fcn.004047b0
xor eax, eax
push ebp
push 0x518a96
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404114
cmp byte [ebp + 8], 0
je 0x518a72
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0051881c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.005186f0
jmp 0x518a8c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005181b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x518ab3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x518c80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0051847c
xor eax, eax
push ebp
push 0x518df2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x518ddc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x518ccc
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x518cd6
call fcn.0040485c
jmp 0x518df9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004247c8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x518dd1
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x518d84
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x518d71
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00518c38
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x518e04]
cmp dl, byte [eax + 0x28]
je 0x518dd8
call fcn.00410470
jmp 0x518dd8
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004247e8
jmp 0x518dd8
cmp edi, ebx
jge 0x518da0
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004247e8
jmp 0x518cd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004247c8
cmp edx, dword [esp + 4]
jne 0x518dc0
cmp eax, dword [esp]
pop edx
pop eax
jne 0x518cd6
push ebp
call fcn.00518c38
pop ecx
jmp 0x518dd8
push ebp
call fcn.00518c38
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518df9
mov eax, dword [ebp - 4]
call fcn.0051848c
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x518e24
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x518f46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051847c
xor eax, eax
push ebp
push 0x518f29
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x518e74
call fcn.0040485c
jmp 0x518f30
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x518f13
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x518f13
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x518f13
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040fc54
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x518f60
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a052c]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410594
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518f30
mov eax, dword [ebp - 4]
call fcn.0051848c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518f4d
lea eax, [ebp - 0x28]
call fcn.00404e5c
ret
Function at 0x518fb4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5190fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051847c
xor eax, eax
push ebp
push 0x5190e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x519019
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x519019
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x5190cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x51902c
call fcn.0040485c
jmp 0x5190e8
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5190cb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5190cb
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5190cb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040fc54
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x519118
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a052c]
mov dl, 1
mov eax, dword [0x516fa0]
call fcn.00410594
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5190e8
mov eax, dword [ebp - 4]
call fcn.0051848c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519105
lea eax, [ebp - 0x28]
call fcn.00404e5c
ret
Function at 0x51e020
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x51e0f0
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x51e04c
xor esi, esi
jmp 0x51e051
mov esi, 5
push 0
push 0x51e100
call sub.user32.dll_FindWindowA
mov edi, eax
push 5
push edi
call sub.user32.dll_GetWindow
mov edi, eax
test edi, edi
jbe 0x51e0d7
lea eax, [ebp - 0x80]
xor ecx, ecx
mov edx, 0x80
call fcn.00403774
push 0x80
lea eax, [ebp - 0x80]
push eax
push edi
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x51e0d7
push 0x80
lea eax, [ebp - 0x80]
push eax
call sub.user32.dll_CharUpperBuffA
lea eax, [ebp - 0x84]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004050cc
mov eax, dword [ebp - 0x84]
mov edx, 0x51e118
call fcn.00405284
jne 0x51e0d7
push esi
push edi
call sub.user32.dll_ShowWindow
xor bl, 1
neg bl
sbb eax, eax
push eax
push edi
call sub.user32.dll_EnableWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e0f7
lea eax, [ebp - 0x84]
call fcn.00404e5c
ret
Function at 0x520994
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x520abf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e5c
lea eax, [ebp - 0xc]
call fcn.00404e5c
mov eax, 0x65
call fcn.00402bf4
mov edi, eax
push 0x65
mov ebx, edi
push ebx
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x520a4f
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0040d058
push ebx
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx ebx, word [eax + 0xa]
dec ebx
test ebx, ebx
jl 0x520a2f
inc ebx
xor esi, esi
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + esi]
call fcn.0040bf68
lea eax, [ebp - 0x18]
mov edx, 0x520ad8
call fcn.00405140
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00405140
inc esi
dec ebx
jne 0x5209ff
mov eax, dword [ebp - 0xc]
call fcn.00405138
mov edx, eax
dec edx
lea eax, [ebp - 0xc]
call fcn.004054c4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404eb0
jmp 0x520a90
call sub.wsock32.dll_WSAGetLastError
sub eax, 0x2734
je 0x520a83
sub eax, 0xe
je 0x520a74
sub eax, 0x2b
jne 0x520a90
lea eax, [ebp - 0x10]
mov edx, 0x520ae4
call fcn.00404ef4
jmp 0x520a90
lea eax, [ebp - 0x10]
mov edx, 0x520b00
call fcn.00404ef4
jmp 0x520a90
lea eax, [ebp - 0x10]
mov edx, 0x520b14
call fcn.00404ef4
mov edx, 0x65
mov eax, edi
call fcn.00402c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520ac6
lea eax, [ebp - 0x18]
call fcn.00404e5c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e80
ret
Function at 0x5268d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x148]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x526906
mov edx, ebx
mov eax, dword [esi + 0x148]
call fcn.00421a3c
call fcn.0042ad3c
dec ebx
cmp ebx, 0xffffffff
jne 0x5268ee
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x526930
mov eax, dword [0x5a03b0]
mov eax, dword [eax]
call fcn.004c6e40
push 1
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x1388
ja 0x52693c
mov eax, dword [esi + 0x148]
cmp dword [eax + 8], 0
jg 0x52690f
pop esi
pop ebx
pop ebp
ret

Function at 0x526970
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x80
call fcn.00403774
mov dword [ebp - 4], 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004039f8
lea edx, [ebp - 0x108]
lea eax, [ebx + 0xfd]
mov cl, 0x1e
call fcn.00403664
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5269d4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x80
call fcn.00403774
mov dword [ebp - 4], 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004039f8
lea edx, [ebp - 0x108]
lea eax, [ebx + 0xde]
mov cl, 0x1e
call fcn.00403664
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5278b8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x5279f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x88]
sub eax, 1
jb 0x52790e
je 0x52791d
dec eax
je 0x52792c
jmp 0x527953
lea eax, [ebp - 4]
mov edx, 0x527a10
call fcn.00404ef4
jmp 0x527953
lea eax, [ebp - 4]
mov edx, 0x527a24
call fcn.00404ef4
jmp 0x527953
mov eax, dword [ebp - 0x94]
sub eax, 5
jne 0x527946
lea eax, [ebp - 4]
mov edx, 0x527a3c
call fcn.00404ef4
jmp 0x527953
lea eax, [ebp - 4]
mov edx, 0x527a50
call fcn.00404ef4
push dword [ebp - 4]
push 0x527a64
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xbc]
call fcn.0040c054
push dword [ebp - 0xbc]
push 0x527a78
lea eax, [ebp - 0xc0]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004050cc
push dword [ebp - 0xc0]
push 0x527a84
mov eax, ebx
mov edx, 6
call fcn.004051f8
mov dword [ebp - 0xb8], 0x20
lea eax, [ebp - 0xb8]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0xb0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xac]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5279fe
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.00404e80
lea eax, [ebp - 4]
call fcn.00404e5c
ret