joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e130
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577d0e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0xf003f
push 0
mov dword [ebp - 0x38], edi
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x41e19f
push 0xf01ff
push dword [ebp - 0x30]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41e1c3
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x5d62bc
jmp 0x41e28e
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x41e214
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x30]
call esi
xor eax, eax
mov dword [edi], 0
push eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x5d62bc
jmp 0x41e28e
mov esi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [edi], 0
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
push 0x5d62bc
mov word [edi], ax
call fcn.0040e810
add esi, 0xfffffffe
mov dword [ebp - 0x34], 2
cmp esi, 5
ja case.default.0x41e253
jmp dword [esi*4 + 0x41e2b4]
push 4
push str.ck_W_T
jmp 0x41e28e
push 4
push str.ck_WPbk
jmp 0x41e28e
push 3
push 0x5db824
jmp 0x41e28e
push 3
push 0x5db82c
jmp 0x41e28e
push 3
push 0x5db834
jmp 0x41e28e
push 2
push 0x5db83c
mov ecx, edi
call fcn.0040e810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret 8
Function at 0x41ef00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f05
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x41f073
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push dword [ebp + 0xc]
push ecx
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41f092
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 7
push 0x5db8d4
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], eax
call fcn.0040e930
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x12]
nop dword [eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x41ef90
xor eax, eax
mov dword [ebp - 0x70], edx
mov word [ebp - 0x70], ax
mov edx, 7
lea eax, [ebp - 0x12]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
cmp esi, eax
je 0x41efdf
sub eax, esi
lea ecx, [ebp - 0x70]
sar eax, 1
push eax
push esi
call fcn.0040e810
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
cmp edx, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040e930
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41f02d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f099
push edx
push ecx
call fcn.00545dac
add esp, 8
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x44]
mov dword [edi + 0x20], 0
cmp edx, 8
jb 0x41f073
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f099
push edx
push ecx
call fcn.00545dac
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret 8
mov eax, 1
jmp 0x41f075
call fcn.005500e6
int3
Function at 0x41f970
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57806d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
or esi, 0xffffffff
nop dword [eax]
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 8]
mov edx, dword [ebp + 8]
inc esi
mov edi, dword [ebp + 0x18]
cmp ebx, 8
cmovae ecx, edx
cmp esi, edi
jae 0x41f9e2
mov eax, edi
sub eax, esi
lea esi, [ecx + esi*2]
je 0x41f9e2
cmp word [esi], 0x5c
je 0x41fa7a
add esi, 2
sub eax, 1
jne 0x41f9d0
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x41fb1b
cmp edi, esi
mov dword [ebp - 0x28], 0
mov ecx, esi
mov dword [ebp - 0x18], 0
cmovb ecx, edi
mov dword [ebp - 0x14], 7
cmp ebx, 8
lea eax, [ebp + 8]
push ecx
cmovae eax, edx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040e810
or dword [ebp - 0x2c], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fa83
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41f9b0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fa6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb70
push edx
push ecx
call fcn.00545dac
add esp, 8
jmp 0x41f9b0
sub esi, ecx
sar esi, 1
jmp 0x41f9e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x41fade
cmp edx, 8
jb 0x41f9b0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41facf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb70
push edx
push ecx
call fcn.00545dac
add esp, 8
jmp 0x41f9b0
cmp edx, 8
jb 0x41fb11
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fb07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb70
push edx
push ecx
call fcn.00545dac
add esp, 8
mov ebx, dword [ebp + 0x1c]
xor esi, esi
mov edx, dword [ebp + 8]
jmp 0x41fb20
mov esi, 1
cmp ebx, 8
jb 0x41fb50
lea ebx, [ebx*2 + 2]
mov eax, edx
cmp ebx, 0x1000
jb 0x41fb46
mov edx, dword [edx - 4]
add ebx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb75
push ebx
push edx
call fcn.00545dac
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret 0x18
call fcn.005500e6
call fcn.005500e6
int3
Function at 0x420d40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x420e4b
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x420d65
sub edi, ecx
sar edi, 1
cmp edi, 0x104
jge 0x420e4b
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00549a70
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x420da0
add edi, edi
cmp edi, 0x20a
jae 0x420e5f
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x420e5f
mov word [ebp + edi - 0x210], ax
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x216], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x228], eax
mov eax, 0x414
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x420e4b
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00545b6c
mov esp, ebp
pop ebp
ret 8
call fcn.00545ca1
int3
Function at 0x425360
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42538e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
sete bl
jmp 0x425393
mov ebx, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4253c9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4253bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4253d0
push edx
push ecx
call fcn.00545dac
add esp, 8
mov eax, ebx
pop ebx
pop ebp
ret 0x18
call fcn.005500e6
int3
Function at 0x42af80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578e2d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f1464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ebx, [esi + 8]
mov dword [esi], 0
lea edi, [esi + 0xc]
mov dword [ebx], 0
push 0
mov dword [edi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esi], eax
test eax, eax
js 0x42b00b
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esi], eax
test eax, eax
jns 0x42b026
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
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
push ebx
push 0x5bf850
push 1
push 0
push 0x5bf840
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi], eax
test eax, eax
jns 0x42b04d
mov dword [esi + 4], 0
jmp 0x42b121
push 0x5dbf80
lea ecx, [ebp - 0x10]
call fcn.004071d0
mov dword [ebp - 4], 0
mov edx, dword [eax]
test edx, edx
je 0x42b06b
mov edx, dword [edx]
jmp 0x42b06d
xor edx, edx
mov eax, dword [ebx]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x10]
mov dword [esi], eax
test edi, edi
je 0x42b0de
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x42b0d7
test edi, edi
je 0x42b0d7
mov eax, dword [edi]
test eax, eax
je 0x42b0b5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42b0cc
push eax
call fcn.00545b7a
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00545dac
add esp, 8
mov dword [ebp - 0x10], 0
cmp dword [esi], 0
jge 0x42b0ec
mov dword [esi + 4], 0
jmp 0x42b119
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [esi], eax
test eax, eax
jns 0x42b127
mov eax, dword [esi + 0xc]
mov dword [esi + 4], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
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
Function at 0x42ba00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5f6cb8], 0
jne 0x42ba8c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42ba52
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ba38
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, 0x5f6ca8
call fcn.00406440
jmp 0x42ba72
cmp dword [0x5f6cbc], 0x10
mov eax, 0x5f6ca8
mov dword [0x5f6cb8], 0
cmovae eax, dword [0x5f6ca8]
mov byte [eax], 0
cmp dword [0x5f6cb8], 0
jne 0x42ba8c
push 9
push str._unknown_
mov ecx, 0x5f6ca8
call fcn.00406440
mov ecx, dword [ebp - 4]
mov eax, 0x5f6ca8
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret

