joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446ad0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push esi
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push esi
call fcn.00446ab0
add esp, 4
mov edx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
jne 0x446b35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x446b3e
mov eax, dword [esp + 0x10]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x446b50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
push 0
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx]
cmp eax, edx
jb 0x446b9c
mov eax, edx
test eax, eax
mov dword [ecx], eax
jne 0x446baa
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446bf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x446ba2
mov eax, dword [esp + 0x24]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret
Function at 0x448b40
Capabilities:
Check if file exists
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4591b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [0x471f00], ebx
jne 0x448b86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xff
jbe 0x448ba0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x41
mov edi, 0x471f04
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x471f04]
test al, al
jne 0x448bcb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x114]
push 0x471f04
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push 0x465e94
push eax
mov dword [ebp + 8], 1
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_sprintf
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
call edi
test eax, eax
jne 0x448c22
lea edx, [ebp - 0x114]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edx
call ebx
jmp 0x448c28
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor esi, esi
mov eax, dword [ebp + 0xc]
cmp esi, eax
jae 0x448c7c
inc esi
lea eax, [ebp - 0x114]
push esi
push 0x471f04
push str._sAlcorDevice2020_d_
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
call edi
test eax, eax
jne 0x448c65
lea edx, [ebp - 0x114]
push eax
push edx
call ebx
jmp 0x448c2a
lea eax, [ebp - 0x114]
push eax
call fcn.004494e0
add esp, 4
jmp 0x448c2a
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
cmp esi, 0xff
jae 0x448cbf
inc esi
lea ecx, [ebp - 0x114]
push esi
push 0x471f04
push str._sAlcorDevice2020_d_
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0x10
lea edx, [ebp - 0x114]
push edx
call edi
test eax, eax
je 0x448c84
lea eax, [ebp - 0x114]
push eax
call ebx
jmp 0x448c84
mov dword [0x471f00], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448ce0
Capabilities:
Check if file exists
Delete directory

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push edi
lea edi, [esp + 0xc]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
inc esi
lea eax, [esp + 0xc]
push esi
push 0x471f04
push str._sAlcorDevice2020_d_
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x448d2f
lea edx, [esp + 0xc]
push edx
call ebx
cmp esi, 0xff
jb 0x448d04
push 0x471f04
lea eax, [esp + 0x10]
push 0x465e94
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x448d60
lea edx, [esp + 0xc]
push edx
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x449500
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x118]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
push esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
call fcn.00449610
add esp, 8
lea ecx, [ebp - 0x118]
push 0x104
push ecx
call sub.KERNEL32.dll_FindFirstVolumeA
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x449589
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x21c]
push edx
push eax
jmp 0x4495c0
lea ecx, [ebp - 0x118]
push 0x104
push ecx
push ebx
call sub.KERNEL32.dll_FindNextVolumeA
test eax, eax
je 0x4495f0
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x21c]
push edx
push eax
push edi
push esi
call fcn.00449750
add esp, 0x10
test eax, eax
je 0x44959c
mov edi, dword [ebp + 0x10]
mov ecx, 0x41
lea esi, [ebp - 0x118]
mov dword [ebp - 0x14], 1
rep movsd dword es:[edi], dword [esi]
jmp 0x4495f0
push ebx
call sub.KERNEL32.dll_FindVolumeClose
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449610
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x320]
push eax
lea eax, [esp + 0x118]
push 0x104
push eax
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
test eax, eax
je 0x449651
xor eax, eax
pop edi
add esp, 0x318
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x114]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push str.SYSTEMCurrentControlSetEnum_sDevice_ParametersPartmgr
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea ecx, [esp + 4]
lea edx, [esp + 0x10]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x44969b
xor eax, eax
pop edi
add esp, 0x318
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x218]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x218]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push 0
push str.DiskID
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4496f8
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x318
ret
mov edi, dword [esp + 8]
push esi
mov esi, dword [esp + 0x328]
test edi, edi
jbe 0x44972a
lea edx, [esp + 0x21c]
push ebx
mov eax, esi
sub edx, esi
mov ebx, edi
mov cl, byte [edx + eax]
cmp cl, 0x23
jne 0x449723
mov byte [eax], 0x5c
jmp 0x449725
mov byte [eax], cl
inc eax
dec ebx
jne 0x449716
pop ebx
push esi
mov byte [edi + esi], 0
call sub.MSVCRT.dll__strlwr
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop edi
add esp, 0x318
ret
Function at 0x4498c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
push esi
mov esi, dword [esp + 0x324]
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x14], 0x5c
mov byte [esp + 0x15], 0x3f
mov byte [esp + ecx + 0x13], al
lea eax, [esp + 8]
push eax
push str.SYSTEMMountedDevices
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x449928
pop edi
xor eax, eax
pop esi
add esp, 0x318
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 0x118]
push ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
push edx
mov dword [esp + 0x28], 3
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x449976
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0x318
ret
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x324]
xor eax, eax
test esi, esi
jbe 0x4499ab
mov cl, byte [esp + eax + 0x118]
cmp cl, 0x23
jne 0x44999d
mov ecx, eax
shr ecx, 1
mov byte [ecx + edx], 0x5c
jmp 0x4499a4
mov edi, eax
shr edi, 1
mov byte [edi + edx], cl
add eax, 2
cmp eax, esi
jb 0x449987
shr esi, 1
push edx
mov byte [esi + edx], 0
call sub.MSVCRT.dll__strlwr
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x318
ret

