joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459d04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47c5f4]
cmp byte [eax + 0xc], 0
je 0x459e71
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459e6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47fdfc], 0
jne 0x459d58
push 0x459e78
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x459e80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fdfc], eax
cmp dword [0x47b4a8], 0
jne 0x459e53
push 0x459e90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47b4a8], eax
cmp dword [0x47b4a8], 0
je 0x459e53
push 0x459e9c
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe00], eax
push 0x459eac
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe04], eax
push 0x459ec0
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe08], eax
push 0x459ed8
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe0c], eax
push 0x459ef0
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe10], eax
push 0x459f04
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe14], eax
push 0x459f1c
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe18], eax
push 0x459f34
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe1c], eax
push 0x459f50
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe20], eax
push 0x459f5c
mov eax, dword [0x47b4a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fe24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459e71
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45aec0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d98
xor eax, eax
push ebp
push 0x45af3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404da8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x45af09
mov eax, dword [ebx + 4]
call fcn.00404da8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45af45
lea eax, [ebp - 4]
call fcn.004048cc
ret
Function at 0x45bf40
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45c0dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402e08
cmp word [ebx + 0xa2], 0
je 0x45bf89
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x45bf9d
lea esi, [ebp - 8]
jmp 0x45bf9f
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x45bfac
xor edi, edi
jmp 0x45bfb9
mov eax, dword [ebx + 0x80]
call fcn.00404da8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404da8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045b678
mov eax, dword [ebp - 0x14]
call fcn.00404da8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404da8
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404da8
push eax
mov eax, ebx
call fcn.0045b7ac
push eax
mov eax, ebx
call fcn.0045b780
push eax
mov eax, ebx
call fcn.0045b734
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045b544
mov eax, dword [ebp - 0x18]
call fcn.00404da8
push eax
mov eax, dword [ebx + 8]
call fcn.00404da8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x45c042
call fcn.0040f6b8
xor edx, edx
push ebp
push 0x45c0bb
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45c080
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x45c076
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c0a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c0c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x45c0ec
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x45c118
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404da8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45c13d
call fcn.0040f6b8
xor eax, eax
push ebp
push 0x45c174
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x45c15d
call fcn.0040f6b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c17b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45d88c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402a0c
mov dword [ebx + 0x2e8], eax
mov edi, esi
mov ebp, dword [esp]
test ebp, ebp
jle 0x45d8d1
mov esi, 1
mov eax, dword [esp]
dec eax
call fcn.004033fc
inc eax
mov edx, dword [ebx + 0x2e8]
mov word [edx + esi*2 - 2], ax
inc esi
dec ebp
jne 0x45d8b8
mov ebp, dword [esp]
test ebp, ebp
jle 0x45d924
mov esi, 1
mov al, byte [ebx + 0x43]
xor al, byte [ebx + 0x42]
xor al, byte [ebx + 0x41]
xor al, byte [ebx + 0x40]
mov byte [esp + 4], al
mov eax, 0xff
call fcn.004033fc
mov dl, byte [edi + esi - 1]
xor dl, byte [esp + 4]
xor al, dl
mov byte [edi + esi - 1], al
xor eax, eax
mov al, byte [edi + esi - 1]
add eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x3c]
imul dword [ebx + 0x2f8]
add eax, dword [ebx + 0x2fc]
mov dword [ebx + 0x40], eax
inc esi
dec ebp
jne 0x45d8dd
mov ebp, dword [esp]
test ebp, ebp
jle 0x45d973
mov esi, 1
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
cmp al, byte [edi + esi - 1]
je 0x45d96f
xor byte [edi + esi - 1], al
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov dl, byte [edi + esi - 1]
xor byte [edi + eax - 1], dl
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
xor byte [edi + esi - 1], al
inc esi
dec ebp
jne 0x45d930
mov edx, 0x10000
mov eax, dword [ebx + 0x2e8]
call fcn.00402a2c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45d98c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402a0c
mov dword [ebx + 0x2e8], eax
mov edi, ebp
test edi, edi
jle 0x45d9c8
mov esi, 1
mov eax, ebp
dec eax
call fcn.004033fc
inc eax
mov edx, dword [ebx + 0x2e8]
mov word [edx + esi*2 - 2], ax
inc esi
dec edi
jne 0x45d9b0
mov esi, ebp
cmp esi, 1
jl 0x45da2b
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov ecx, dword [ebx + 0x2e0]
mov al, byte [ecx + eax - 1]
mov edx, dword [ebx + 0x2e0]
cmp al, byte [edx + esi - 1]
je 0x45da26
xor byte [edx + esi - 1], al
mov edx, dword [ebx + 0x2e8]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2e0]
mov cl, byte [eax + esi - 1]
xor byte [eax + edx - 1], cl
mov edx, dword [ebx + 0x2e8]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2e0]
mov dl, byte [eax + edx - 1]
xor byte [eax + esi - 1], dl
dec esi
test esi, esi
jne 0x45d9cf
mov edx, 0x10000
mov eax, dword [ebx + 0x2e8]
call fcn.00402a2c
mov edi, ebp
test edi, edi
jle 0x45dab3
mov esi, 1
mov eax, dword [ebx + 0x2e0]
mov dl, byte [eax + esi - 1]
mov byte [eax + esi - 1], dl
mov eax, dword [ebx + 0x2e0]
mov al, byte [eax + esi - 1]
mov byte [esp], al
mov al, byte [ebx + 0x43]
xor al, byte [ebx + 0x42]
xor al, byte [ebx + 0x41]
xor al, byte [ebx + 0x40]
mov byte [esp + 1], al
mov eax, 0xff
call fcn.004033fc
mov edx, dword [ebx + 0x2e0]
mov dl, byte [edx + esi - 1]
xor dl, byte [esp + 1]
xor al, dl
mov edx, dword [ebx + 0x2e0]
mov byte [edx + esi - 1], al
xor eax, eax
mov al, byte [esp]
add eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x3c]
imul dword [ebx + 0x2f8]
add eax, dword [ebx + 0x2fc]
mov dword [ebx + 0x40], eax
inc esi
dec edi
jne 0x45da46
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45e070
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x45e116
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.004048cc
mov eax, edi
call fcn.00404da8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x45e100
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
lea eax, [ebp - 4]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x24]
mov ecx, 3
mov eax, 0x45e130
call fcn.0040b5a0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00404920
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e11d
lea eax, [ebp - 4]
call fcn.004048cc
ret
Function at 0x45e1e4
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov ebx, eax
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 8], esi
inc esi
je 0x45e2e3
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 4
push 0xffff
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_setsockopt
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 0x20
push 0xffff
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_setsockopt
mov eax, dword [ebx + 0x18]
call fcn.00404da8
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 8], eax
mov dword [esp], 0x10000
push 4
lea eax, [esp + 4]
push eax
push 0x1002
push 0xffff
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_setsockopt
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x10
call fcn.004033dc
mov word [esp + 4], 2
mov eax, dword [ebx + 0x18]
call fcn.00404da8
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 8], eax
mov ax, word [ebx + 0x14]
push eax
call sub.wsock32.dll_htons
mov word [esp + 6], ax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x45e2cf
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [ebx + 8], 0xffffffff
jmp 0x45e2e3
push 1
push 0x401
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_WSAAsyncSelect
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x45e3d8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov word [ebx + 0x24], 2
push 0x10
lea eax, [ebx + 0x24]
push eax
push 0
push ecx
push edx
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_sendto
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e403
mov eax, ebx
call fcn.0045e4f0
mov eax, esi
pop esi
pop ebx
ret
Function at 0x45f6ec
Capabilities:
Enumerate disk volumes

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff80
mov edi, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_FindFirstVolumeA
mov esi, eax
cmp esi, 0xffffffff
je 0x45f76e
mov eax, dword [edi + 0x30]
call fcn.0041a9a8
mov edx, dword [0x45f3d4]
call fcn.00403ca8
mov ebx, eax
lea eax, [ebx + 0xc]
mov edx, esp
mov ecx, 0x80
call fcn.00404b3c
jmp 0x45f754
mov eax, dword [edi + 0x30]
call fcn.0041a9a8
mov edx, dword [0x45f3d4]
call fcn.00403ca8
mov ebx, eax
lea eax, [ebx + 0xc]
mov edx, esp
mov ecx, 0x80
call fcn.00404b3c
push 0x104
lea eax, [esp + 4]
push eax
push esi
call sub.kernel32.dll_FindNextVolumeA
test eax, eax
jne 0x45f730
push esi
call sub.kernel32.dll_FindVolumeClose
add esp, 0x80
pop edi
pop esi
pop ebx
ret

