joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464a74
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
push edi
test dl, dl
je 0x464a8c
add esp, 0xfffffff0
call fcn.0040422c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
push esi
mov esi, edi
lea edi, [ebx + 0x44]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x4a3784]
mov edx, 0x1fd
call fcn.00408168
mov byte [esi], 1
lea eax, [ebx + 4]
mov edx, dword [ebp + 0xc]
call fcn.00404d94
mov ax, word [ebp + 8]
mov word [ebx + 8], ax
lea eax, [ebp - 0x194]
push eax
mov dl, 2
mov al, 2
call fcn.00408124
push eax
call sub.wsock32.dll_WSAStartup_1
test eax, eax
je 0x464aed
call sub.wsock32.dll_WSACleanup_1
mov byte [esi], 0
jmp 0x464b19
mov word [0x4a5114], 2
mov eax, dword [ebx + 4]
call fcn.00405200
push eax
call sub.wsock32.dll_inet_addr_1
mov dword [0x4a5118], eax
mov ax, word [ebx + 8]
push eax
call sub.wsock32.dll_htons
mov word [0x4a5116], ax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464b30
call fcn.00404284
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x464b3c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
call fcn.00404294
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x464b6e
push 0
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x464b8c
push 0
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xc8
call sub.kernel32.dll_Sleep
xor eax, eax
push ebp
push 0x464bbc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.wsock32.dll_shutdown
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464bc6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.wsock32.dll_closesocket
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.ws2_32.dll_WSAEventSelect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.ws2_32.dll_WSACloseEvent
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x464c21
call fcn.00402b5c
mov dl, byte [ebp - 5]
and dl, 0xfc
mov eax, dword [ebp - 4]
call fcn.00403ee4
cmp byte [ebp - 5], 0
jle 0x464c3d
mov eax, dword [ebp - 4]
call fcn.0040427c
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46e1ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46e1da
mov eax, ebx
call fcn.0046ec60
cmp dword [ebx + 0x40], 0
je 0x46e1d3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46e24b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46e23d
cmp dword [ebx + 8], 0
je 0x46e1fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46e20e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46e23d
cmp dword [ebx + 8], 0
je 0x46e1ef
cmp eax, 3
je 0x46e221
dec eax
jne 0x46e1ef
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 0x46e1ef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46e1ef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46e269
cmp dword [ebx + 0x14], 0xcc
je 0x46e269
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046e274
pop ebx
ret

