joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003bf40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x1003bf9e
mov ecx, esi
jmp 0x1003bfa3
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003bfb6
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1003bfb2
mov eax, dword [eax]
jmp 0x1003bf96
cmp eax, esi
jne 0x1003c000
mov esi, dword [esi]
lea eax, [ebp + 8]
push ecx
push eax
push ecx
mov dword [ebp + 8], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.100408b0
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x2762761
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x1003c00c
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.100405c0
mov eax, dword [ebp - 8]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.10048734
int3
Function at 0x1003c7b0
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 0x1003c898
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 0x1003c887
jg 0x1003c7f0
test edx, edx
je 0x1003c887
nop dword [eax]
call fcn.1003da70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1003c844
jg 0x1003c807
test esi, esi
je 0x1003c844
cmp ebx, eax
jg 0x1003c817
jl 0x1003c811
cmp edi, esi
jae 0x1003c817
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.100632b0
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 0x1003c86b
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 0x1003c881
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x1003c7f0
jl 0x1003c881
test edi, edi
jne 0x1003c7f0
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 0x1003c8ba
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1003c8bc
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x1003c93a
jg 0x1003c8cf
test esi, esi
je 0x1003c93a
test eax, eax
jl 0x1003c914
jg 0x1003c8d9
test ebx, ebx
je 0x1003c914
cmp edi, eax
jg 0x1003c8e9
jl 0x1003c8e3
cmp esi, ebx
jae 0x1003c8e9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.100632b0
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 0x1003c917
mov edx, dword [ebp + 8]
test edi, edi
jl 0x1003c93a
jg 0x1003c921
test esi, esi
je 0x1003c93a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1003c93a
push eax
push esi
push 1
push edx
call fcn.1006f5b2
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 0x1003ce40
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 0x1003ce5c
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 0x1003ce8e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1003ce8e
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 0x1003cf63
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1003ceb6
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 0x1003cedf
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1006f633
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 0x1003cf63
cmp eax, 1
jle 0x1003cf36
cmp eax, 3
jne 0x1003cf63
push dword [esi + 0x4c]
movsx eax, byte [ebp - 1]
push eax
call fcn.1006f633
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 0x1003cf53
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006f5b2
add esp, 0x10
cmp edi, eax
jne 0x1003cf63
lea eax, [ebp - 1]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 8], eax
jne 0x1003ce83
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1003d840
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 0x1003d8c1
cmp byte [esi + 0x3d], 0
je 0x1003d8c1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003d88b
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 0x1003d893
sub eax, 1
je 0x1003d897
sub eax, 2
je 0x1003d8c1
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 0x1003d8b4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006f5b2
add esp, 0x10
cmp edi, eax
jne 0x1003d88b
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 0x10040800
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 0x10040873
cmp ecx, eax
jne 0x1004086b
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 0x1004087b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1004087b
cmp ecx, eax
jne 0x1004087b
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.1004bc29
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x10040930
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 0x100409a3
cmp ecx, eax
jne 0x1004099b
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 0x100409ab
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x100409ab
cmp ecx, eax
jne 0x100409ab
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.1004bc29
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x10041d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov edx, dword [0x100ac304]
mov ecx, 0x40
push ebx
push esi
push edi
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x7c], 0x80040
mov dword [ebp - 0x78], 0x120001
mov dword [ebp - 0x74], 0x170004
mov dword [ebp - 0x70], 0x120001
mov dword [ebp - 0x6c], 0x1c0005
mov dword [ebp - 0x68], 0x50004
mov dword [ebp - 0x64], 0x30013
mov dword [ebp - 0x60], 0x90012
mov dword [ebp - 0x5c], 0x140010
mov dword [ebp - 0x58], 0xf0009
mov dword [ebp - 0x54], 0x1c000e
mov dword [ebp - 0x50], 0x390013
mov dword [ebp - 0x4c], 0x340033
mov dword [ebp - 0x48], 0x2d0025
mov dword [ebp - 0x44], 0x3001c
mov dword [ebp - 0x40], 0x2e0025
mov dword [ebp - 0x3c], 0x320034
mov dword [ebp - 0x38], 0x2c0021
mov dword [ebp - 0x34], 0x320010
mov dword [ebp - 0x30], 0x23002f
mov dword [ebp - 0x2c], 0x330025
mov dword [ebp - 0x28], 0x2f0033
mov dword [ebp - 0x24], 0x1c0032
mov dword [ebp - 0x20], 0x70
xor word [ebp + eax*2 - 0x7a], cx
inc eax
cmp eax, 0x2e
jge 0x10041de4
mov cx, word [ebp - 0x7c]
jmp 0x10041dd3
xor eax, eax
mov word [ebp - 0x1e], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x7a]
push eax
push getsockname
call edx
xor eax, eax
mov edi, dword [0x100ac308]
mov word [ebp - 0x1c], ax
xor ebx, ebx
mov eax, 0x7e
lea ecx, [eax - 0x31]
lea edx, [eax - 0x36]
xor cx, bx
lea esi, [eax - 4]
mov word [ebp - 0x18], cx
xor ax, bx
xor dx, bx
mov word [ebp - 0x1a], ax
xor si, bx
xor eax, eax
mov word [ebp - 0x16], dx
mov word [ebp - 0x12], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov word [ebp - 0x14], si
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x1a]
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [0x100ac30c]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10042cc0
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 0x10042eb0
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.10042fa0
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 0x10042f0f
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 0x10042f18
lea edx, [ebp - 0x20]
push edx
push eax
call ecx
cmp eax, 0xffffffff
jne 0x10042f28
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 0x10042f0f
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 0x10042f7c
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 0x10043450
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 0x10042fa0
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 0x10043026
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10042fc6
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 0x10042fe6
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 0x10043030
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 0x1004311a
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jb 0x100430a6
movaps xmm2, xmmword [0x1009cb80]
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 0x10043060
cmp eax, esi
jae 0x100430b9
nop word [eax + eax]
xor byte [eax + edi], 0x24
inc eax
cmp eax, esi
jb 0x100430b0
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.1004bc67
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10043119
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 0x10043110
cmp dword [ebx], 0x43
je 0x10043110
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x10043104
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.1004bc70
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100435d0
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], 0xa0
mov al, 0x91
mov byte [esp + 0x17], 0
mov byte [esp + 0xc], al
mov dl, 0x92
xor al, byte [esp + 0xd]
mov cl, 0x90
xor dl, byte [esp + 0xd]
mov dh, 0x8e
mov byte [esp + 0xe], al
mov ch, dh
mov byte [esp + 0xa], cl
mov ah, 0x97
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 0x100436ee
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100436e9
push 0x190
lea eax, [esp + 0x44]
push 0
push eax
call fcn.10063db0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100436e6
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 0x100436e0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100436d9
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 0x10044ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10086896
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 [0x100ac290]
push dword [esi + 0x14]
call dword [0x100ac29c]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10044ce1
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp + 8]
push 0x10c
call fcn.1004bc37
mov dword [ebp + 8], eax
cmp edi, 3
jne 0x10044d03
push 1
mov dword [ebp - 4], 0
push 4
jmp 0x10044d1e
cmp edi, 7
jne 0x10044d14
push 1
mov dword [ebp - 4], 1
push edi
jmp 0x10044d1e
push 0
mov dword [ebp - 4], 2
push edi
mov ecx, eax
call fcn.10045010
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 0x10044a20
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 0x10048100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086a62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
push edi
push 0x1014ff74
mov di, cx
mov dword [ebp - 0x38], 0x1014ff74
call fcn.1004926f
add esp, 4
test eax, eax
je 0x10048144
push eax
call fcn.10049e2a
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [0x1014ffa4]
mov ecx, dword [0x1014ffa8]
cmp eax, ecx
je 0x10048177
nop word [eax + eax]
cmp di, word [eax]
jne 0x10048170
mov esi, dword [eax + 4]
test esi, esi
jne 0x10048266
add eax, 8
cmp eax, ecx
jne 0x10048160
push 0x104
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.10063db0
movaps xmm0, xmmword [0x1009d450]
add esp, 0xc
movups xmmword [ebp - 0x34], xmm0
xor ecx, ecx
movzx edx, di
movaps xmm0, xmmword [0x1009c960]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1e
jl 0x100481a8
push ebx
push edx
lea eax, [ebp - 0x33]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.1003e750
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x13c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.1003fd10
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1001e730
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.1001fe20
test bl, bl
pop ebx
je 0x10048264
push 0x300
call fcn.1004bc37
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10041130
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x13c]
mov ecx, esi
push eax
call dword [0x100ac16c]
mov ecx, dword [0x1014ffa8]
mov word [ebp - 0x14], di
mov dword [ebp - 0x10], esi
cmp dword [0x1014ffac], ecx
je 0x10048258
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [0x1014ffa8], 8
jmp 0x10048266
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.100482a0
jmp 0x10048266
xor esi, esi
push 0x1014ff74
mov dword [ebp - 4], 5
call fcn.10049294
add esp, 4
test eax, eax
je 0x10048287
push eax
call fcn.10049e2a
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 0x1004e6d4
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 0x10076819
Capabilities:
Read file on windows

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

Function at 0x1007d0e3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007cda3
Function at 0x401430
Capabilities:
Hash data using sha256

Disassembly:
test ecx, ecx
jne 0x40143a
mov eax, 0xffffff53
ret
mov dword [ecx], 0x6a09e667
xor eax, eax
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
ret