joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030880
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
je 0x1003089e
mov byte [ebp - 1], 1
jmp 0x100308a2
mov byte [ebp - 1], 0
movsx eax, byte [ebp - 1]
test eax, eax
je 0x10030974
mov al, 1
jmp 0x10030a3a
xor al, al
jmp 0x10030a3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1003166d
xor eax, eax
jmp 0x100316b2
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x128
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100316b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 8]
jne 0x1003169e
mov eax, 1
jmp 0x100316b2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 8], eax
jmp 0x10031686
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031810
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10055998
push 0x1001fb10
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x1005a030]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10031890
mov al, byte [ebp - 0x19]
jmp 0x10031929
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031af0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
push 0x3fc
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.1001c970
add esp, 0xc
xor edi, edi
mov ebx, edi
mov esi, 8
mov edi, edi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, 1
je 0x10031b37
shr ebx, 1
xor ebx, 0xedb88320
jmp 0x10031b39
shr ebx, 1
dec esi
test esi, esi
jg 0x10031b20
mov dword [esp + edi*4 + 0xc], ebx
inc edi
cmp edi, 0x100
jl 0x10031b17
mov ebx, dword [esp + 0x414]
xor edi, edi
or esi, 0xffffffff
test ebx, ebx
je 0x10031b8d
push ebp
mov ebp, dword [esp + 0x414]
inc edi
dec ebx
cmp edi, 0x1e
jbe 0x10031b74
push 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [ebp]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [esp + ecx*4 + 0x10]
inc ebp
test ebx, ebx
jne 0x10031b63
pop ebp
mov eax, esi
pop edi
not eax
pop esi
xor eax, 0x2e3f851c
pop ebx
add esp, 0x400
ret
Function at 0x10031da0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10031dd4
xor eax, eax
pop esi
add esp, 0x14
ret
push ebx
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push esi
mov ebp, eax
call ebx
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
cmp dword [esp + 0x14], 0x10101010
jne 0x10031ed7
cmp dword [esp + 0x18], 0x1010101
jne 0x10031ed7
push edi
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
call ebx
sub ebp, 0xc
lea ecx, [ebp + 2]
push ecx
call fcn.1001ae49
mov edi, eax
add esp, 4
test edi, edi
je 0x10031e77
push 0
lea edx, [esp + 0x14]
push edx
push ebp
push edi
push esi
call ebx
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.1001ae49
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10031e88
push edi
call fcn.1001bc62
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
push ebx
push edi
call fcn.1001a4f0
add esp, 0xc
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001bc62
push ebx
call fcn.1001bc62
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x14
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x10032510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1005a030]
xor eax, esp
mov dword [esp + 0x48], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov cl, 0x74
push esi
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x39], al
mov byte [esp + 0x40], al
mov byte [esp + 0x45], al
lea eax, [esp + 0x38]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x44], cl
mov dl, 0x6e
push eax
lea ecx, [esp + 0x2c]
push ecx
xor esi, esi
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x47
mov byte [esp + 0x43], 0x4e
mov byte [esp + 0x44], 0x61
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], 0x76
mov byte [esp + 0x49], 0x53
mov byte [esp + 0x4a], 0x79
mov byte [esp + 0x4b], 0x73
mov byte [esp + 0x4e], 0x6d
mov byte [esp + 0x4f], 0x49
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], 0x66
mov byte [esp + 0x52], 0x6f
mov byte [esp + 0x53], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10032609
lea edx, [esp + 4]
push edx
call eax
mov ax, word [esp + 4]
cmp ax, 9
je 0x100325f4
cmp ax, 6
jne 0x10032609
mov eax, 1
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001a63f
add esp, 0x4c
ret
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1001a63f
add esp, 0x4c
ret

Function at 0x10032620
Capabilities:
Parse pe header

