joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x100000
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jbe 0x411d8b
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0
je 0x411db9
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
cmp dword [ebp - 0xc], 0
jne 0x411dce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x411dce
xor eax, eax
jmp 0x411deb
cmp dword [ebp - 0xc], 0
je 0x411dda
mov byte [ebp - 1], 1
jmp 0x411dde
mov byte [ebp - 1], 0
movzx ecx, byte [ebp - 1]
push ecx
call fcn.00411c40
add esp, 4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x412020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x412035
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0x10], 0
jbe 0x41209c
mov dword [ebp - 8], 0x8000
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jbe 0x412057
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x14], 0
je 0x41209c
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 0x10], 0
je 0x4120a8
mov byte [ebp - 1], 1
jmp 0x4120ac
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
push edx
call fcn.00411c40
add esp, 4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x420890
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4208a9
mov al, 1
jmp 0x4208ab
xor al, al
pop ebp
ret

Function at 0x420c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00420890
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x420c7c
xor al, al
jmp 0x420c90
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x420c8e
mov al, 1
jmp 0x420c90
xor al, al
pop ebp
ret
Function at 0x420fe0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x421010
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x421010
xor al, al
jmp 0x42102d
xor edx, edx
mov eax, dword [ebp - 0xc]
mov cl, 0x20
call fcn.0051e650
xor ecx, ecx
add eax, dword [ebp - 4]
adc edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x421180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
call fcn.004207d0
add esp, 4
mov byte [ebp - 1], al
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4212a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5978e4]
jbe 0x4212bd
mov ecx, dword [0x5978e4]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.004207d0
add esp, 4
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x421300
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push eax
call fcn.004207d0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x421800
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x421818
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x42186b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x421839
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x42185c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x421830
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x5a0700], eax
jmp 0x42180f
jmp 0x421876
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x4218ae
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x5a0300]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x5a0700]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x5a0700], edx
jmp 0x42186d
mov dword [0x59d440], fcn.004218d0
call fcn.00424070
test eax, eax
jne 0x4218cb
mov dword [0x59d440], 0x4219e0
mov esp, ebp
pop ebp
ret
Function at 0x421cd0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
shr ecx, 2
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
shr edx, 1
add edx, 3
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0xc]
add edx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x421d28
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jae 0x421d40
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
jmp 0x421d16
jmp 0x421d4b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x18]
jae 0x421e63
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4 - 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x421de0
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
movzx ecx, byte [edx + str.cw]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 8]
movzx edx, byte [eax + 0x5978ec]
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 8], ecx
jmp 0x421e46
cmp dword [ebp + 8], 6
jbe 0x421e46
cmp dword [ebp - 0x14], 4
jne 0x421e46
mov eax, dword [ebp - 8]
and eax, 0xff
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 8]
shr edx, 0x18
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 0x18
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
jmp 0x421d42
mov esp, ebp
pop ebp
ret 4
Function at 0x426f50
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x6a09e667
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xbb67ae85
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x3c6ef372
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xa54ff53a
mov edx, 4
shl edx, 2
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x510e527f
mov ecx, 4
imul ecx, ecx, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x9b05688c
mov eax, 4
imul eax, eax, 6
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x1f83d9ab
mov edx, 4
imul edx, edx, 7
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x5be0cd19
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
pop ebp
ret

Function at 0x427610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.004fed04
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00427590
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x427980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4279a4
xor eax, eax
jmp 0x427a24
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4279bb
xor eax, eax
jmp 0x427a24
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x427a07
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x427a07
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4279de
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x427a13
xor eax, eax
jmp 0x427a24
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x427a21
xor eax, eax
jmp 0x427a24
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4282f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push eax
call fcn.00428280
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x428319
cmp dword [ebp + 0x10], 0
je 0x428319
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x14]
jbe 0x428320
xor al, al
jmp 0x42849d
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x428457
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x428359
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x428360
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x428385
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x42838c
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4283b1
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4283b8
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
shl eax, 0x10
mov ecx, dword [ebp - 0x28]
shl ecx, 8
add eax, dword [ebp - 0x2c]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 6
and ecx, 0x3f
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 8]
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0
and edx, 0x3f
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x42832e
mov dword [ebp - 0x10], 0
jmp 0x428469
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 3
div ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx*4 + 0x57825c]
jge 0x428493
mov ecx, dword [ebp - 0x14]
sub ecx, 1
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov byte [edx + ecx], 0x3d
jmp 0x428460
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42b560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.0042a230
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0x561dfc
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042a490
add esp, 0x10
push 0x561dd8
lea ecx, [ebp - 0x14]
call fcn.00428940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0042a230
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00428a40
push 4
call fcn.004fe0d3
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x42b656
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00428920
mov dword [ebp - 0x1c], eax
jmp 0x42b65d
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x42b490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x42b734
push str.Failed_to_create_thread
lea ecx, [ebp - 0x24]
call fcn.004289c0
mov byte [ebp - 4], 5
push str.SendToPixelServer
lea ecx, [ebp - 0x20]
call fcn.00428940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.0042a230
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 8
push 2
mov ecx, dword [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00428a40
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00428a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.00402a70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42f6af
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x42f6af
mov dword [ebp - 8], 1
jmp 0x42f6b6
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x430120
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43014a
xor eax, eax
jmp 0x43016a
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x436ae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x437d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x437d39
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x437d7c
mov eax, dword [ebp - 8]
jmp 0x437de2
cmp dword [ebp - 0xc], 1
je 0x437d8f
cmp dword [ebp - 0xc], 2
je 0x437d8f
mov eax, 0xd
jmp 0x437de2
cmp dword [ebp + 0xc], 0
je 0x437dd6
cmp dword [ebp - 4], 0
je 0x437dc5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x437dbc
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x437dc3
mov eax, 0xd
jmp 0x437de2
jmp 0x437dd6
mov edx, 2
imul edx, edx, 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx + edx], ax
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x437ee0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521ab8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00402a70
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x437f4e
mov byte [ebp - 4], 0
jmp 0x437fd9
mov eax, dword [ebp - 0x18]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe866
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00402a70
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x437fa5
mov byte [ebp - 4], 0
jmp 0x437fd9
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00428d50
jmp 0x437fbd
mov dword [ebp - 4], 0
jmp 0x437fcd
mov byte [ebp - 0x11], 1
xor edx, edx
jne 0x437f25
cmp dword [ebp - 0x1c], 0
je 0x437ff8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004fe861
add esp, 4
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x12], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00428a40
mov al, byte [ebp - 0x12]
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 0x4385e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5219e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.00402a70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x438651
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00428a40
mov al, byte [ebp - 0xd]
jmp 0x438715
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], 0
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x438696
push 0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp + 0xc]
call fcn.00429940
shl eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.00402a70
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4386e1
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004388d0
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00429940
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00439380
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00428a40
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00428a40
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret