joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fd9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x5fda20
mov byte [edi + esi], 2
jmp 0x5fda57
test al, 4
je 0x5fda2a
mov byte [edi + esi], 0xd
jmp 0x5fda57
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x5fda43
mov byte [edi + esi], 2
jmp 0x5fda57
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x5fda53
mov byte [edi + esi], 0x19
jmp 0x5fda57
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x5fda07
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x5fdacb
cmp dl, 0xd
je 0x5fdacb
xor edx, edx
jmp 0x5fdad0
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x5fdabb
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x5fdaf0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.005fc3b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5fdb11
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.005ff130
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x5fdb36
push esi
call fcn.005fc440
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.0061e3ac
push ebx
push edi
mov ebp, eax
call fcn.005ff1a0
push 0x5fdb70
push ebp
push esi
call fcn.006004d0
push esi
call fcn.005fc440
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x5fee60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0xadf6a0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xadf5c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x5feedb
push 0x4c
push 1
call fcn.00613bd5
mov esi, eax
add esp, 8
test esi, esi
jne 0x5feea3
push 0xadf6a0
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0xadf5c0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0xad0ee0]
inc eax
lea edx, [esi + 0xc]
mov dword [0xad0ee0], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.00602990
add esp, 8
mov byte [esi + 0x3c], 1
push 0xadf6a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x5ff360
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.006137ad
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.0061e3ac
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x5ff45a
call fcn.006137ad
cmp dword [eax], 0
je 0x5ff3a7
call fcn.006137ad
mov ebp, dword [eax]
jmp 0x5ff3aa
or ebp, 0xffffffff
call fcn.005feef0
test esi, esi
mov dword [eax], ebp
jne 0x5ff3bf
call fcn.006137ad
cmp dword [eax], 4
je 0x5ff40f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x5ff3f2
cmp esi, 0xffffffff
je 0x5ff434
test al, 6
je 0x5ff3f2
call fcn.005feef0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.006029c0
add esp, 4
push eax
push 0x24
push 9
call fcn.005ff740
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x5ff452
test al, 6
je 0x5ff400
test ah, 2
je 0x5ff452
test esi, esi
jbe 0x5ff45e
test ah, 2
je 0x5ff45e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.006137ad
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.0061e3ac
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x5ff45a
jmp 0x5ff394
call fcn.005feef0
mov eax, dword [eax]
push eax
push ebx
call fcn.006029c0
add esp, 4
push eax
push 0x24
push 2
call fcn.005ff740
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x5ff46b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x5ff474
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x615dd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0061373a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x615df7
test byte [esp + 8], 2
je 0x615df7
call fcn.006137ad
mov dword [eax], 0xd
call fcn.006137b6
mov dword [eax], 5
jmp 0x615dd0
xor eax, eax
ret
Function at 0x629b89
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x629bc1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00627b9b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00627b73
jmp 0x629bcd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x62b506
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x62b548
call fcn.00631c05
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x62b548
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x62b53f
xor eax, eax
jmp 0x62b550
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0062b556
pop edi
pop esi
pop ebx
ret 4

Function at 0x632135
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x632163
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x632181
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0063209b
jmp 0x632181
mov eax, dword [esi + 0x14]
test eax, eax
je 0x632181
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0063209b
test edi, edi
mov eax, edi
jne 0x63216b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6349e6
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x634a0e
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x634a1f
push 2
call edi
test ax, ax
jge 0x634a1f
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.006291be
cmp dword [esi + 0x30], ebx
jne 0x634af9
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.006291be
cmp eax, dword [esp + 0x34]
jne 0x634af9
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x634a95
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x634ada
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x634af9
cmp eax, 0x205
je 0x634af9
cmp eax, 0x201
je 0x634af9
cmp eax, 0x204
je 0x634af9
cmp eax, ebx
jne 0x634ac0
cmp dword [esp + 0x1c], 0x1b
je 0x634af9
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0xadb398]
jbe 0x634aef
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x634a52
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x130b826
Capabilities:
Encode data using xor