Function at 0x45f940
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45fa2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 4]
mov edx, 0x45fa44
call fcn.00404964
mov ebx, 2
lea eax, [ebp - 4]
call fcn.00404e00
mov edx, ebx
add dl, 0x41
mov byte [eax], dl
mov eax, dword [ebp - 4]
call fcn.00404da8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x45f9fd
push 0xff
lea eax, [ebp - 0x107]
push eax
mov eax, dword [ebp - 4]
call fcn.00404da8
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
jbe 0x45f9fd
push dword [ebp - 4]
push 0x45fa50
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x107]
mov ecx, 0xff
call fcn.00404b3c
push dword [ebp - 0x10c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c68
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x45f982
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa34
lea eax, [ebp - 0x10c]
call fcn.004048cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048f0
ret

Function at 0x45fb08
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d98
xor eax, eax
push ebp
push 0x45fb9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040ec50
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.00404964
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.004033dc
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404da8
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x4c]
call fcn.0040b0b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fba5
lea eax, [ebp - 0x50]
call fcn.004048cc
lea eax, [ebp - 4]
call fcn.004048cc
ret
Function at 0x45fc28
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x45fdc3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x204]
xor ecx, ecx
mov edx, 0x200
call fcn.004033dc
lea eax, [ebx + 0x64]
xor ecx, ecx
mov edx, 0x1da
call fcn.004033dc
push 0
push 0
push 0x7200
push edi
call sub.kernel32.dll_SetFilePointer_1
lea esi, [ebp - 0x204]
push 0
lea eax, [ebp - 4]
push eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
xor eax, eax
push ebp
push 0x45fd9b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 4], 0
je 0x45fd62
cmp dword [esi + 8], 0
je 0x45fd62
mov eax, dword [esi]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x3c], eax
lea edx, [ebp - 0x208]
lea eax, [esi + 0xc]
call fcn.0040b0b0
mov edx, dword [ebp - 0x208]
lea eax, [ebx + 0x40]
call fcn.00404920
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x48], eax
lea edx, [ebp - 0x20c]
lea eax, [esi + 0x30]
call fcn.0040b0b0
mov edx, dword [ebp - 0x20c]
lea eax, [ebx + 0x50]
call fcn.00404920
lea edx, [ebp - 0x210]
lea eax, [esi + 0x34]
call fcn.0040b0b0
mov edx, dword [ebp - 0x210]
lea eax, [ebx + 0x4c]
call fcn.00404920
mov eax, dword [esi + 0x134]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x60]
lea edx, [esi + 0x144]
mov ecx, 0x20
call fcn.00404b3c
lea edx, [ebx + 0x64]
mov eax, esi
mov ecx, 0x1da
call fcn.00402c7c
jmp 0x45fd91
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x40]
call fcn.004048cc
xor eax, eax
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x50]
call fcn.004048cc
lea eax, [ebx + 0x4c]
call fcn.004048cc
lea eax, [ebx + 0x60]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fda5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fdca
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.004048f0
ret
Function at 0x45ff80
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46010d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048cc
push 0xff
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00404da8
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
jbe 0x4600e2
push 0x104
lea eax, [ebp - 0x214]
push eax
call sub.kernel32.dll_FindFirstVolumeA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4600e2
lea edx, [ebp - 8]
lea eax, [ebp - 0x214]
call fcn.0040b0b0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ba8
mov ecx, eax
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.00404e08
push 0x40
lea eax, [ebp - 0x254]
push eax
mov eax, dword [ebp - 8]
call fcn.00404da8
push eax
call sub.kernel32.dll_QueryDosDeviceA
lea edx, [ebp - 4]
lea eax, [ebp - 0x110]
call fcn.0040b0b0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x254]
call fcn.0040b0b0
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x254]
mov ecx, 0x40
call fcn.00404b3c
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 4]
call fcn.0040a0e0
test eax, eax
jne 0x4600c2
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0040ec90
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0xb
lea edx, [ebp - 0x264]
xor ecx, ecx
mov eax, 0x460124
call fcn.0040b5a0
mov edx, dword [ebp - 0x25c]
mov eax, ebx
call fcn.00404920
jmp 0x4600dc
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call sub.kernel32.dll_FindNextVolumeA_1
test eax, eax
jne 0x45fffa
push esi
call sub.kernel32.dll_FindVolumeClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460114
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.004048f0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048f0
ret
Function at 0x46171c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x47b540
test edx, edx
jne 0x46172c
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x4617f4
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
sub ecx, 8
cmp ecx, 8
jae 0x461738
test ecx, ecx
je 0x461813
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
dec ecx
test ecx, ecx
jne 0x4617f8
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x46246c
Capabilities:
Get mac address on windows

Disassembly:
push ebx
push esi
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x462474
mov eax, dword [esp + 0x4000]
add esp, 0xffffffd0
mov esi, eax
mov eax, esi
call fcn.004048cc
lea ebx, [esp + 4]
mov dword [esp], 0x4000
push esp
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo_1
test eax, eax
jne 0x462565
cmp dword [ebx + 0x1a0], 6
jne 0x46255b
push esi
xor eax, eax
mov al, byte [ebx + 0x194]
mov dword [esp + 0x4008], eax
mov byte [esp + 0x400c], 0
xor eax, eax
mov al, byte [ebx + 0x195]
mov dword [esp + 0x4010], eax
mov byte [esp + 0x4014], 0
xor eax, eax
mov al, byte [ebx + 0x196]
mov dword [esp + 0x4018], eax
mov byte [esp + 0x401c], 0
xor eax, eax
mov al, byte [ebx + 0x197]
mov dword [esp + 0x4020], eax
mov byte [esp + 0x4024], 0
xor eax, eax
mov al, byte [ebx + 0x198]
mov dword [esp + 0x4028], eax
mov byte [esp + 0x402c], 0
xor eax, eax
mov al, byte [ebx + 0x199]
mov dword [esp + 0x4030], eax
mov byte [esp + 0x4034], 0
lea edx, [esp + 0x4008]
mov ecx, 5
mov eax, 0x462578
call fcn.0040b5a0
jmp 0x462565
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4624ab
add esp, 0x4034
pop esi
pop ebx
ret
Function at 0x4627a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46281b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0xff]
call fcn.0040b0b0
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.00460d3c
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.00404920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462822
lea eax, [ebp - 0x104]
call fcn.004048cc
ret

Function at 0x462828
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d98
xor eax, eax
push ebp
push 0x462901
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 8
test edi, edi
jne 0x462875
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
setne bl
jmp 0x462877
xor ebx, ebx
test edi, edi
jne 0x462899
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x46291c
call fcn.00404bf4
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dl, 1
call fcn.0046181c
jmp 0x4628e3
test esi, esi
jne 0x4628b3
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404da8
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x4628cb
lea eax, [ebp - 0x24]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4628cb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
test bl, bl
je 0x4628e3
test esi, esi
je 0x4628d9
push esi
call sub.advapi32.dll_CloseServiceHandle
test edi, edi
je 0x4628e3
push edi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462908
lea eax, [ebp - 0x28]
call fcn.004048cc
lea eax, [ebp - 4]
call fcn.004048cc
ret