Function at 0x42bbc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f6ca5], 0
push esi
push edi
mov edi, edx
je 0x42bcae
cmp byte [0x60a0ea], 0
je 0x42bcae
xor esi, esi
cmp ecx, 3
ja case.default.0x42bbf5
jmp dword [ecx*4 + 0x42bcd4]
xor esi, esi
jmp case.default.0x42bbf5
mov esi, 3
jmp case.default.0x42bbf5
mov esi, 1
test esi, esi
je 0x42bcae
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.0055093d
push eax
call fcn.00550590
add esp, 8
sub esi, 1
je 0x42bc65
sub esi, 1
je 0x42bc5e
sub esi, 1
je 0x42bc57
mov eax, 8
jmp 0x42bc6a
mov eax, 0xe
jmp 0x42bc6a
mov eax, 0xa
jmp 0x42bc6a
mov eax, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push ebx
call esi
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
push 2
call fcn.0055093d
push eax
call fcn.00550590
add esp, 0x1c
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
Function at 0x42bbfc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f6ca5], 0
push esi
push edi
mov edi, edx
je 0x42bcae
cmp byte [0x60a0ea], 0
je 0x42bcae
xor esi, esi
cmp ecx, 3
ja case.default.0x42bbf5
jmp dword [ecx*4 + 0x42bcd4]
xor esi, esi
jmp case.default.0x42bbf5
mov esi, 3
jmp case.default.0x42bbf5
mov esi, 1
test esi, esi
je 0x42bcae
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.0055093d
push eax
call fcn.00550590
add esp, 8
sub esi, 1
je 0x42bc65
sub esi, 1
je 0x42bc5e
sub esi, 1
je 0x42bc57
mov eax, 8
jmp 0x42bc6a
mov eax, 0xe
jmp 0x42bc6a
mov eax, 0xa
jmp 0x42bc6a
mov eax, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push ebx
call esi
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
push 2
call fcn.0055093d
push eax
call fcn.00550590
add esp, 0x1c
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
call fcn.00545b6c
mov esp, ebp
pop ebp
ret

