joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418cb3
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4e0003], 1
je 0x418ccb
push str.UCallBackhWnd
call fcn.004125b2
test eax, eax
pop ecx
jne 0x418cce
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x418d09
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x418d09
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x41981d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
jne 0x41984a
inc edi
inc edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
mov dword [ebp + 8], edi
call fcn.0040fa1e
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0x10]
call fcn.00444f8a
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0x10]
push 2
pop eax
mov dword [ebp - 8], ebx
lea ebx, [ebx + esi*2]
mov dword [ebp - 0xc], eax
jne 0x41991a
and dword [ebp + 8], 0
push 0x2c
add edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x4198ad
and word [esi], 0
inc esi
inc esi
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx esi, word [esi]
test si, si
jne 0x4198b0
mov esi, dword [ebp + 8]
push edi
call fcn.004132c6
pop ecx
push ebx
push 0x324
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x419912
cmp word [ebx], si
jb 0x419907
push dword [ebp + 8]
mov edi, dword [ebp - 8]
push ebx
push str._s_sFonts
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
call fcn.004ade73
add esp, 0x14
test eax, eax
je 0x419907
push 0x4c51d4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp - 4]
push edi
call fcn.00419758
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x4198c8
jmp 0x419985
push edi
call fcn.004132c6
and dword [ebp + 8], 0
mov esi, eax
push esi
call fcn.004ade73
test eax, eax
pop ecx
pop ecx
je 0x41994b
push esi
lea ecx, [ebp + 8]
call fcn.0044e8eb
push 0x4c51d4
lea ecx, [ebp + 8]
call fcn.00444fd8
mov esi, dword [ebp + 8]
push esi
push 0x4c5438
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00410282
push esi
call fcn.004ade73
add esp, 0x14
test eax, eax
je 0x41997d
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00419758
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.0043e825
lea ecx, [ebp - 0x10]
call fcn.0043e825
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41af29
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x4ddd50
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x41af52
cmp dword [0x4dd04c], ebx
jne 0x41af52
mov dword [0x4dd048], ebx
movzx eax, byte [esp + 0x30]
add dword [0x4dd04c], 1
cmp dword [0x4dd044], ebx
mov dword [esp + 0x30], eax
jne 0x41af97
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41ae2a
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x4dd044], eax
jne 0x41af97
sub dword [0x4dd04c], 1
xor esi, esi
jmp 0x41b088
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x4e20
jb 0x41afbf
push 1
call fcn.00440627
pop ecx
cmp dword [esp + 0x34], 2
jne 0x41b055
cmp esi, ebx
jne 0x41b055
push 0xa
pop esi
jmp 0x41b055
cmp dword [esp + 0x34], 2
je 0x41afe8
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41b061
cmp byte [0x4db2d4], bl
jle 0x41b061
push 0xa
pop eax
cmp esi, eax
ja 0x41aff9
mov eax, esi
push 0x4ff
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x41b04d
cmp dword [0x4dd048], ebx
jne 0x41b061
cmp dword [esp + 0x34], 2
je 0x41b023
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41b055
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41b055
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4db2d4], bl
jg 0x41b00a
cmp dword [0x4dd048], ebx
je 0x41afd7
push 0x4ddd50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4dd048]
sub dword [0x4dd04c], 1
pop ebp
jne 0x41b081
mov dword [0x4dd048], ebx
mov esi, eax
mov edi, 0x4ddd50
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41cec4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41ceeb
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00410a77
test eax, eax
je 0x41ceeb
call fcn.00410b08
test eax, eax
mov dword [esp + 0xc], eax
jne 0x41cef2
xor eax, eax
jmp 0x41d001
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebp
push edi
push 0x40
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x41cf2a
push 0x40
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x41cf2a
xor eax, eax
jmp 0x41cffe
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.00415094
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x41cf57
cmp dword [eax + 0xa4], ebx
jbe 0x41cf57
push edi
mov ecx, esi
call fcn.004107cf
test eax, eax
je 0x41cf23
push edi
mov ecx, esi
call fcn.004108f1
test eax, eax
jne 0x41cf72
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41cf23
mov eax, dword [esi + 0x14]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x14]
test byte [eax + 0x17], 0x20
je 0x41cf8b
mov eax, dword [eax + 0x28]
add eax, edi
mov dword [esi + 4], eax
jmp 0x41cfc2
mov ebx, dword [esi]
mov ebp, dword [esi + 0xc]
push str.DllMain
mov ecx, esi
mov dword [esi], 0x200
mov dword [esi + 0xc], edi
call fcn.00410705
test eax, eax
mov dword [esi + 4], eax
jne 0x41cfbb
push str._dllMain_12
mov ecx, esi
call fcn.00410705
mov dword [esi + 4], eax
mov dword [esi], ebx
mov dword [esi + 0xc], ebp
xor ebx, ebx
mov eax, dword [esi + 4]
xor ebp, ebp
inc ebp
cmp eax, ebx
je 0x41cff0
push ebx
push ebp
push edi
call eax
test eax, eax
jne 0x41cff0
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x41cf23
mov dword [esi + 0xc], edi
mov dword [esi], ebp
mov dword [0x4dcf90], esi
mov eax, dword [esi + 0xc]
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x421fbd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 0x4c55b4
lea ecx, [ebp + 0x64]
sar esi, 0x10
call fcn.0044e827
mov ebx, dword [ebp + 0x74]
push esi
push dword [ebx]
call fcn.00412c55
pop ecx
pop ecx
push 0x20a
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x74], eax
call fcn.00444f8a
push dword [ebp + 0x68]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [ebp + 0x78]
push edi
lea ecx, [ebp - 0x38]
call fcn.0041048a
push edi
lea ecx, [ebp - 0x38]
call fcn.00410ca6
push dword [ebp + 0x68]
mov eax, dword [edi + 0x14]
push 0x4c548c
mov dword [ebp - 0x24], eax
call fcn.00444692
movzx eax, si
push eax
lea ecx, [ebp - 0x38]
mov word [ebp - 0xc], si
call fcn.00443601
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x74]
push 0
push ebx
call fcn.0042187a
movzx esi, ax
or esi, dword [ebp + 0x7c]
add esp, 0x14
mov edi, 0x4ddd50
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp + 0xc], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea ecx, [ebp - 0x38]
call fcn.004360a8
lea ecx, [ebp + 8]
call fcn.0043e825
lea ecx, [ebp + 0x68]
call fcn.0043e825
lea ecx, [ebp + 0x64]
call fcn.0043e825
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x42a480
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20a
lea ecx, [ebp - 4]
call fcn.00444f8a
mov eax, dword [ebp - 4]
mov word [eax], 0x20
mov eax, dword [ebp - 4]
and word [eax + 2], 0
mov eax, dword [ebp - 4]
push 0x208
add eax, 2
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.System32OnShutdown.wcs
lea ecx, [ebp - 4]
call fcn.00444fd8
mov bl, byte [ebp + 0xc]
test bl, 0x20
mov esi, str.unknown
je 0x42a4db
mov esi, 0x4c2944
test bl, 0x10
je 0x42a4e5
mov esi, str.reboot
test bl, 2
je 0x42a4ef
mov esi, 0x4c6c9c
test bl, 4
je 0x42a4f9
mov esi, str.suspend
test bl, 8
je 0x42a503
mov esi, str.hiber
test bl, 0x40
je 0x42a50d
mov esi, str.poweroff
test bl, bl
jns 0x42a516
mov esi, str.lock
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00444fd8
push 0x4c2568
lea ecx, [ebp - 4]
call fcn.00444fd8
cmp dword [ebp + 8], 0
je 0x42a548
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00444fd8
push dword [ebp - 4]
mov esi, 0x4dd0f0
mov ecx, esi
call fcn.004223de
push str._25INDATA
lea ecx, [ebp - 8]
call fcn.0044e827
mov eax, dword [ebp - 4]
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 8]
call fcn.00444fd8
test bl, 0x70
je 0x42a582
push dword [ebp - 8]
mov ecx, esi
call fcn.004223de
lea ecx, [ebp - 8]
call fcn.0043e825
lea ecx, [ebp - 4]
call fcn.0043e825
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43045c
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
jmp 0x430477
inc byte [ebp - 1]
inc eax
inc eax
mov dword [ebp + 8], eax
cmp word [eax], 0x2a
je 0x43046f
lea eax, [ebp + 8]
push eax
call fcn.00409344
mov al, byte [ebp - 1]
mov byte [0x4dcfea], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 5]
push eax
lea edi, [ebp - 3]
lea esi, [ebp - 4]
lea eax, [ebp + 8]
mov byte [ebp - 3], 0x2a
mov byte [ebp - 5], bl
mov byte [ebp - 4], 1
mov byte [ebp - 2], bl
call fcn.0041b098
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], bx
je 0x4305a0
mov esi, 0x4ddd50
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 1], bl
je 0x4304f0
cmp dword [0x4dcfa0], ebx
je 0x4304f0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4305fc
mov eax, dword [ebp + 8]
movsx ecx, byte [ebp - 3]
mov byte [0x4db2c1], 0xff
movzx edx, word [eax]
cmp ecx, edx
mov byte [0x4dcfdd], 1
jne 0x43051a
movzx eax, word [eax + 2]
cmp ecx, eax
jne 0x43051a
mov byte [0x4db2c1], bl
mov edi, dword [ebp - 0x10]
push 0x4dcc24
push 0x10000
push edi
push 0x42c983
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x10], eax
cmp word [edi], bx
jne 0x43055f
cmp byte [0x4dcfdd], bl
je 0x43057b
call esi
sub eax, dword [ebp - 0x10]
cmp eax, 0x30d40
jae 0x43057b
push ebx
push 1
push ebx
mov ecx, 0x4dd0f0
call fcn.004161d8
jmp 0x430552
cmp byte [ebp - 2], bl
je 0x4305fc
test byte [ebp - 4], 0x40
je 0x4305fc
jmp 0x430596
push ebx
push ebx
push 1
mov ecx, 0x4dd0f0
call fcn.004161d8
cmp dword [0x4dcfa0], ebx
jne 0x430588
jmp 0x4305fc
movsx eax, byte [ebp - 2]
push eax
movsx eax, byte [ebp - 5]
push eax
lea esi, [ebp - 0xc]
mov eax, esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0xbb8
call fcn.0041318f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
cmp byte [ebp - 2], bl
mov dword [ebp - 0x14], eax
je 0x4305f8
mov esi, 0x4dcfa0
mov dword [ebp - 0x10], 0xfa0
jmp 0x4305f8
call edi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jae 0x4305fc
push ebx
push ebx
push 0xa
mov ecx, 0x4dd0f0
call fcn.004161d8
cmp dword [esi], ebx
jne 0x4305e0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x43e915
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x43e93e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x43fa19
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 4
pop edi
push edi
push 0x20019
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043f95e
mov esi, eax
add esp, 0x14
cmp esi, 5
je 0x43fa6f
test esi, esi
jne 0x43fa77
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 5
jne 0x43fa77
test edi, edi
je 0x43fa77
xor edi, edi
jmp 0x43fa26
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43fa7d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 8]
je 0x43faac
push 4
push 0x20006
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push ecx
call fcn.0043f95e
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
jne 0x43fad6
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], 0
mov esi, eax
je 0x43fad3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43fad8
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 8]
je 0x43fb04
push 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push ecx
call fcn.0043f95e
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
jne 0x43fb23
push esi
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], 0
mov esi, eax
je 0x43fb20
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x44024d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4dd2e0], 0
push edi
mov edi, ecx
jne 0x44046c
and dword [ebp - 4], 0
push esi
push 4
push 2
push str.SeDebugPrivilege
call fcn.004136a0
lea eax, [ebp - 4]
push eax
push 0x4dd2dc
mov esi, str.WS2_32.DLL
push esi
push str.WSAStartup
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2e4
push esi
push str.shutdown
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2e8
push esi
push str.closesocket
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2ec
push esi
push str.connect
call fcn.0043fcc1
add esp, 0x4c
lea eax, [ebp - 4]
push eax
push 0x4dd2f0
push esi
push str.send
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2f4
push esi
push str.select
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2f8
push esi
push str.recvfrom
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2fc
push esi
push str.sendto
call fcn.0043fcc1
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4dd300
push esi
push str.bind
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd304
push esi
push str.listen
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd308
push esi
push str.accept
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd310
push esi
push str.getsockname
call fcn.0043fcc1
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4dd30c
push esi
push str.getpeername
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd314
push esi
push str.ioctlsocket
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd318
push esi
push str.setsockopt
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd31c
push esi
push str.ntohl
call fcn.0043fcc1
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4dd320
push esi
push str.htonl
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd324
push esi
push str.htons
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd328
push esi
push str.inet_addr
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd32c
push esi
push str.gethostbyname
call fcn.0043fcc1
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4dd330
push esi
push str.inet_ntoa
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd334
push esi
push str.WSAGetLastError
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd338
push esi
push str.__WSAFDIsSet
call fcn.0043fcc1
lea eax, [ebp - 4]
push eax
push 0x4dd2e0
push esi
push str.socket
call fcn.0043fcc1
add esp, 0x40
pop esi
mov eax, edi
pop edi
leave
ret
Function at 0x44150b
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor eax, eax
mov byte [ebp - 0x24], 0
and dword [ebp - 8], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0xc
call fcn.004414ec
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
call edi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
je 0x441587
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
jmp 0x44157b
test ebx, ebx
jle 0x441585
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x441585
call edi
sub eax, dword [ebp - 4]
cmp ebx, eax
jbe 0x441585
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x44155b
pop esi
pop ebx
push 0
push 0x80
push 3
lea eax, [ebp - 0x10]
push eax
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop edi
leave
ret

