joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4295f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00478f80
add esp, 0xc
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 0
push 1
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x429667
push 0
push 0
push 1
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x429667
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 0x49d31c
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4be830], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
mov edx, dword [0x4be830]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429681
xor eax, eax
jmp 0x42976c
mov dword [ebp - 0x2c], 0
mov eax, dword [0x4b4b30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xffffffff
je 0x4296b1
cmp dword [ebp - 0x38], 0
jl 0x429741
cmp dword [ebp - 0x38], 2
jle 0x429715
jmp 0x429741
mov dword [0x4b4b30], 0
jmp 0x4296cc
mov edx, dword [0x4b4b30]
add edx, 1
mov dword [0x4b4b30], edx
cmp dword [0x4b4b30], 3
jge 0x429713
mov eax, dword [0x4b4b30]
mov ecx, dword [eax*4 + 0x49d304]
push ecx
mov edx, dword [0x4b4b30]
mov eax, dword [edx*4 + 0x49d2f8]
push eax
mov ecx, dword [0x4b4b30]
mov edx, dword [ecx*4 + 0x49d310]
push edx
call fcn.00429580
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x429711
jmp 0x429713
jmp 0x4296bd
jmp 0x429741
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x49d304]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x49d2f8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x49d310]
push edx
call fcn.00429580
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [0x4b4b30], 2
jle 0x429754
mov dword [0x4b4b30], 0xffffffff
cmp dword [0x4be830], 0
je 0x429769
mov eax, dword [0x4be830]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x42b2b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bad80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x42b2fa
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00401724
push 0x5f
push 0x20
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.0042db50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478af2
mov esp, ebp
pop ebp
ret

Function at 0x42b360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4bad80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x438], ecx
push 0x105
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x434]
push eax
push 0x105
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [ebp - 0x434]
push edx
push 0x49e544
mov eax, dword [ebp - 0x438]
add eax, 0x24
push eax
call fcn.00403328
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478af2
mov esp, ebp
pop ebp
ret
Function at 0x42baf0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493fb3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4bad80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x288
push 0x288
call fcn.00479fb2
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42bb4d
mov eax, 1
jmp 0x42bc6f
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x42bb8a
mov edx, dword [ebp - 0x10]
push edx
call fcn.00479ed5
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.00479fb2
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42bb8a
mov eax, 2
jmp 0x42bc6f
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42bc56
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42bc54
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x1a0], 6
jne 0x42bc47
lea ecx, [ebp - 0x24]
call fcn.0040140f
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x42bbe5
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x190]
jae 0x42bc14
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x24]
push ecx
call fcn.00405ceb
add esp, 0xc
jmp 0x42bbdc
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418280
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x24]
call fcn.004012d0
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0045928a
jmp 0x42bc4f
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x42bbaa
jmp 0x42bc5a
xor eax, eax
jmp 0x42bc6f
cmp dword [ebp - 0x10], 0
je 0x42bc6c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00479ed5
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x436f90
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Generic::CCrypto.0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
push 0x400
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.004684bd
push 0
push 1
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437002
push 8
push 1
push 0
push 0
mov edx, dword [ebp - 4]
add edx, 4
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437002
jmp 0x43701f
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4370e0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x4370fb
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
jne 0x43710f
mov byte [ebp - 1], 0
lea ecx, [ebp + 8]
call fcn.0045928a
mov al, byte [ebp - 1]
jmp 0x437202
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc], 0
je 0x437164
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x437164
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.0045928a
mov al, byte [ebp - 2]
jmp 0x437202
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x437184
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
push 0
lea ecx, [ebp + 8]
call fcn.004012d0
shl eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00401155
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4371bc
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.0045928a
mov al, byte [ebp - 3]
jmp 0x437202
mov eax, dword [ebp - 0xc]
add eax, 8
push eax
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
push 0x6602
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x4371f3
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0045928a
mov al, byte [ebp - 4]
jmp 0x437202
mov byte [ebp - 5], 1
lea ecx, [ebp + 8]
call fcn.0045928a
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 4
Function at 0x437590
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
push 2
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047ca90
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.0046854e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
push 1
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x43762d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00458c16
add esp, 4
xor al, al
jmp 0x437670
mov ecx, dword [ebp + 8]
call fcn.004377d0
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.00468d09
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00417020
push eax
call fcn.00478c10
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00458c16
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x437d40
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437d61
ret
mov eax, dword [esp + 0xc]
ret

