joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c4ab
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x43c4de
fld qword [ebp - 0x30]
fstp qword [esp + 4]
mov dword [esp], str.seconds__.2f_
call fcn.0042371d
fld qword [ebp - 0x30]
fldz
fucompi st(1)
fstp st(0)
jp 0x43c509
fld qword [ebp - 0x30]
fldz
fucompi st(1)
fstp st(0)
jne 0x43c509
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov eax, dword [ebp + 0x10]
call eax
mov eax, 0
jmp 0x43c63f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43c464
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43c58e
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x43c589
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.CreateThread___failed____lx__n
call fcn.0042371d
jmp 0x43c4f4
jmp 0x43c4f4
fld qword [ebp - 0x30]
fld qword [0x65dbe0]
fmulp st(1)
fnstcw word [ebp - 0x32]
movzx eax, word [ebp - 0x32]
mov ah, 0xc
mov word [ebp - 0x34], ax
fldcw word [ebp - 0x34]
fistp qword [ebp - 0x40]
fldcw word [ebp - 0x32]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
test eax, eax
jne 0x43c608
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSASetLastError]
call eax
sub esp, 4
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x43c602
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.Winsock_error:__d_n
call fcn.0042371d
mov byte [ebp - 9], 0
jmp 0x43c624
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateThread]
call eax
sub esp, 8
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp - 9]
leave
ret

Function at 0x4404a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x4415c4
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
pop ebp
ret

