joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b6a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0046b088
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a2c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46b702
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534628]
mov dl, 1
mov eax, dword [0x46af80]
call fcn.0040c5f0
call fcn.00403f3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46b70c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a2c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46b764
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534a84]
mov dl, 1
mov eax, dword [0x46af80]
call fcn.0040c5f0
call fcn.00403f3c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046b0dc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x46d70d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404a84
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46d6f1
test al, 0x10
je 0x46d6f5
xor ebx, ebx
jmp 0x46d6f7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d714
lea eax, [ebp - 4]
call fcn.0040457c
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405200
xor eax, eax
push ebp
push 0x46d76d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e48
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46d751
test al, 0x10
je 0x46d755
xor ebx, ebx
jmp 0x46d757
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d774
lea eax, [ebp - 4]
call fcn.00404c98
ret

Function at 0x46da4c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
and ax, 0xffff
cmp ax, 0xffff
jne 0x46da78
mov eax, esi
call fcn.0046d71c
test al, al
je 0x46da78
push 0x20
mov eax, esi
call fcn.00404e48
push eax
call sub.kernel32.dll_SetFileAttributesW
push ebx
mov ecx, esi
mov dl, 1
mov eax, dword [0x46308c]
call fcn.004631dc
cmp dword [eax + 8], 0xffffffff
jne 0x46da94
call fcn.00403770
xor eax, eax
pop esi
pop ebx
ret
Function at 0x46da98
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46dbae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46dbc4
call fcn.00404b70
mov ebx, eax
test ebx, ebx
je 0x46db8d
cmp ebx, dword [ebp - 8]
je 0x46db8d
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404acc
mov edx, dword [esi]
mov eax, 0x46dbc4
call fcn.00404b70
mov edi, eax
test edi, edi
je 0x46db8d
lea eax, [ebp - 4]
push eax
mov ecx, edi
sub ecx, ebx
mov eax, dword [esi]
mov edx, ebx
call fcn.00404a8c
mov ecx, edi
sub ecx, ebx
inc ecx
mov eax, esi
mov edx, ebx
call fcn.00404acc
cmp dword [ebp - 4], 0
je 0x46dac4
push 0x46dbc4
push dword [ebp - 4]
push 0x46dbc4
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048f4
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
call fcn.00404a84
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.004047e4
mov eax, dword [ebp - 0x110]
mov edx, esi
mov ecx, ebx
call fcn.00404b14
jmp 0x46dac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dbb5
lea eax, [ebp - 0x110]
call fcn.0040457c
lea eax, [ebp - 4]
call fcn.0040457c
ret
Function at 0x46ee50
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46ee58
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x46efff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414af0]
call fcn.00403740
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46f018
call fcn.0040e368
mov al, byte [0x46f020]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46f02c
mov edx, 0x46f038
mov eax, dword [ebp - 8]
call fcn.0040d908
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404614
mov al, byte [0x46f020]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46f02c
mov edx, 0x46f038
mov eax, dword [ebp - 8]
call fcn.0040d908
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00404614
mov al, byte [0x46f020]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46f02c
mov edx, 0x46f038
mov eax, dword [ebp - 8]
call fcn.0040d908
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404614
mov al, byte [0x46f020]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46f044
mov edx, 0x46f02c
mov eax, dword [ebp - 8]
call fcn.0040d908
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404614
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov byte [ebp - 0xd], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x46ef7c
inc ebx
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00404978
jne 0x46ef76
mov byte [ebp - 0xd], 1
jmp 0x46ef7c
inc dword [ebp - 0xc]
dec ebx
jne 0x46ef56
cmp byte [ebp - 0xd], 0
jne 0x46efd0
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov al, byte [0x46f020]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46f02c
mov edx, 0x46f044
mov eax, dword [ebp - 8]
call fcn.0040d908
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404614
lea eax, [ebp - 8]
call fcn.00404a84
push eax
push 0x46f048
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, esi
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f006
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004045a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045a0
ret