Function at 0x4380d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x438172
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x438100
mov eax, dword [esp + 0x10]
jmp 0x438100
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.00438070
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.004380a0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x438110
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x4380f1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x438180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test ax, ax
push ebp
mov ebp, dword [esp + 0x10]
jbe 0x438209
push ebx
movzx eax, ax
push esi
mov dword [esp + 0x10], eax
push edi
jmp 0x4381a0
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x10], 0x10
mov edi, edi
mov ecx, 2
lea edx, [esp + 0x20]
call fcn.00438070
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
and ecx, 0xf
call fcn.00438070
mov ecx, dword [esp + 0x10]
mov eax, edi
xor eax, dword [esp + 0x1c]
xor eax, ebx
dec ecx
mov edi, esi
mov esi, eax
mov dword [esp + 0x10], ecx
jne 0x4381b0
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], edi
add ebp, 8
inc ebx
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
jne 0x4381a0
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x4384d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + 0x4b4f50]
mov eax, 4
cmp edi, eax
jle 0x438502
push ebx
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + 0x4b4f50]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x4384e5
pop ebx
ret

Function at 0x438650
Capabilities:
Check if process is running under wine

Disassembly:
push ecx
mov eax, dword [0x4ceaf8]
test eax, eax
mov dword [esp], 0
jne 0x4386d5
push esi
push str.advapi32.dll
mov dword [0x4ceaf8], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4386d4
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b50e4
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x4386cb
push 0x4b50f0
push esi
call edi
mov edi, eax
test edi, edi
je 0x4386cb
lea eax, [esp + 0xc]
push eax
push str.SoftwareWineWineConfig
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4386cb
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4386c1
push eax
call edi
mov dword [0x4ceaf4], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x439390
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add dword [eax + 4], edx
mov edx, dword [ecx + 4]
add esi, edx
mov dword [eax], esi
lea edx, [ecx + 0x10]
mov dword [esp + 0x10], 3
mov edi, edi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
xor ebx, ebp
mov esi, ebx
mov edi, ebp
shr edi, 4
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 8]
shl ebx, cl
mov ecx, 0x20
or esi, ebx
sub esi, edi
mov dword [eax + 4], esi
mov edi, esi
shr edi, 7
xor esi, ebp
and edi, 0x1f
sub ecx, edi
mov ebx, esi
shr ebx, cl
mov ecx, edi
shl esi, cl
mov ecx, dword [edx - 4]
or ebx, esi
add ecx, ebx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
xor ebx, esi
mov edi, esi
mov dword [eax + 4], esi
shr edi, 7
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 4]
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
mov edi, ecx
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx + 8]
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
shr edi, 7
and edi, 0x1f
mov dword [eax + 4], esi
xor ebx, esi
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 0xc]
add edx, 0x20
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx - 0x10]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
xor ebx, esi
shr edi, 7
mov dword [eax + 4], esi
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 0xc]
shl ebx, cl
mov ecx, dword [esp + 0x10]
or esi, ebx
add esi, edi
dec ecx
mov dword [eax], esi
mov dword [esp + 0x10], ecx
jne 0x4393b0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4394f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0xc
jmp 0x439500
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [edi]
sub edx, ecx
mov esi, ebx
shr esi, 7
and esi, 0x1f
mov eax, edx
mov ecx, 0x20
sub ecx, esi
shl eax, cl
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x10]
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov edx, dword [ecx + ebp*8]
lea esi, [edx + ebx]
mov edx, eax
shr edx, 4
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
mov ebx, esi
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
dec ebp
mov dword [edi + 4], ebx
jne 0x439500
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
sub dword [edi], ecx
mov edx, dword [eax]
mov eax, ebx
pop esi
sub eax, edx
pop ebp
mov dword [edi + 4], eax
pop ebx
ret
Function at 0x443c50
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
push 0
lea eax, [esp + 0xc]
push eax
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x443c6f
pop esi
xor eax, eax
pop ebx
pop ecx
ret
inc esi
mov eax, esi
call fcn.00443b60
test eax, eax
mov dword [esp + 8], eax
je 0x443c69
push esi
push eax
push edi
call ebx
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
pop ecx
ret