Function at 0x44192c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [esp], 0x8048
call fcn.0044e3cc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x441954
mov eax, 1
jmp 0x441a4d
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.004415c4
mov dword [ebp - 0xc], 0
mov eax, 0x8000
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ecx
call sub.msvcrt.dll_fread
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x8000
jne 0x4419a8
jmp 0x4419e4
cmp dword [ebp - 0x14], 0
jne 0x4419d1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
test eax, eax
je 0x4419cf
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0062e160
mov eax, 1
jmp 0x441a4d
jmp 0x441a06
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x4419e2
jmp 0x441a06
jmp 0x441969
lea eax, [ebp - 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8000
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00441c88
jmp 0x441962
cmp dword [ebp - 0xc], 0
je 0x441a28
lea eax, [ebp - 0xb4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00441a99
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.00441799
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0062e160
mov eax, 0
leave
ret

Function at 0x4431dc
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
pop ebp
ret
Function at 0x443250
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xf70e5939
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x64f98fa7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
pop ebp
ret

Function at 0x4435c7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [esp], 0x8048
call fcn.0044e3cc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4435ef
mov eax, 1
jmp 0x4436e8
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call fcn.004431dc
mov dword [ebp - 0xc], 0
mov eax, 0x8000
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ecx
call sub.msvcrt.dll_fread
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x8000
jne 0x443643
jmp 0x44367f
cmp dword [ebp - 0x14], 0
jne 0x44366c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
test eax, eax
je 0x44366a
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0062e160
mov eax, 1
jmp 0x4436e8
jmp 0x4436a1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x44367d
jmp 0x4436a1
jmp 0x443604
lea eax, [ebp - 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8000
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00443a90
jmp 0x4435fd
cmp dword [ebp - 0xc], 0
je 0x4436c3
lea eax, [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004438a1
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call fcn.0044357d
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0062e160
mov eax, 0
leave
ret
Function at 0x4481c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x144
mov eax, dword [ebp + 0x18]
mov byte [ebp - 0x12c], al
cmp dword [ebp + 0x14], 0
je 0x4481e7
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax]
test al, al
jne 0x4481f7
mov dword [ebp + 0x14], 0x65eba0
mov dword [ebp - 0xc], 4
jmp 0x448212
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
jbe 0x448212
mov dword [ebp - 0xc], 5
cmp byte [ebp - 0x12c], 0
je 0x448265
mov dword [esp], str.TMPDIR
call fcn.004615e8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x448247
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00448184
test al, al
je 0x448247
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
jmp 0x448265
cmp dword [ebp + 0x10], 0
je 0x44825e
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00448184
test al, al
je 0x44825e
jmp 0x448265
mov dword [ebp + 0x10], 0
cmp dword [ebp + 0x10], 0
jne 0x448302
lea eax, [ebp - 0x11d]
mov dword [esp + 4], eax
mov dword [esp], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetTempPathA]
call eax
sub esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4482b9
cmp dword [ebp - 0x14], 0x103
ja 0x4482b9
lea eax, [ebp - 0x11d]
mov dword [esp], eax
call fcn.00448184
test al, al
je 0x4482b9
lea eax, [ebp - 0x11d]
mov dword [ebp + 0x10], eax
jmp 0x448302
mov dword [esp], 0x65ebac
call fcn.00448184
test al, al
je 0x4482d2
mov dword [ebp + 0x10], 0x65ebac
jmp 0x448302
mov dword [esp], str._tmp
call fcn.00448184
test al, al
je 0x4482eb
mov dword [ebp + 0x10], str._tmp
jmp 0x448302
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 2
mov eax, 0xffffffff
jmp 0x4483c7
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x448341
mov eax, dword [ebp - 0x18]
lea edx, [eax - 1]
mov eax, dword [ebp + 0x10]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x448341
mov eax, dword [ebp - 0x18]
lea edx, [eax - 1]
mov eax, dword [ebp + 0x10]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
je 0x448341
mov eax, 1
jmp 0x448346
mov eax, 0
mov byte [ebp - 0x19], al
and byte [ebp - 0x19], 1
movzx edx, byte [ebp - 0x19]
mov eax, dword [ebp - 0x18]
add edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 7
cmp eax, dword [ebp + 0xc]
jbe 0x448377
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x4483c7
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
movzx edx, byte [ebp - 0x19]
xor edx, 1
movzx edx, dl
lea ebx, [edx + str.__.sXXXXXX]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.00448154
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4492d4
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044f694
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x449302
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 9
mov eax, 0xffffffff
jmp 0x449350
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x44934d
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
cmp eax, 0x2733
jne 0x449348
mov dword [esp], 0x2734
mov eax, dword [sym.imp.WS2_32.dll_WSASetLastError]
call eax
sub esp, 4
call fcn.00448f14
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x44a294
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test al, al
jne 0x44a2b6
mov eax, dword [ebp + 8]
jmp 0x44a3ae
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x5b
jne 0x44a344
mov eax, dword [0x6e5208]
test eax, eax
jne 0x44a2ee
mov dword [esp], 0x65ec04
call sub.msvcrt.dll_getenv
test eax, eax
je 0x44a2e4
mov eax, 1
jmp 0x44a2e9
mov eax, 0xffffffff
mov dword [0x6e5208], eax
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x21
je 0x44a30f
mov eax, dword [0x6e5208]
test eax, eax
jns 0x44a313
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x5e
jne 0x44a313
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x5d
jne 0x44a321
add dword [ebp - 0xc], 1
jmp 0x44a338
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx eax, byte [eax]
test al, al
jne 0x44a338
mov eax, dword [ebp + 8]
jmp 0x44a3ae
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x5d
jne 0x44a323
jmp 0x44a3a9
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x3f
je 0x44a376
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x2a
je 0x44a376
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x2b
je 0x44a376
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x40
je 0x44a376
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x21
jne 0x44a396
mov eax, dword [ebp - 0xc]
add eax, 1
movzx eax, byte [eax]
cmp al, 0x28
jne 0x44a396
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [esp], eax
call fcn.0044a294
mov dword [ebp - 0xc], eax
jmp 0x44a3a9
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x29
jne 0x44a3a9
nop
mov eax, dword [ebp - 0xc]
add eax, 1
jmp 0x44a3ae
jmp 0x44a2a0
leave
ret
Function at 0x44b54b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
test ax, ax
jne 0x44b56e
mov eax, dword [ebp + 8]
jmp 0x44b682
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x5b
jne 0x44b60a
mov eax, dword [0x6e5208]
test eax, eax
jne 0x44b5a8
mov dword [esp], 0x65ec04
call sub.msvcrt.dll_getenv
test eax, eax
je 0x44b59e
mov eax, 1
jmp 0x44b5a3
mov eax, 0xffffffff
mov dword [0x6e5208], eax
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x21
je 0x44b5cd
mov eax, dword [0x6e5208]
test eax, eax
jns 0x44b5d1
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x5e
jne 0x44b5d1
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x44b5e1
add dword [ebp - 0xc], 2
jmp 0x44b5fc
mov eax, dword [ebp - 0xc]
lea edx, [eax + 2]
mov dword [ebp - 0xc], edx
movzx eax, word [eax]
test ax, ax
jne 0x44b5fc
mov eax, dword [ebp + 8]
jmp 0x44b682
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x44b5e3
jmp 0x44b67d
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x3f
je 0x44b646
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x2a
je 0x44b646
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x2b
je 0x44b646
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x40
je 0x44b646
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x21
jne 0x44b668
mov eax, dword [ebp - 0xc]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x28
jne 0x44b668
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [esp], eax
call fcn.0044b54b
mov dword [ebp - 0xc], eax
jmp 0x44b67d
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x29
jne 0x44b67d
nop
mov eax, dword [ebp - 0xc]
add eax, 2
jmp 0x44b682
jmp 0x44b557
leave
ret
Function at 0x44c1b4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x24], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x14], 0
cmp dword [ebp + 0x18], 0
jne 0x44c1f1
mov dword [esp], str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
test eax, eax
je 0x44c1f8
mov edx, 1
jmp 0x44c1fd
mov edx, 0
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
cmp al, 0x2d
jne 0x44c21d
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x18], 2
add dword [ebp + 0x10], 1
jmp 0x44c257
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
cmp al, 0x2b
jne 0x44c237
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x18], 0
add dword [ebp + 0x10], 1
jmp 0x44c257
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x44c24d
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x18], 0
jmp 0x44c257
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x18], 1
mov eax, dword [ebp + 0x10]
leave
ret

Function at 0x44dcc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044f694
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x44dcee
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 9
mov eax, 0xffffffff
jmp 0x44dd1d
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_getsockname]
call eax
sub esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x44dd1a
call fcn.0044d900
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x44e704
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 9], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x44e733
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp al, byte [ebp - 9]
jne 0x44e72b
mov eax, dword [ebp - 4]
jmp 0x44e7ca
sub dword [ebp + 0x10], 1
add dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x44e743
mov eax, dword [ebp - 4]
and eax, 3
test eax, eax
jne 0x44e718
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x1010101
movzx eax, byte [ebp - 9]
movzx edx, byte [ebp - 9]
shl edx, 8
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or dword [ebp - 0x14], eax
jmp 0x44e799
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
not edx
and edx, eax
mov eax, dword [ebp - 0x10]
shl eax, 7
and eax, edx
test eax, eax
je 0x44e791
jmp 0x44e79f
add dword [ebp - 8], 4
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 3
ja 0x44e76b
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x44e7bf
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp al, byte [ebp - 9]
jne 0x44e7b7
mov eax, dword [ebp - 4]
jmp 0x44e7ca
sub dword [ebp + 0x10], 1
add dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
jne 0x44e7a7
mov eax, 0
leave
ret

Function at 0x44e7cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 9], al
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add eax, edx
mov dword [ebp - 4], eax
jmp 0x44e800
sub dword [ebp - 4], 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp al, byte [ebp - 9]
jne 0x44e7fc
mov eax, dword [ebp - 4]
jmp 0x44e89e
sub dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0
je 0x44e810
mov eax, dword [ebp - 4]
and eax, 3
test eax, eax
jne 0x44e7e5
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x1010101
movzx eax, byte [ebp - 9]
movzx edx, byte [ebp - 9]
shl edx, 8
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or dword [ebp - 0x14], eax
jmp 0x44e86a
sub dword [ebp - 8], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
not edx
and edx, eax
mov eax, dword [ebp - 0x10]
shl eax, 7
and eax, edx
test eax, eax
je 0x44e866
add dword [ebp - 8], 4
jmp 0x44e870
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 3
ja 0x44e838
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x44e88c
sub dword [ebp - 4], 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp al, byte [ebp - 9]
jne 0x44e88c
mov eax, dword [ebp - 4]
jmp 0x44e89e
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov dword [ebp + 0x10], edx
test eax, eax
jne 0x44e878
mov eax, 0
leave
ret
Function at 0x44e8a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x4c], ax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44e90b
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
jne 0x44e90b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44e8fe
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0xc
mov eax, 0xffffffff
jmp 0x44e9a0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00469ee8
jmp 0x44e911
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00446988
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x44e97a
mov eax, dword [ebp - 0x14]
add eax, 1
movzx eax, byte [eax]
test al, al
je 0x44e950
mov eax, dword [ebp - 0x14]
add eax, 1
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x44e97a
mov eax, dword [ebp - 0x14]
add eax, 2
movzx eax, byte [eax]
test al, al
jne 0x44e97a
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00463934
test eax, eax
jne 0x44e973
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x11
mov eax, 0xffffffff
jmp 0x44e9a0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__mkdir]
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
je 0x44e99d
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0062e160
mov eax, dword [ebp - 0x18]
leave
ret

Function at 0x450014
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044f694
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x450042
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 9
mov eax, 0xffffffff
jmp 0x450078
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x450075
call fcn.0044fc54
mov eax, dword [ebp - 0x10]
leave
ret