Disassembly:
dec eax
mov eax, esp
push ebx
dec eax
sub esp, 0x10
movups xmm0, xmmword [ecx]
dec eax
mov dword [eax + 0x10], edx
mov ecx, edx
inc esp
mov eax, dword [eax + 0x14]
inc ebp
xor edx, edx
movups xmmword [esp], xmm0
mov edx, dword [eax - 0xc]
inc esp
mov ebx, dword [eax - 0x10]
mov ebx, dword [eax - 0x14]
inc esp
mov ecx, dword [esp]
mov eax, edx
ror ecx, 8
inc ecx
add ecx, eax
mov edx, ebx
inc ecx
xor ecx, ecx
ror edx, 8
inc ecx
add edx, ecx
inc ecx
rol eax, 3
inc ecx
xor edx, edx
inc ecx
rol ecx, 3
inc esp
xor ecx, edx
inc esp
xor eax, ecx
inc ecx
inc edx
inc ecx
mov ebx, ebx
inc esp
mov ebx, eax
inc ecx
cmp edx, 0x1b
jb 0x130b850
mov dword [esp + 0x28], ecx
inc esp
mov dword [esp + 0x2c], eax
dec eax
mov eax, dword [esp + 0x28]
dec eax
add esp, 0x10
pop ebx
ret

Function at 0x130b89a
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
inc ebp
test ecx, ecx
je 0x130b9e7
dec eax
mov eax, esp
dec eax
mov dword [eax + 8], ebx
dec eax
mov dword [eax + 0x10], esi
dec eax
mov dword [eax + 0x18], edi
dec esp
mov dword [eax + 0x20], edi
push ebp
dec eax
mov ebp, esp
dec eax
sub esp, 0x10
dec esp
mov ebx, ecx
dec eax
lea eax, [ebp - 0x10]
dec esp
sub ebx, eax
dec eax
lea esi, [edx + 0xf]
dec ecx
mov ebx, eax
inc ecx
mov edi, 0x10
dec eax
lea eax, [ebp - 0x10]
dec eax
cmp eax, esi
ja 0x130b8f1
dec eax
lea eax, [ebp - 1]
dec eax
cmp eax, edx
jb 0x130b8f1
movups xmm0, xmmword [edx]
movdqu xmmword [ebp - 0x10], xmm0
jmp 0x130b8f9
movups xmm0, xmmword [edx]
movdqu xmmword [ebp - 0x10], xmm0
dec eax
lea ecx, [ebp - 0x10]
inc ecx
mov eax, 4
inc ecx
mov eax, dword [ebx + ecx]
xor dword [ecx], eax
dec eax
lea ecx, [ecx + 4]
dec ecx
sub eax, 1
jne 0x130b903
inc esp
mov eax, dword [ebp - 4]
dec ecx
mov edi, edi
mov eax, dword [ebp - 8]
inc esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc ecx
add ecx, edx
inc ecx
add eax, eax
inc ecx
rol edx, 5
inc esp
xor edx, ecx
inc ecx
rol eax, 8
inc esp
xor eax, eax
rol ecx, 0x10
inc ecx
add eax, edx
inc ecx
add ecx, eax
inc ecx
rol edx, 7
inc ecx
rol eax, 0xd
inc esp
xor edx, eax
inc esp
xor eax, ecx
rol eax, 0x10
dec eax
sub edi, 1
jne 0x130b924
inc esp
mov dword [ebp - 4], eax
inc esp
lea eax, [edi + 4]
mov dword [ebp - 0x10], ecx
dec eax
lea ecx, [ebp - 0x10]
inc esp
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
inc edx
mov eax, dword [ecx + ebx]
xor dword [ecx], eax
dec eax
lea ecx, [ecx + 4]
dec ecx
sub eax, 1
jne 0x130b96e
inc ebp
cmp ecx, edi
inc ecx
mov ecx, ecx
inc ecx
cmova ecx, edi
test ecx, ecx
je 0x130b9a8
dec esp
lea edx, [ebp - 0x10]
mov edi, ecx
dec esp
sub edx, ebx
dec esp
mov eax, ebx
inc ebx
mov al, byte [edx + eax]
inc ecx
xor byte [eax], al
dec ecx
inc eax
dec eax
sub edi, 1
jne 0x130b998
inc esp
sub ecx, ecx
mov eax, ecx
dec eax
add ebx, eax
inc ebp
mov eax, edi
inc ecx
lea eax, [eax - 1]
add byte [eax + edx], 1
jne 0x130b9c5
inc ecx
dec eax
inc ebp
test eax, eax
jg 0x130b9b3
inc ebp
test ecx, ecx
jne 0x130b8d5
dec eax
mov ebx, dword [esp + 0x20]
dec eax
mov esi, dword [esp + 0x28]
dec eax
mov edi, dword [esp + 0x30]
dec esp
mov edi, dword [esp + 0x38]
dec eax
add esp, 0x10
pop ebp
ret
Function at 0x4060c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c9c3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [0x42e098]
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00406020
mov edi, eax
mov dword [ebp - 4], 0
call dword [0x42e098]
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00405e50
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0040d6c0
push 0x439a8c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040d830
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040d9f0
push 0x439a80
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040d830
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00403040
lea ecx, [ebp - 0x58]
call fcn.00403040
lea ecx, [ebp - 0x70]
call fcn.00403040
lea ecx, [ebp - 0x88]
call fcn.00403040
lea ecx, [ebp - 0xa0]
call fcn.00403040
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403000
push eax
push 0x439ab0
push 0
push 0
call dword [0x42e1e4]
push 0
call fcn.00418c60
int3
Function at 0x40c440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cf9f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43d054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0
mov dword [ebx], 0x439c30
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], str.F_
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x439cf4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0040d3b0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x439c24
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov ecx, esi
call fcn.0040d2e0
lea eax, [ebx + 4]
lea ebx, [eax + 4]
mov dword [eax], 0x439be4
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea esi, [eax + 8]
mov byte [eax + 0x48], 0
lea edi, [eax + 0x14]
mov byte [eax + 0x3d], 0
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x450d3c]
mov dword [eax], 0
mov eax, dword [0x450d38]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x18]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 3
cmp dword [ebx + 0x4c], 0
jne 0x40c615
push 0x40
push 2
push dword [ebp - 0x1c]
call fcn.0040f5e4
add esp, 0xc
test eax, eax
je 0x40c615
push 1
push eax
mov ecx, ebx
call fcn.0040d160
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.0040daa0
add esp, 4
mov ecx, ebx
push eax
call fcn.0040d000
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40c5fe
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40c5fe
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x10]
push 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00404f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c6c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x16], 0
je 0x40c6ea
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x17
jb 0x40c6e0
mov eax, ecx
ret