Function at 0x443d60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov ax, word [esp + 8]
shr ax, 0xf
lea edx, [ecx + ecx]
push ebx
push esi
mov esi, 0x16
or eax, edx
mov ecx, eax
mov dword [esp + 0x10], eax
shr ecx, 8
xor cl, al
mov byte [esp + 0x11], cl
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esp + 0x10]
shr cx, 1
shl eax, 0xf
xor edx, edx
or eax, ecx
mov dword [esp + 0x10], eax
mov dx, word [esp + 0x10]
shr dx, 1
shl eax, 0xf
or eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
add eax, 4
jmp 0x443dc0
mov dl, byte [esp + 0x10]
mov cl, dl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax - 4], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov byte [esp + 0xc], bl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax - 2], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov byte [esp + 0xc], bl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0xc], bl
mov byte [esp + 0x10], cl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shr bl, 1
shl dl, 7
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov byte [esp + 0xc], bl
mov dword [esp + 0x10], ecx
mov dx, cx
xor word [eax + 2], dx
add ecx, 0x55
add eax, 8
dec esi
mov dword [esp + 0x10], ecx
jne 0x443dc0
pop esi
pop ebx
ret
Function at 0x444a80
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov al, byte [esp + 8]
mov edx, dword [esp + 0xc]
and al, 0xf
push ebx
movzx cx, al
push ebp
push esi
mov word [esp + 0xc], cx
lea ebp, [edx + edi - 1]
jmp 0x444aa0
xor dl, dl
test di, di
mov ecx, ebp
je 0x444acb
movzx esi, di
lea esp, [esp]
mov al, byte [ecx]
mov bl, dl
mov dl, al
shl al, 1
or al, bl
shr dl, 7
mov byte [ecx], al
dec ecx
dec esi
jne 0x444ab0
test dl, dl
je 0x444acb
or byte [ebp], 1
mov eax, dword [esp + 0xc]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0xc], eax
jne 0x444aa0
xor ecx, ecx
test edi, edi
jbe 0x444b00
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x14]
xor eax, eax
mov bl, byte [eax + esi]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
movzx eax, cx
cmp eax, edi
jb 0x444af0
pop esi
pop ebp
xor ax, ax
pop ebx
pop ecx
ret

Function at 0x444b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor ecx, ecx
test ebx, ebx
push edi
jbe 0x444b2b
xor eax, eax
nop
xor byte [eax + ebp], dl
inc ecx
movzx eax, cx
cmp eax, ebx
jb 0x444b20
and dl, 0xf
movzx ax, dl
mov word [esp + 0x10], ax
xor dl, dl
test bx, bx
mov esi, ebp
je 0x444b61
movzx edi, bx
mov al, byte [esi]
mov cl, dl
mov dl, al
shr al, 1
shl cl, 7
or al, cl
and dl, 1
mov byte [esi], al
inc esi
dec edi
jne 0x444b43
test dl, dl
je 0x444b61
or byte [ebp], 0x80
mov eax, dword [esp + 0x10]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0x10], eax
jne 0x444b37
pop edi
pop esi
xor ax, ax
pop ebp
ret

Function at 0x444c00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + str._.C]
push edi
mov edi, dword [esp + 0x10]
mov eax, 4
cmp edi, eax
jle 0x444c3d
push ebx
nop
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + str._.C]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x444c20
pop ebx
pop edi
pop esi
ret

Function at 0x444ca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x444d42
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x444cd0
mov eax, dword [esp + 0x10]
jmp 0x444cd0
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.00444c40
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.00444c70
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x444ce0
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x444cc1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret