joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a92f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x8c
mov eax, dword [0x5700c4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
mov ebp, dword [esp + 0x98]
lea eax, [esp + 8]
push esi
push edi
push eax
mov edi, dword [ebp + 0x4c8]
lea eax, [esp + 0x1c]
mov ebx, dword [ebp]
push eax
mov dword [esp + 0x18], 0x80
mov eax, dword [edi + 0x154]
push 0
add eax, 4
push eax
push dword [edi + 0x15c]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x148], 0
mov dword [edi + 0x14c], eax
jne 0x4a9376
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0xc8]
push eax
call fcn.004e7650
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x148], eax
mov esi, dword [edi + 0x14c]
cmp esi, 4
jge 0x4a93b1
push str.Received_too_short_packet
push ebx
call fcn.004946e0
add esp, 8
mov dword [edi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5245
add esp, 0x8c
ret
mov edx, dword [edi + 0x15c]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov dword [edi + 0xc], ecx
add ecx, 0xfffffffd
cmp ecx, 3
ja case.default.0x4a93d2
jmp dword [ecx*4 + 0x4a94e4]
cmp esi, 4
jle case.0x4a93d2.4
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x40]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x4a93d2.4
lea eax, [esi - 4]
push eax
lea eax, [edx + 4]
push eax
push 1
push ebp
call fcn.00494620
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a942a
push 5
push edi
call fcn.004a9eb0
add esp, 8
mov eax, esi
jmp 0x4a9398
mov eax, dword [edi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x98], eax
adc dword [ebx + 0x9c], edx
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
call fcn.004b56c0
jmp 0x4a94ba
movzx ecx, byte [edx + 2]
lea eax, [edx + 4]
mov dword [esp + 0x14], eax
add esi, 0xfffffffc
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx + 4]
push esi
push eax
mov dword [edi + 8], ecx
call fcn.004a8fd0
add esp, 8
cmp eax, esi
jae case.0x4a93d2.4
push dword [esp + 0x14]
push str.TFTP_error:__s_n
push ebx
call fcn.004947c0
jmp 0x4a94ba
lea eax, [esi - 2]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.004a9080
add esp, 0xc
test eax, eax
je case.0x4a93d2.4
jmp 0x4a9398
push str.Internal_error:_Unexpected_packet
push 0x529694
push ebx
call fcn.004946e0
add esp, 0xc
push ebp
call fcn.004b5a90
add esp, 4
test eax, eax
je 0x4a9396
push 5
push edi
call fcn.004a9eb0
add esp, 8
mov eax, 0x2a
jmp 0x4a9398
Function at 0x4ab200
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.004e5d20
mov eax, dword [0x5700c4]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push eax
call fcn.004fb820
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x4ab270
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x4ab270
push str.Y:_vcpkg_buildtreescurl_srcurl_7_68_0_cd669cc759libgetenv.c
lea eax, [esp + 4]
push 0x2b
push eax
call fcn.004944c0
add esp, 0xc
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004e5245
add esp, 0x1004
ret
mov ecx, dword [esp + 0x1000]
xor eax, eax
xor ecx, esp
call fcn.004e5245
add esp, 0x1004
ret
Function at 0x4cf6f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
push str.Y:_vcpkg_buildtreescurl_srcurl_7_68_0_cd669cc759libhmac.c
push 0x3f
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call fcn.004940f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4cf71d
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x4cf768
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x4cf76c
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4cf7d1
mov dword [esp + 0x10], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x4cf790
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4cf7fd
mov eax, dword [esi + 4]
push 1
push 0x5344ab
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x5344ac
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4cf7d6
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4d2451
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52551d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5700c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 0x4d1dfe
push edi
push str.SetFileInformationByHandle
push str.kernel32.dll
push 0x5746e0
call fcn.004d1dc6
mov esi, eax
cmp esi, edi
jne 0x4d24fa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4d24b4
mov byte [ebp - 0x20], 1
xor edx, edx
mov eax, dword [ebp - 0x20]
jmp 0x4d25aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10b
jne 0x4d24d4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4d24a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004057e0
movzx edx, al
mov eax, dword [ebp - 0x18]
neg edx
pop ecx
sbb edx, edx
not edx
and edx, esi
jmp 0x4d25aa
push 0x2200000
push 0x10000
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004d241d
mov ebx, eax
test ebx, ebx
je 0x4d252e
push ebx
mov byte [ebp - 0x28], 0
call fcn.004057e0
movzx edi, al
neg edi
pop ecx
sbb edi, edi
not edi
and edi, ebx
jmp 0x4d259b
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
push 0x15
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x527758]
call esi
test eax, eax
je 0x4d2556
mov byte [ebp - 0x28], 1
xor edi, edi
jmp 0x4d259b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 1
je 0x4d2573
sub ecx, 0x31
je 0x4d2573
sub ecx, 0x25
je 0x4d2573
mov byte [ebp - 0x28], 0
jmp 0x4d2599
push 1
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 1
push eax
push 4
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x527758]
call esi
test eax, eax
jne 0x4d254e
mov byte [ebp - 0x28], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
call fcn.004d1e0b
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x507ba8
Capabilities:
Read file on windows

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