Disassembly:
push ecx
push esi
push 0x1000
call fcn.1001a634
mov esi, eax
add esp, 4
test esi, esi
je 0x1003269f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x1000
push esi
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10032696
cmp dword [esp + 4], 0x1000
jne 0x10032696
mov eax, 0x5a4d
Function at 0x100347d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f118
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1005a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0
push 0x8000000
push 3
push 0
push 3
push closesocket
lea ecx, [ebp + 8]
call fcn.10001b90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x100348ec
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x100348e2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1001a634
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x100348e2
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x18]
jne 0x100348a9
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.10031af0
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x100348c5
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1001b14f
add esp, 4
jmp 0x100348d4
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001b60
mov eax, dword [ebp - 0x34]
jmp 0x100349c9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100353fa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc eax, 0x59000000
pop ebx
add ebx, 0x2c
cmp ebx, 0
je 0x1003540f
jmp ebx
sub dword [0xb445c661], 0xb545c64e
je 0x100353e1
inc ebp
mov dh, 0x51
mov byte [ebp - 0x49], 0x75
mov byte [ebp - 0x48], 0x65
mov byte [ebp - 0x47], 0x72
mov byte [ebp - 0x46], 0x79
mov byte [ebp - 0x45], 0x49
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x66
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x72
mov byte [ebp - 0x40], 0x6d
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 0x6f
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x50
mov byte [ebp - 0x39], 0x72
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x63
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x73
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0
mov eax, dword [str.ntdll]
mov dword [ebp - 0x5c], eax
mov cx, word [0x10053af4]
mov word [ebp - 0x58], cx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x58], cx
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov word [ebp - 0x34], dx
cmp dword [ebp - 0x54], 0
jne 0x100354d3
xor eax, eax
jmp 0x1003574c
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 0x13b4c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x100355c6
xor eax, eax
jmp 0x1003574c
push 0
push 0x18
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x54]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
jne 0x1003569a
mov dword [ebp - 0x290], 0
push 0x220
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.1001c970
add esp, 0xc
mov dword [ebp - 0x290], 0x224
mov eax, dword [ebp - 0x14]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x294], 0xffffffff
je 0x1003567e
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x294]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10035671
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x136ac
call fcn.10035370
mov dword [ebp - 0x64], 1
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x64], 0
jne 0x1003569a
push 0x100548fc
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x136ac
call fcn.10035370
jmp 0x100356a9
mov dword [ebp - 4], 0xffffffff
mov eax, 1
jmp 0x1003574c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.1001a63f
mov esp, ebp
pop ebp
ret
Function at 0x10035d10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f210
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x100548fc
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10035d89
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10035d64
sub ecx, esi
push ecx
push eax
lea ecx, [edi + 0x54]
call fcn.10001f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x100548fc
jmp 0x10035d6f
Function at 0x10036380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f2f1
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x37c
mov eax, dword [0x1005a030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp - 0x360]
cmp dword [eax + 0x1351c], 0
je 0x100363cc
jmp 0x100369f0
cmp dword [ebp + 8], 0x3c
je 0x100363d7
jmp 0x100369f0
mov dword [ebp - 4], 0
mov ecx, dword [0x10053b68]
mov dword [ebp - 0x280], ecx
mov dx, word [0x10053b64]
mov word [ebp - 0x288], dx
mov al, byte [0x10053b66]
mov byte [ebp - 0x286], al
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov word [ebp - 0x2b], cx
mov byte [ebp - 0x29], cl
mov dx, word [0x10052d50]
mov word [ebp - 0x150], dx
mov al, byte [0x10052d52]
mov byte [ebp - 0x14e], al
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx + 0x13524]
push edx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.1001aa93
add esp, 0xc
mov edx, dword [ebp - 0x360]
add edx, 0x13700
push edx
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x360]
add edx, 0x13700
push edx
push 0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x276]
movzx ecx, word [ebp - 0x27a]
imul ecx, ecx, 0x64
add ecx, eax
xor ecx, 0x20e5
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
cmp edx, dword [ebp - 0x284]
je 0x100369f0
mov byte [ebp - 0x13d], 0
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jne 0x100364fb
mov byte [ebp - 0x13d], 1
mov byte [ebp - 0x260], 0
push 0xfe
push 0
lea ecx, [ebp - 0x25f]
push ecx
call fcn.1001c970
add esp, 0xc
mov edx, dword [str._UXL_0WPHO_]
mov dword [ebp - 0x26c], edx
mov eax, dword [0x10053b5c]
mov dword [ebp - 0x268], eax
mov ecx, dword [0x10053b60]
mov dword [ebp - 0x264], ecx
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.10030550
add esp, 8
mov eax, dword [str._s_d_c__]
mov dword [ebp - 0x294], eax
mov ecx, dword [0x10053b50]
mov dword [ebp - 0x290], ecx
mov dl, byte [0x10053b54]
mov byte [ebp - 0x28c], dl
mov eax, dword [str.._tqhook]
mov dword [ebp - 0x15c], eax
mov ecx, dword [0x10053b44]
mov dword [ebp - 0x158], ecx
mov dx, word [0x10053b48]
mov word [ebp - 0x154], dx
mov al, byte [0x10053b4a]
mov byte [ebp - 0x152], al
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.1001aa93
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x138], 0
push 0xfe
push 0
Function at 0x10042980
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1004fbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005a030]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
push 0x20a
mov dword [esp + 0x1c], 0x105
call fcn.1001a634
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x10042aff
mov esi, dword [esp + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100429e4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push esi
call edi
cmp eax, ebx
jne 0x10042a2a
call ebp
cmp eax, 0xea
jne 0x10042aee
mov eax, dword [esp + 0x14]
push eax
call fcn.1001b14f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx]
push edx
call fcn.1001a634
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x100429e0
jmp 0x10042aff
mov esi, dword [esp + 0x14]
cmp word [esi], bx
je 0x10042af2
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x4c]
add eax, 0x1588c
mov dword [esp + 0x50], eax
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10042a60
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.10008ae0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x48], ebx
call fcn.10007990
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, 2
cmp di, bx
jne 0x10042a91
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.10008ae0
cmp dword [esp + 0x38], 8
mov dword [esp + 0x44], 0xffffffff
jb 0x10042ac5
mov eax, dword [esp + 0x24]
push eax
call fcn.1001a93a
add esp, 4
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10042ad0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], bx
lea esi, [esi + eax*2 + 2]
jne 0x10042a48
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x10042aff
push esi
call fcn.1001b14f
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x10042b20
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
sub esp, 0x418
mov eax, dword [0x1005a030]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
xor eax, eax
push 0x206
mov dword [esp + 8], ecx
push eax
lea ecx, [esp + 0x21a]
push ecx
mov word [esp + 0x21c], ax
call fcn.1001c970
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1e]
push eax
mov word [esp + 0x20], dx
call fcn.1001c970
add esp, 0x18
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10042c6e
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042b92
sub eax, edx
sar eax, 1
push edi
mov edi, 0x5c
dec eax
cmp word [esp + 0xc], di
jne 0x10042c66
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
jmp 0x10042bc0
cmp word [esp + 0x16], di
jne 0x10042c64
cmp word [esp + 0x18], 0x3f
jne 0x10042c64
cmp word [esp + 0x1a], di
jne 0x10042c64
cmp word [esp + eax*2 + 0x14], di
lea esi, [esp + eax*2 + 0x14]
jne 0x10042c64
push 0x104
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x24]
xor edx, edx
push ecx
mov word [esi], dx
call ebx
mov edx, edi
mov word [esi], dx
test eax, eax
je 0x10042c5e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10042980
push 0x104
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x10042c5e
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042c41
sub eax, edx
sar eax, 1
dec eax
cmp word [esp + 0x14], di
je 0x10042bc0
jmp 0x10042c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop edi
mov ecx, dword [esp + 0x418]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1001a63f
add esp, 0x418
ret
Function at 0x1004319a
Capabilities:
Enumerate process modules