Function at 0x47e880
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov ebx, eax
jmp 0x47e974
Function at 0x47e99c
Capabilities:
Capture microphone audio
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x47e9af
add esp, 0xfffffff0
call fcn.0040422c
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10ac], eax
mov dword [esi + 0x10b0], ecx
mov byte [esi + 0x10a0], 0
mov byte [esi + 0x10a1], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
call sub.winmm.dll_waveInGetNumDevs
test eax, eax
ja 0x47e9f1
cmp byte [ebp + 8], 0
jne 0x47e9f1
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
jmp 0x47eafb
lea eax, [esi + 0x10a8]
push eax
push 0
push esi
push 0x47e870
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [esi + 0x10a4], eax
push 0x14
push 2
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
mov dword [esi + 8], edi
push edi
call sub.kernel32.dll_GlobalLock
mov ebx, eax
mov dword [esi + 4], ebx
mov word [ebx], 0x31
mov word [ebx + 2], 1
mov dword [ebx + 4], 0x1f40
mov dword [ebx + 8], 0x659
mov word [ebx + 0xc], 0x41
mov word [ebx + 0xe], 0
mov word [ebx + 0x10], 2
mov word [ebx + 0x12], 0x140
push 0x20000
push 0
mov eax, dword [esi + 0x10a8]
push eax
push ebx
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push eax
call sub.winmm.dll_waveInOpen
test eax, eax
je 0x47ea7f
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
jmp 0x47eafb
mov byte [ebp - 2], 0
xor ebx, ebx
xor eax, eax
mov al, bl
mov edi, eax
shl edi, 2
lea eax, [esi + edi*8 + 0x10]
mov edx, 0x20
call fcn.00408168
xor eax, eax
mov al, bl
shl eax, 7
lea eax, [esi + eax*8 + 0x90]
xor edx, edx
mov dl, bl
mov dword [esi + edx*4 + 0x1090], eax
xor eax, eax
mov al, bl
mov eax, dword [esi + eax*4 + 0x1090]
mov dword [esi + edi*8 + 0x10], eax
mov dword [esi + edi*8 + 0x14], 0x400
push 0x20
lea eax, [esi + edi*8 + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
call sub.winmm.dll_waveInPrepareHeader
inc byte [ebp - 2]
cmp byte [ebp - 2], 4
jae 0x47eaf5
push 0x20
lea eax, [esi + edi*8 + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
call sub.winmm.dll_waveInAddBuffer
inc ebx
cmp bl, 4
jne 0x47ea85
mov eax, esi
cmp byte [ebp - 1], 0
je 0x47eb12
call fcn.00404284
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x47efb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47f1be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x8c]
mov edx, 0x64
call fcn.00408168
lea eax, [ebp - 0x8c]
push eax
push 0x64
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 4], eax
xor ebx, ebx
mov al, byte [ebp - 0x8c]
cmp al, 0x41
je 0x47f017
cmp al, 0x61
jne 0x47f01c
mov ebx, 4
push 1
call sub.kernel32.dll_SetErrorMode
cmp ebx, dword [ebp - 4]
jae 0x47f193
lea eax, [ebp - 0xc]
lea edx, [ebp + ebx - 0x8c]
call fcn.00404f38
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405200
push eax
mov eax, dword [0x4a37b4]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x47f079
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov esi, 4
lea eax, [ebp - 8]
mov edx, 0x47f1d4
call fcn.00404dd8
mov eax, dword [ebp - 0xc]
call fcn.00405200
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x47f0a6
dec eax
je 0x47f0ba
dec eax
je 0x47f0ce
jmp 0x47f0e0
lea eax, [ebp - 8]
mov edx, 0x47f1d4
call fcn.00404dd8
mov esi, 4
jmp 0x47f0e0
lea eax, [ebp - 8]
mov edx, 0x47f1e8
call fcn.00404dd8
mov esi, 6
jmp 0x47f0e0
lea eax, [ebp - 8]
mov edx, 0x47f1fc
call fcn.00404dd8
mov esi, 0xa
push dword [edi + 4]
push 0x47f210
push dword [ebp - 0xc]
push 0x47f228
push dword [ebp - 8]
push 0x47f240
push 0
push 0x400
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00405e28
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x90]
mov eax, 8
call fcn.004098e4
push dword [ebp - 0x90]
push 0x47f258
push 0
push 0x400
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405e28
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x94]
mov eax, 8
call fcn.004098e4
push dword [ebp - 0x94]
push 0x47f270
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.004097a8
push dword [ebp - 0x98]
push 0x47f288
lea eax, [edi + 4]
mov edx, 0xc
call fcn.004050c0
mov eax, dword [ebp - 0xc]
call fcn.00405000
inc eax
add ebx, eax
cmp ebx, dword [ebp - 4]
jb 0x47f02c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f1c5
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00404d64
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d64
ret
Function at 0x47f648
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x47f777
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, edi
call fcn.00404dd8
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47f790
mov edx, dword [ebp - 4]
call fcn.0040504c
mov eax, dword [ebp - 0x14c]
call fcn.00405200
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x47f74c
cmp byte [ebp - 0x11c], 0x2e
je 0x47f731
push 0
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x148]
call fcn.0047f28c
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
sete al
test al, bl
je 0x47f731
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404fb0
push dword [ebp - 0x150]
push 0x47f79c
lea eax, [ebp - 8]
mov edx, 3
call fcn.004050c0
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0047f648
pop ecx
lea eax, [ebp - 0x148]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47f6bc
push edi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f77e
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404d64
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d64
ret
Function at 0x47f8f4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47fa2f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404dd8
mov eax, dword [ebp - 4]
call fcn.00405000
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x47f94e
lea eax, [ebp - 4]
mov edx, 0x47fa44
call fcn.00405008
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47fa50
mov edx, dword [ebp - 4]
call fcn.0040504c
mov eax, dword [ebp - 0x14c]
call fcn.00405200
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47fa04
cmp byte [ebp - 0x11c], 0x2e
je 0x47f9ed
push 1
push 0x47fa50
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x148]
mov eax, esi
call fcn.0047f28c
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x47f9ed
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404fb0
push dword [ebp - 0x150]
push 0x47fa44
lea eax, [ebp - 8]
mov edx, 3
call fcn.004050c0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0047f8f4
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47f984
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fa36
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404d64
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d64
ret

Function at 0x47fa54
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x1e
call fcn.00403664
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov eax, 0x47fa9c
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x14
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete al
add esp, 0x20
pop ebx
ret