Function at 0x4499e0
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x124]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x20]
xor esi, esi
push eax
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call fcn.00449ae0
add esp, 8
cmp eax, esi
jne 0x449a42
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x124]
push 0x104
push edx
call sub.KERNEL32.dll_FindFirstVolumeA
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x449a86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x124]
push 0x104
push edx
push ebx
call sub.KERNEL32.dll_FindNextVolumeA
test eax, eax
je 0x449ac0
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.00449b50
add esp, 8
cmp eax, esi
je 0x449a70
mov edi, dword [ebp + 0xc]
mov ecx, 0x41
lea esi, [ebp - 0x124]
rep movsd dword es:[edi], dword [esi]
mov esi, 1
jmp 0x449ac0
push ebx
call sub.KERNEL32.dll_FindVolumeClose
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449ae0
Capabilities:
Get disk information via ioctl

Disassembly:
push esi
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449b03
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xc
push edx
push 0
push 0
push 0x2d1080
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x449b32
mov edi, 1
test esi, esi
je 0x449b3d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x449b90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov edx, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
push edi
cmp edx, esi
mov dword [ebp - 0x10], esp
jne 0x449bd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x120]
push edx
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], esi
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x14]
push 4
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x46ab9c
push eax
mov byte [ebp - 4], 2
call sub.MSVCRT.dll__mbscmp
add esp, 8
test eax, eax
jne 0x449c54
lea ecx, [ebp - 0x1c]
push 1
push ecx
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x469cb4
push eax
call sub.MSVCRT.dll__mbscmp
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x449c56
mov bl, 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x449c88
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov eax, dword [edx - 8]
add eax, 0xfffffffb
push eax
lea eax, [ebp - 0x14]
push 4
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x120]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x224]
push eax
push str._GLOBALROOT_s
push ecx
call sub.MSVCRT.dll_sprintf
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x224]
push edx
push eax
call fcn.00449ae0
add esp, 0x14
test eax, eax
je 0x449d0e
mov esi, 1
jmp 0x449d0e
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a060
Capabilities:
Resume thread

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x44a10d
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x44a10d
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x44a10d
push esi
push 0
push 4
push 0
push 0
push 0x45cdd0
mov dword [0x472014], 0
call sub.MFC42.DLL_AfxBeginThread_1
mov dword [0x472014], eax
lea edx, [eax + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x472014]
mov dword [ecx + 0x88], ebx
mov edx, dword [0x472014]
mov dword [edx + 0x84], ebp
mov eax, dword [0x472014]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x472014]
pop esi
test eax, eax
je 0x44a10d
pop edi
pop ebp
mov dword [0x472014], 0
mov eax, 1
pop ebx
ret
pop edi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x44ad50
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x459385
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
lea ecx, [esp]
mov dword [esp + 4], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov dword [esp + 0x1a0], 1
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x44adbd
push 0x1e
push 0x1e
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.WS2_32.dll_gethostname
push 0xffffffffffffffff
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::ReleaseBuffer
call sub.WS2_32.dll_WSACleanup
push esi
mov esi, dword [esp + 0x1ac]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1a4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x19c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a4
ret 4
Function at 0x44ae10
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x4593af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x280
mov dword [esp + 0x24], 1
call edi
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x280
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebp, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
jne 0x44ae83
push esi
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call edi
add esp, 8
mov esi, eax
lea edx, [esp + 0xc]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x44aed8
mov al, byte [esi + 0x199]
xor ecx, ecx
mov cl, byte [esi + 0x198]
xor edx, edx
mov dl, byte [esi + 0x197]
push eax
push ecx
xor eax, eax
mov al, byte [esi + 0x196]
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x195]
mov dl, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._02x__02x__02x__02x__02x__02x
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x20
push esi
call ebp
mov esi, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x44af20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4593df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 1
push eax
call fcn.0044c130
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push 0x465e94
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x50]
add esp, 0x10
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x44afb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459400
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, dword [esp + 0x20]
xor eax, eax
mov ecx, esi
lea edx, [esp + 0x20]
push 0x10
push edx
mov dword [ecx], eax
mov dword [esp + 0x18], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x10], al
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
push 0
mov ecx, eax
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [eax]
mov ecx, esi
mov byte [esp + 0x10], 0
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
sub ecx, esi
mov edi, 0x10
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x44b036
lea ecx, [esp + 0x1c]
mov byte [esi + 0x11], 0
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc

Function at 0x44b630
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 2
mov byte [esp + 0x1a], 4
mov byte [esp + 0x1b], 8
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 0x20
mov byte [esp + 0x1e], 0x40
mov byte [esp + 0x1f], 0x80
mov byte [esp + 0x20], 0x1b
mov byte [esp + 0x21], 0x36
xor edi, edi
lea esi, [ebp + 4]
xor eax, eax
lea edx, [edi + ecx]
mov bl, byte [edx]
add edx, 4
mov byte [esi + eax], bl
inc eax
cmp eax, 4
jl 0x44b679
inc edi
add esi, 4
cmp edi, 4
jl 0x44b674
lea eax, [esp + 0x18]
mov edi, 1
dec eax
mov ecx, 0x10
mov dword [esp + 0x14], eax
xor esi, esi
xor eax, eax
test esi, esi
lea edx, [eax + edi*4]
je 0x44b6b7
lea edx, [esi + edx*4]
mov dl, byte [edx + ebp + 3]
jmp 0x44b6bb
mov dl, byte [ebp + edx*4 - 9]
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 4
jl 0x44b6a7
test esi, esi
jne 0x44b71a
mov al, byte [esp + 0x28]
mov byte [esp + 0x10], al
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x29]
and edx, 0x80000003
jns 0x44b6e6
dec edx
or edx, 0xfffffffc
inc edx
mov dl, byte [edx + str.cw]
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 3
jl 0x44b6d3
mov eax, dword [esp + 0x10]
and eax, 0xff
mov dl, byte [eax + str.cw]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2b], dl
mov dl, byte [eax + edi]
mov al, byte [esp + 0x28]
xor al, dl
mov byte [esp + 0x28], al
lea edx, [ecx + esi]
xor eax, eax
lea edx, [edx + ebp + 4]
mov bl, byte [esp + eax + 0x28]
xor bl, byte [edx - 0x10]
inc eax
mov byte [edx], bl
add edx, 4
cmp eax, 4
jl 0x44b723
inc esi
cmp esi, 4
jl 0x44b6a5
inc edi
add ecx, 0x10
cmp edi, 0xa
jle 0x44b6a3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x44b760
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
push ecx
mov al, byte [esp + 0xc]
push ebx
mov byte [esp + 0x10], al
mov byte [esp + 7], 0
mov edx, 1
mov al, 0x80
mov cl, byte [esp + edx + 0xf]
shl cl, 1
mov byte [esp + edx + 0x10], cl
mov bl, byte [esp + edx + 0xf]
test al, bl
je 0x44b78f
xor cl, 0x1b
mov byte [esp + edx + 0x10], cl
inc edx
cmp edx, 4
jl 0x44b776
mov bl, byte [esp + 0xc]
xor edx, edx
mov al, bl
mov cl, dl
shr al, cl
test al, 1
je 0x44b7b3
mov cl, byte [esp + edx + 0x10]
mov al, byte [esp + 7]
xor al, cl
mov byte [esp + 7], al
inc edx
cmp edx, 4
jl 0x44b79b
mov al, byte [esp + 7]
pop ebx
pop ecx
ret 8

Function at 0x44b7d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, 4
xor eax, eax
xor edx, edx
mov dl, byte [ecx + eax]
inc eax
cmp eax, 4
mov dl, byte [edx + str.cw]
mov byte [ecx + eax - 1], dl
jl 0x44b7dc
add ecx, 4
dec esi
jne 0x44b7da
pop esi
ret 4

Function at 0x44b960
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov ecx, edx
lea eax, [edi + ebp]
sub ecx, edi
mov esi, 4
mov bl, byte [ecx + eax]
xor byte [eax], bl
add eax, 4
dec esi
jne 0x44b97a
inc ebp
cmp ebp, 4
jl 0x44b96e
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x44b9a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, 4
xor eax, eax
xor edx, edx
mov dl, byte [ecx + eax]
inc eax
cmp eax, 4
mov dl, byte [edx + 0x45cf8c]
mov byte [ecx + eax - 1], dl
jl 0x44b9ac
add ecx, 4
dec esi
jne 0x44b9aa
pop esi
ret 4