Function at 0x42bc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f6ca5], 0
push esi
push edi
mov edi, edx
je 0x42bcae
cmp byte [0x60a0ea], 0
je 0x42bcae
xor esi, esi
cmp ecx, 3
ja case.default.0x42bbf5
jmp dword [ecx*4 + 0x42bcd4]
xor esi, esi
jmp case.default.0x42bbf5
mov esi, 3
jmp case.default.0x42bbf5
mov esi, 1
test esi, esi
je 0x42bcae
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.0055093d
push eax
call fcn.00550590
add esp, 8
sub esi, 1
je 0x42bc65
sub esi, 1
je 0x42bc5e
sub esi, 1
je 0x42bc57
mov eax, 8
jmp 0x42bc6a
mov eax, 0xe
jmp 0x42bc6a
mov eax, 0xa
jmp 0x42bc6a
mov eax, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push ebx
call esi
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
push 2
call fcn.0055093d
push eax
call fcn.00550590
add esp, 0x1c
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
Function at 0x42bc07
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f6ca5], 0
push esi
push edi
mov edi, edx
je 0x42bcae
cmp byte [0x60a0ea], 0
je 0x42bcae
xor esi, esi
cmp ecx, 3
ja case.default.0x42bbf5
jmp dword [ecx*4 + 0x42bcd4]
xor esi, esi
jmp case.default.0x42bbf5
mov esi, 3
jmp case.default.0x42bbf5
mov esi, 1
test esi, esi
je 0x42bcae
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.0055093d
push eax
call fcn.00550590
add esp, 8
sub esi, 1
je 0x42bc65
sub esi, 1
je 0x42bc5e
sub esi, 1
je 0x42bc57
mov eax, 8
jmp 0x42bc6a
mov eax, 0xe
jmp 0x42bc6a
mov eax, 0xa
jmp 0x42bc6a
mov eax, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push ebx
call esi
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
push 2
call fcn.0055093d
push eax
call fcn.00550590
add esp, 0x1c
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
push 2
call fcn.0055093d
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00550c4e
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
Function at 0x4307c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579486
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x60a164]
test eax, eax
jne 0x430a53
push 0xc
call fcn.00545d7c
add esp, 4
mov dword [0x60a164], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
cmp dword [0x5fb35c], 0
je 0x4308e0
cmp dword [0x5fb360], 0x10
mov edx, 0x5fb34c
mov dword [ebp - 0x12c], 0
cmovae edx, dword [0x5fb34c]
mov ecx, edx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430866
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x12c]
call fcn.00406440
mov dword [ebp - 4], 0
mov eax, dword [0x60a164]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x430a27
lea edx, [ebp - 0x12c]
push edx
push ecx
mov ecx, eax
call fcn.00431eb0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x430a4e
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430a44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a6d
jmp 0x430a44
call fcn.00430500
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4309d8
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430930
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00406440
mov dword [ebp - 4], 1
mov ecx, dword [0x60a164]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x43098a
movups xmm0, xmmword [ebp - 0x12c]
mov edx, 0xf
mov byte [ebp - 0x12c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x43099d
lea edx, [ebp - 0x12c]
push edx
push eax
call fcn.00431eb0
mov edx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4309d8
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4309ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a6d
push edx
push ecx
call fcn.00545dac
add esp, 8
push 2
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push 0x5dc4c8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.00406440
mov dword [ebp - 4], 2
mov eax, dword [0x60a164]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x430894
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [ecx + 0x10], xmm0
add dword [eax + 4], 0x18
jmp 0x430a53
push edx
push ecx
call fcn.00545dac
add esp, 8
mov eax, dword [0x60a164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
call fcn.005500e6
int3
Function at 0x43b2b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43b300
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43b2fa
shr eax, 8
cmp al, 2
jne 0x43b2fa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
Function at 0x442a00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x442a49
mov al, byte [esi]
push eax
call fcn.00451540
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x442a27
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x443da0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x443dbe
cmp dword [esi + 0x6c], 0
je 0x443dbe
push 2
push 3
push esi
call fcn.00451ae0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00451f50
add esp, 4
test esi, esi
je 0x443dde
cmp dword [esi + 0x6c], 0
je 0x443dde
push 3
push esi
call fcn.00451b20
add esp, 8
pop esi
pop ebp
ret

Function at 0x444980
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d0], 2
jne 0x444995
pop ebp
jmp fcn.00444930
mov al, 1
pop ebp
ret