Function at 0x46f2a0
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x46f500
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040305c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x47079c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x4707b9
test byte [esi + 0x1c], 0x10
je 0x4707b9
mov eax, 0x470828
call fcn.0043b9d8
jmp 0x47081a
cmp bl, byte [esi + 0x34]
je 0x47081a
test bl, bl
je 0x4707f2
test byte [esi + 0x1c], 0x10
jne 0x470817
mov cl, 1
mov dl, 1
mov eax, dword [0x470510]
call fcn.0041f210
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f55c
mov eax, esi
call fcn.0047084c
jmp 0x470817
test byte [esi + 0x1c], 0x10
jne 0x470817
mov eax, dword [esi + 0x30]
push eax
call sub.winmm.dll_timeKillEvent
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [esi + 0x50]
call fcn.00403770
mov byte [esi + 0x34], bl
pop edi
pop esi
pop ebx
ret
Function at 0x475fb0
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x475ff2
mov eax, dword [0x534724]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x475fdd
push esi
push 0x4766d0
call fcn.00420764
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
mov eax, dword [esi + 8]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb ebx, ebx
inc ebx
mov byte [esi + 0xd], 0
jmp 0x475ff4
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x476015
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x476010
mov eax, dword [esi + 8]
call fcn.00420818
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47603c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
jne 0x476062
xor eax, eax
jmp 0x476122
xor edx, edx
push ebp
push 0x476119
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4760eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4760da
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402974
mov eax, dword [ebp - 4]
call fcn.00475f64
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4760e1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x47612c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00404c98
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x4761a7
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4761a0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x47617b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4761a7
cmp dword [ebp - 8], 0
je 0x476197
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4761d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x476289
xor edx, edx
push ebp
push 0x476282
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x476255
mov edx, ebx
mov eax, dword [0x421e94]
call fcn.0042647c
test al, al
je 0x476245
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042638c
call fcn.00403fe8
jmp 0x476289
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x476210
mov ecx, dword [0x5342c8]
mov dl, 1
mov eax, dword [0x4080b8]
call fcn.0040c5b4
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476289
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x476290
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x4762f3
xor eax, eax
push ebp
push 0x4762ec
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4762f3
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4762fc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x47635c
xor edx, edx
push ebp
push 0x476355
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47635c
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4763cc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x47644c
xor eax, eax
push ebp
push 0x476445
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475f64
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00426450
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x47642f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47644c
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476454
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x4764d4
xor eax, eax
push ebp
push 0x4764cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475f64
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4764b7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764d4
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476528
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x47657c
xor eax, eax
push ebp
push 0x476575
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47657c
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x476584
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00475fb0
test al, al
je 0x4765e4
xor eax, eax
push ebp
push 0x4765dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475f64
push esi
movzx eax, bx
push eax
call sub.user32.dll_SetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4765e4
mov eax, dword [ebp - 4]
call fcn.00475f80
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x479664
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x479692
mov eax, ebx
call fcn.0047a11c
cmp dword [ebx + 0x3c], 0
je 0x47968b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x479703
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4796f5
cmp dword [ebx + 8], 0
je 0x4796b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4796c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4796f5
cmp dword [ebx + 8], 0
je 0x4796a7
cmp eax, 3
je 0x4796d9
dec eax
jne 0x4796a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4796a7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4796a7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x479721
cmp dword [ebx + 0x10], 0xcc
je 0x479721
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047972c
pop ebx
ret

Function at 0x489acc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x413ad8]
call fcn.00405220
xor eax, eax
push ebp
push 0x489c10
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f9a40], 0
jne 0x489b1f
mov ecx, dword [0x534144]
mov dl, 1
mov eax, dword [0x4080b8]
call fcn.0040c5b4
call fcn.00403f3c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040305c
mov eax, ebx
call fcn.00404e48
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x489c20
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040669c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e58
test eax, eax
jle 0x489bb7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x489bb0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f64
test eax, eax
jne 0x489bb0
mov ebx, 0x15
jmp 0x489bbc
mov ebx, 0x10
jmp 0x489bbc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f9a40]
call fcn.00489a24
mov eax, dword [ebp - 8]
call fcn.00489a24
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004066b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c17
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 0x10]
mov edx, dword [0x413ad8]
call fcn.004052f0
ret
Function at 0x48abb8
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x48abc7
or edx, 0x200
test eax, 0x20000000
je 0x48abfb
test eax, 0x40000000
je 0x48abe6
test eax, 0x80000000
je 0x48abe1
or edx, 0x40
jmp 0x48ac22
or edx, 0x20
jmp 0x48ac22
test eax, 0x80000000
je 0x48abf5
or edx, 0x80
jmp 0x48ac22
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x48ac13
test eax, 0x80000000
je 0x48ac0e
or edx, 4
jmp 0x48ac22
or edx, 2
jmp 0x48ac22
test eax, 0x80000000
je 0x48ac1f
or edx, 8
jmp 0x48ac22
or edx, 1
mov eax, edx
ret
Function at 0x48cea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x48cef1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x48ced8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x48cec8
jmp 0x48cef1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x48ced9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a3b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00417214
mov esi, eax
xor eax, eax
push ebp
push 0x49a42a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x49a40e
mov edx, ebx
mov eax, esi
call fcn.00416da8
test byte [eax + 0x48], 1
je 0x49a408
push 0
mov edx, ebx
mov eax, esi
call fcn.00416da8
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.00416c98
dec ebx
cmp ebx, 0xffffffff
jne 0x49a3dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a431
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00417278
ret

Function at 0x49b76c
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 0x49b7f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x535d50
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x49b7df
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bc98
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, 0x49b80c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x534858]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5f0
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b7fc
lea eax, [ebp - 0x1c]
call fcn.0040457c
ret

Function at 0x49bed8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0049bdfc
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0040396c
cmp byte [ebx + 4], 0
jne 0x49bf00
mov word [ebx + 0x1c], 2
jmp 0x49bf06
mov word [ebx + 0x1c], 0x17
push 0x1c
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_connect
mov edx, 0x49bf50
call fcn.0049b6b4
mov byte [ebx + 0x39], 0
test byte [ebx + 0x38], 0x10
jne 0x49bf42
cmp dword [ebx + 8], 0xffffffff
setne al
mov byte [ebx + 0xc], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0040396c
pop esi
pop ebx
ret