Function at 0x50c0d7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050bc2a
Function at 0x5e67e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x5e6805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x5e6878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x5e683a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x5e686d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x5e686b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x5e6831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5e67fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40611c
pop dword [ebp - 0x14]
mov eax, 0x54507ba7
sub eax, 0x54101a8b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xcca1611a
add dword [ebp - 0x24], 0x81b0e431
mov dword [ebp - 0x20], 0x79fc3a80
sub dword [ebp - 0x20], 0x47c8ee3b
mov dword [ebp - 0x1c], 0x324030ee
add dword [ebp - 0x1c], 0x1a0c1340
mov dword [ebp - 0x18], 0x412ccf3d
add dword [ebp - 0x18], 0xbed330c3
lea eax, [ebp - 0x24]
push eax
mov eax, 0x2f00b48f
sub eax, 0x2ec0442f
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x3d64067a
add dword [ebp - 0x24], 0x370e62dc
mov dword [ebp - 0x20], 0x5c121782
sub dword [ebp - 0x20], 0x1aa5b60d
mov dword [ebp - 0x1c], 0x9ab79a2c
add dword [ebp - 0x1c], 0xc8b7d240
mov dword [ebp - 0x18], 0x81c5e993
sub dword [ebp - 0x18], 0x81c5e993
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x349a7
push 0
call eax
mov ecx, 0x8623eb5d
add ecx, 0x79dc549e
mov ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x14]
mov edi, 0xc7ff3a5b
add edi, 0xeb748f1d
xor dword [ebp - 0x10], 0x4b3d1bca
mov esi, dword [edx]
sub esi, edi
xor dword [ebp - 4], 0x9671d18a
mov dword [ebx], esi
add dword [ebp - 0x10], 0xf3aee40e
add ebx, 0x6c6cab71
sub ebx, 0x6c6cab6d
add edx, 0x2c4a5e63
add edx, 0xd3b5a1a1
loop 0x406233
add eax, 0x58a7a56d
sub eax, 0x58a6b2ae
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x904a8a15
sub ecx, 0x900a8a15
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x10001790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [edi]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.1000157c
add dl, ah
fldenv [edi + 0x6478b66]
cmp ax, bx
jbe 0x100017d6
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100017d0
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x100017c1
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1000157c
daa
mov bl, 0xe4
lea eax, es:[ebp - 0x58]
push eax
call fcn.1000158c
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10001541
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000186a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000157c
mov word [ecx], ds
lodsb al, byte [esi]
sbb al, 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x10001c00
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10001c30
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10001c2b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10001c15
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10001c1d
cmp edx, ebx
jne 0x10001d6b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10001bec
add eax, dword [eax + 4]
jmp 0x10001bd9
mov dword [ebp + 0xc], ebx
jmp 0x10001c3b
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10001c53
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10001c71
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10001ccf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10001cb6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10001cbf
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10001cc9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10001cab
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10001c35
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10001d1c
dec eax
je 0x10001d13
sub eax, 3
je 0x10001d0a
mov dword [ebp - 4], 0x40
jmp 0x10001d39
mov dword [ebp - 4], 4
jmp 0x10001d1f
mov dword [ebp - 4], 0x20
jmp 0x10001d1f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10001d6b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10001ceb
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000157c
sub eax, 0xfffee99a
jne 0x10001d76
push 1
push esi
call edi
mov eax, esi
jmp 0x10001d77
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1000158c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10001541
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3

Function at 0x10002280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b65b], al
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.1000158c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
invalid
Function at 0x10002490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1000155a
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
test dword [edx + 0x14fffffc], ebp
Function at 0x40121b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x451048], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
sub esp, 0xc
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push 0
push ebx
push 0
push eax
call fcn.00404a6a
sub esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403331
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
or ebx, 0xffffffff
cmp dword [0x4632b0], 7
jg 0x4033b3
sub esp, 0xc
push 0x4632ac
call fcn.0040366a
mov ebx, dword [0x4632b0]
mov eax, dword [ebp + 0x10]
add esp, 0x10
cmp dword [0x4632a8], 0
mov dword [ebx*4 + 0x463300], eax
mov eax, dword [ebp + 8]
mov dword [ebx*8 + 0x4632c0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx*8 + 0x4632c4], eax
lea eax, [ebx + 1]
mov dword [0x4632b0], eax
jne 0x4033a9
push eax
push eax
push 0x4632a8
push 0
push 0
push 0x40107b
push 0x1000
push 0x42e458
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edx
pop ecx
mov dword [0x4632ac], 0
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x403603
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc

Function at 0x403629
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc
Function at 0x403f0e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa4], 0x1c
mov esi, dword [ebp + 0x14]
test edi, edi
jle 0x403f6c
test esi, esi
lea edx, [ebp - 0xa4]
jne 0x403f5c
push eax
lea eax, [ebp - 0x90]
push edx
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x1c
pop eax
push eax
lea eax, [ebp - 0x74]
push edx
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
pop eax
jmp 0x403f76
mov eax, edi
neg eax
xchg al, ah
mov word [ebp - 0x72], ax
test esi, esi
jne 0x403f80
lea esi, [ebp - 0x90]
lea eax, [ebp - 0xa0]
sub esp, 0xc
lea edi, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0xc
push esi
push edi
call fcn.004038cd
mov ecx, ebx
add esp, 0x20
call fcn.00403b7e
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x43e6e0
jne 0x403fc1
mov eax, dword [ebx + 4]
mov dword [eax], 0x21215e
add eax, 3
mov dword [ebx + 4], eax
movzx edx, word [ebp - 0x72]
mov eax, edx
xchg al, ah
mov edx, eax
movsx ecx, byte [ecx]
movzx eax, word [esi + 2]
xchg al, ah
push esi
push esi
push dword [0x46c958]
push dword [0x46cba8]
push edx
push ecx
push eax
movzx eax, word [ebp - 0x94]
push edi
push eax
movzx eax, word [ebp - 0x96]
push eax
movzx eax, word [ebp - 0x98]
push eax
movzx eax, word [ebp - 0x9e]
push eax
movzx eax, word [ebp - 0x9a]
push eax
push ecx
push str._r_n___c_2.2u__2.2u__2.2u:_2.2u:_2.2u___s:_u_c_u___t_d__d_
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_wsprintfA]
add eax, dword [ebx + 4]
lea edx, [ebx + 0x811c]
mov dword [ebx + 4], eax
mov esi, eax
mov eax, dword [ebp + 0x18]
add esp, 0x40
cmp dword [ebp + 0xc], 0
je 0x404045
inc eax
push dword [ebp + 0xc]
push eax
push edx
push esi
call fcn.0042950c
jmp 0x404052
lea ecx, [ebp + 0x1c]
inc eax
push ecx
push eax
push edx
push esi
call fcn.0042947f
sub eax, 2
add esp, 0x10
add dword [ebx + 4], eax
cmp dword [0x46c898], 0
je 0x404076
sub esp, 0xc
push esi
call fcn.00403912
add esp, 0x10
sub eax, 2
mov dword [ebx + 4], eax
test byte [0x46c97d], 0x40
je 0x4040de
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax*4 + 0x42e030]
test eax, eax
je 0x4040de
push edx
push edx
push eax
push esi
call fcn.004034dd
add esp, 0x10
mov edx, eax
test eax, eax
je 0x4040d6
mov eax, dword [ebp - 0xa4]
mov edi, dword [eax*4 + 0x42e030]
cld
xor al, al
xor ecx, ecx
test edi, edi
je 0x4040c8
dec ecx
repne scasb al, byte es:[edi]
inc ecx
not ecx
add ecx, edx
cmp byte [ecx], 0xd
jbe 0x4040d6
inc ecx
mov byte [ecx - 1], 0x2a
jmp 0x4040ca
inc dword [ebp - 0xa4]
jmp 0x404089
lea eax, [ebp - 0xa0]
sub esp, 0xc
mov ecx, ebx
push eax
call fcn.00403bc6
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404403
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
test byte [0x46c978], 0x10
jne 0x404422
push eax
push eax
push 0x42e260
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edx
pop ecx
mov dword [0x42e4a0], 0
mov dword [0x42e490], 1
call fcn.0040417d
sub esp, 0xc
push dword [0x46c950]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x46c880]
call dword [sym.imp.USER32.dll_DestroyIcon]
add esp, 0xc
call fcn.0042a0e2
cmp dword [0x46332c], 0
je 0x4044ab
sub esp, 0xc
xor ebx, ebx
push 0x463328
call fcn.0040366a
add esp, 0x10
cmp dword [0x463330], ebx
jle 0x404497
mov eax, dword [0x46332c]
sub esp, 0xc
push dword [eax + ebx*4]
inc ebx
call fcn.0040ac2b
add esp, 0x10
jmp 0x404479
mov dword [0x463330], 0
mov dword [0x463328], 0
call fcn.0040439c
call fcn.004043cf
sub esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x4797fc], 0
je 0x4044da
call fcn.00424fcf
sub esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]