Function at 0x4415a7
Capabilities:
Find taskbar

Disassembly:
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.TrayNotifyWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
ret

Function at 0x441641
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4dd420]
mov edx, dword [0x4dd424]
mov ecx, eax
or ecx, edx
jne 0x44175f
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.004ae820
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x128]
mov ecx, 0x50000
cmp ecx, eax
sbb cl, cl
inc cl
mov byte [0x4db345], cl
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov esi, eax
movzx eax, word [ebp - 0x124]
cdq
or esi, eax
movzx eax, word [ebp - 0x120]
or ecx, edx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or ecx, edx
or esi, eax
cmp ecx, 6
mov dword [0x4dd420], esi
mov dword [0x4dd424], ecx
jb 0x441759
ja 0x4416e8
cmp esi, 0x20000
jb 0x441759
lea eax, [ebp - 0x10]
push eax
push 0x4dd414
push str.NTDLL.DLL
push str.RtlGetNtVersionNumbers
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.0043fcc1
mov eax, dword [0x4dd414]
add esp, 0x10
cmp eax, edi
je 0x441726
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
call eax
mov eax, dword [ebp - 8]
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov esi, eax
movzx eax, word [ebp - 0xc]
cdq
or esi, eax
movzx eax, word [ebp - 4]
or ecx, edx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or esi, eax
or ecx, edx
mov dword [0x4dd420], esi
mov dword [0x4dd424], ecx
pop edi
mov eax, esi
mov edx, ecx
pop esi
leave
ret
Function at 0x441b11
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
jne 0x441b25
lea ebx, [ebp + 0x10]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x441b68
mov eax, dword [esi + 4]
push edi
lea ecx, [ebp + 0x10]
push ecx
push 0x1000
push eax
push dword [esi]
mov dword [esi + 8], edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
jne 0x441b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x441b68
cmp dword [ebp + 0x10], edi
jne 0x441b68
dec dword [esi + 0x14]
jns 0x441b2d
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x441b88
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
mov al, byte [eax + ecx]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
mov dword [ebx], eax
jmp 0x441b8c
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x441fe4
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x108
push esi
push edi
mov ax, word [ebp + 0x7c]
push 0x20
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints_
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x21
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov word [ebp + 0x6e], ax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x10]
push eax
mov edi, 0x80000001
push edi
call esi
lea eax, [ebp - 0x94]
push eax
push edi
call esi
pop edi
pop esi
add ebp, 0x74
leave
ret

Function at 0x4422a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x7405c
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call ebx
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x18
push esi
push edi
push edi
push 0x70000
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call ebx
cmp dword [ebp - 8], edi
je 0x4422ff
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x44231c
mov eax, dword [esi + 0x14]
mul dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push edx
push eax
call fcn.004ae930
push dword [esi + 4]
push dword [esi]
push edx
push eax
call fcn.004ae930
pop edi
pop ebx
leave
ret