Function at 0x40c6f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1d], 0
je 0x40c71a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1e
jb 0x40c710
mov eax, ecx
ret

Function at 0x40c780
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xe], 0
je 0x40c792
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xf
jb 0x40c788
mov eax, ecx
ret

Function at 0x40c840
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x11], 0
je 0x40c86a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x12
jb 0x40c860
mov eax, ecx
ret

Function at 0x40c8a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xb], 0
je 0x40c8b2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xc
jb 0x40c8a8
mov eax, ecx
ret

Function at 0x40d090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40d14a
cmp byte [esi + 0x3d], 0
je 0x40d14a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40d138
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40d100
sub eax, 1
je 0x40d104
sub eax, 2
jne 0x40d138
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fb6f
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40d121
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004195bb
add esp, 0x10
cmp edi, eax
jne 0x40d138
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fb6f
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fb6f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040fb6f
mov esp, ebp
pop ebp
ret
Function at 0x40d2e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d000
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43d054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x439b84
call fcn.0040fd80
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040f236
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420db3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00420c29
Function at 0x6bac1440
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0x6bb103c0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ebx, eax
dec eax
sub esp, 0x20
cmp eax, 0xfffffffd
ja 0x6bac14fd
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push edx
push edx
test eax, eax
je 0x6bac14fd
test esi, esi
jle 0x6bac14e8
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x6bac14f4
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
jmp 0x6bac14fd
mov eax, dword [ebp - 0x1c]
add edi, eax
sub esi, eax
jmp 0x6bac14bd
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac1524
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], 0x6bb103c0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
sub esp, 0x1c
xor eax, eax
cmp ebx, 0xffffffff
je 0x6bac15c8
test esi, esi
jle 0x6bac15ae
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x6bac15bf
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov eax, 1
jmp 0x6bac15c8
mov eax, dword [ebp - 0x1c]
add edi, eax
sub esi, eax
jmp 0x6bac1583
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac1629
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [esp + 0x28], 0x5c
div ecx
mov dword [esp + 0x24], 0x65
mov dword [esp + 0x20], 0x70
mov dword [esp + 0x1c], 0x69
mov dword [esp + 0x18], 0x70
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0x5c
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str._c_c_c_c_c_c_c_c_cMSSE__d_server
mov dword [esp], 0x6bb103c0
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6bac1505
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], 0
sub esp, 0x18
leave
jmp fcn.6bac15d0