Function at 0x47faa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47fb40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403664
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 4
lea eax, [ebp - 0x24]
mov ecx, 0x47fb58
mov edx, ebx
call fcn.0040504c
mov eax, dword [ebp - 0x24]
call fcn.00405200
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x28]
mov ecx, 0x47fb58
mov edx, esi
call fcn.0040504c
mov eax, dword [ebp - 0x28]
call fcn.00405200
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x40
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fb47
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404d64
ret
Function at 0x47fb5c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47fc97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00409f9c
mov eax, dword [ebp - 0xc]
call fcn.00405000
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
jne 0x47fbb9
mov eax, dword [ebp - 0xc]
call fcn.00405000
push eax
lea eax, [ebp - 0xc]
call fcn.00405258
pop edx
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 0xc]
call fcn.00409d34
test al, al
jne 0x47fc06
mov eax, dword [ebp - 0xc]
call fcn.00405000
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x47fbe6
lea eax, [ebp - 0xc]
mov edx, 0x47fcb4
call fcn.00405008
jmp 0x47fbf3
lea eax, [ebp - 0xc]
mov edx, 0x47fcc0
call fcn.00405008
mov eax, dword [ebp - 0xc]
push eax
call sub.imagehlp.dll_MakeSureDirectoryPathExists
test eax, eax
jne 0x47fc06
mov byte [ebp - 1], 0
jmp 0x47fc7c
mov eax, ebx
call fcn.00409d24
test al, al
je 0x47fc2a
mov eax, ebx
call fcn.00405200
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404f38
mov eax, dword [ebp - 0x10]
call fcn.00409e68
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, ebx
call fcn.00405200
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47fc5c
mov byte [ebp - 1], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47fc7c
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fc9e
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d64
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, dword [ebp - 0xc]
xor ebx, ebx
cmp esi, dword [ebp - 0xc]
jge 0x47fd1e
push 0
push edi
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47fd15
call sub.wsock32.dll_WSAGetLastError_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
jne 0x47fd1e
push 1
call sub.kernel32.dll_Sleep_1
jmp 0x47fd19
add esi, ebx
sub edi, ebx
cmp esi, dword [ebp - 0xc]
jl 0x47fce2
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edx, edx
mov eax, ebx
call fcn.004617b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47fd38
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0x10]
mov byte [ebp - 5], 1
push 0
push 0
push 4
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00405200
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47fd7f
mov byte [ebp - 5], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47fe76
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
sub esi, dword [ebp + 8]
test esi, esi
jl 0x47fd9a
test esi, esi
jne 0x47fda9
cmp dword [ebp + 8], 0
jbe 0x47fda9
mov byte [ebp - 5], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47fe76
mov edx, edi
add edx, 0x14
lea eax, [ebp - 0x30]
mov ecx, 0x20
call fcn.0040814c
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x30]
mov eax, edi
add eax, 0x14
mov ecx, 0x20
call fcn.0040814c
lea eax, [ebp - 0x48]
mov edx, 0x18
call fcn.00408168
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
mov edx, 0x10
call fcn.00408168
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 9], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 9]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.0047fcc4
inc eax
je 0x47fe76
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edi, eax
mov dword [ebp - 0x38], edi
push 0x20
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_TransmitFile
test eax, eax
jne 0x47fe62
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
je 0x47fe62
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47fe76
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
push edi
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x482a70
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x482b45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d40
lea eax, [ebp - 4]
mov edx, pe_nt_image_headers32
call fcn.0040538c
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
call fcn.00405258
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x482b2f
mov dword [ebp - 0xc], 0xff
mov dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
call fcn.00405258
push eax
push 0
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x482b2f
lea eax, [ebp - 0x118]
push eax
call sub.advapi32.dll_IsValidSid
test eax, eax
je 0x482b2f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.advapi32.dll_ConvertSidToStringSidA
mov eax, ebx
mov edx, dword [ebp - 0x18]
call fcn.00404f38
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482b4c
lea eax, [ebp - 4]
call fcn.00404d40
ret
Function at 0x484890
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.00404d40
mov dword [ebp - 0xc], 1
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x48497c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x484973
xor eax, eax
push ebp
push 0x48496c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 3
mov ebx, 0x4a3374
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebx]
call fcn.00405200
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48494f
cmp dword [ebp - 8], 0
jbe 0x48494f
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040538c
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00405258
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebx]
call fcn.00405200
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x484948
mov edx, dword [ebp - 8]
dec edx
mov eax, edi
call fcn.0040538c
jmp 0x484955
mov eax, edi
call fcn.00404d40
add ebx, 4
dec esi
jne 0x4848e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484973
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4849ac
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 0x484a44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404fb0
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx]
call fcn.00405000
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00405260
mov eax, dword [ebp - 0x104]
mov edx, 0x484a58
call fcn.0040514c
je 0x484a2b
mov eax, ebx
mov edx, 0x484a58
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a4b
lea eax, [ebp - 0x104]
call fcn.00404d40
ret

Function at 0x484a5c
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 0x484b04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
mov edx, pe_nt_image_headers32
call fcn.00408168
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404fb0
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx]
call fcn.00405000
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00405260
mov eax, dword [ebp - 0x104]
mov edx, 0x484b18
call fcn.0040514c
je 0x484aeb
mov eax, ebx
mov edx, 0x484b18
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b0b
lea eax, [ebp - 0x104]
call fcn.00404d40
ret