Disassembly:
pop ecx
add ecx, 0x27
cmp ecx, 0
je 0x100431af
jmp ecx
or dword [0xc085c761], 0xfffffd
add byte [eax], al
add bh, al
test dword [ebp + edi*8 + 0xffff], edi
add byte [eax], al
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x23c], 0
push 0x220
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.1001c970
add esp, 0xc
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x13664
call fcn.10007800
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10043313
xor eax, eax
jmp 0x10043540
mov dword [ebp - 0x23c], 0x224
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1004339c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x260]
call fcn.10001af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
push ecx
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x13664
call fcn.10007750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10001b60
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10043331
mov dword [ebp - 0x240], 1
jmp 0x100433a6
mov dword [ebp - 0x240], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
jmp 0x10043540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a63f
mov esp, ebp
pop ebp
ret

Function at 0x100447f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004fefe
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1010
call fcn.10026a20
mov eax, dword [0x1005a030]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xf00], ecx
mov dword [ebp - 0xd30], 0
mov eax, dword [ebp - 0xf00]
movzx ecx, byte [eax + 0x1365f]
cmp ecx, 1
jne 0x1004496a
mov edx, dword [ebp - 0xf00]
cmp dword [edx + 0x134f0], 0
jne 0x1004496a
mov eax, 1
jmp 0x100461be
mov dword [ebp - 0x14], 0

Function at 0x10046ec8
Capabilities:
Initialize winsock library

Disassembly:
pop ecx
add ecx, 0x2f
cmp ecx, 0
je 0x10046edd
jmp ecx
adc dword [0xfc458b61], 0x2026850
add byte [eax], al
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10046f32
pushal
call fcn.10046f10
pop ecx
pop edi
pop esi
pop ebx
leave
push ecx
ret
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pop esi
add esi, 0x2b
cmp esi, 0
je 0x1004780b
jmp esi
cmp dword [0x8b006a61], 0x8b501045
dec ebp
or al, 0x51
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
pushal
call fcn.10047842
pop ecx
pop edi
pop esi
pop ebx
leave
push ecx
ret