joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a538
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4d3a4f
call fcn.0046fad0
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
mov esi, ecx
push eax
call fcn.0044a964
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [esi + 0x94]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x168]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x16c]
push 0x18
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCRT.dll_memcpy
push 0x36
call sub.MFC42.DLL_operatornew
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
push 0x400
call sub.MFC42.DLL_CMemFile::CMemFile
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CArchive::CArchive
push 0x34
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push edi
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b81c
lea eax, [ebp - 0xa8]
push 0x18
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
push dword [ebp - 0x14]
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b81c
lea eax, [ebp - 0x24]
push 0x10
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
push ebx
push ebx
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
call dword [eax + 0x30]
push 0x36
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push 0x36
push dword [ebp - 0x10]
call dword [eax + 0x20]
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x90]
call fcn.0046fa5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0046fa56
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44a728
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4d3a83
call fcn.0046fad0
sub esp, 0x84
push ebx
push esi
push edi
mov esi, ecx
push 0x18
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esi + 0x168]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x16c]
push 0x18
push eax
push edi
call sub.MSVCRT.dll_memcpy
push 0x30
pop eax
push eax
mov dword [ebp - 0x10], eax
call sub.MFC42.DLL_operatornew
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0xa4]
push ebx
push eax
push 0x18
push edi
call fcn.004397ca
push edi
call sub.MFC42.DLL_operatordelete
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatornew
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push ebx
push eax
call sub.MSVCRT.dll_memcpy
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xb4]
add eax, 0xc
add esp, 0x40
movzx edi, ax
inc edi
mov dword [ebp - 0x1c], eax
inc edi
mov dword [ebp - 0x20], ecx
push edi
call sub.MFC42.DLL_operatornew
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [esp], 0x400
call sub.MFC42.DLL_CMemFile::CMemFile
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CArchive::CArchive
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push 3
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b7f2
push dword [ebp - 0x24]
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b81c
push dword [ebp - 0x20]
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044b81c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x18]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
mov eax, dword [ebp - 0x4c]
push ebx
push ebx
lea ecx, [ebp - 0x4c]
call dword [eax + 0x30]
push edi
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x14]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push edi
push dword [ebp - 0x14]
call dword [eax + 0x20]
push dword [ebp - 0x14]
call sub.MFC42.DLL_operatordelete
push dword [ebp - 0x18]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
pop ecx
lea ecx, [ebp - 0x90]
call fcn.0046fa5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0046fa56
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44c0ef
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x406], 0
push ebx
push esi
mov esi, ecx
push edi
push 3
mov al, byte [esi + 0xe8]
mov byte [ebp - 0x408], 5
cmp al, 1
mov byte [ebp - 0x407], al
pop edi
jne 0x44c1a4
push dword [esi + 0x58]
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x44c15b
mov eax, dword [esi + 0x58]
mov byte [ebp - 0x405], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edi, [ebx + 5]
jmp 0x44c17a
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop edi
mov ax, word [esi + 0x5c]
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp + edi - 0x408]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
inc edi
inc edi
jmp 0x44c22d
cmp al, 2
jne 0x44c1db
mov eax, dword [esi + 0x68]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
jmp 0x44c21a
cmp al, 3
jne 0x44c22d
push str.0.0.0.0
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x404]
mov byte [ebp - 0x405], 1
push eax
call sub.MSVCRT.dll_memcpy
mov ax, word [esi + 0x5c]
add esp, 0xc
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0xa
pop edi
lea ebx, [esi + 0x2c]
push 0x44c267
push esi
mov ecx, ebx
call fcn.004462c5
push 0
lea eax, [ebp - 0x408]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Send
cmp eax, edi
je 0x44c262
mov ecx, ebx
call fcn.004462d8
push 0
mov ecx, esi
call fcn.0044be93
pop edi
pop esi
pop ebx
leave
ret

Function at 0x450c99
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x450d15
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x450d15
push edi
push 0x64
pop edi
lea eax, [ebp - 0x28]
push 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043a832
add esp, 0xc
dec edi
jne 0x450cc2
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
pop edi
sbb ecx, dword [ebp - 0xc]
mov edx, eax
or edx, ecx
je 0x450d15
push ecx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0046ff00
imul eax, eax, 0x64
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul qword [str.333333]
call sub.MSVCRT.dll__ftol
test eax, eax
jg 0x450d1a
mov eax, 0x29a
pop esi
leave
ret
Function at 0x4663cb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push dword [edi + 0x5c]
push 0x4ed0dc
push esi
call dword [eax + 0x20]
push dword [edi + 0x64]
mov eax, dword [esi]
push 0x4ed0e4
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
and byte [ebp + 8], 0
lea ecx, [ebp + 8]
mov ebx, 0x4ed0ec
push ecx
push ebx
push esi
call dword [eax + 0x2c]
test byte [edi + 0x34], 8
je 0x466413
or byte [ebp + 8], 1
jmp 0x466417
and byte [ebp + 8], 0
push dword [ebp + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push dword [edi + 0x1f0]
mov eax, dword [esi]
push 0x4ed0f4
push esi
call dword [eax + 0x18]
push dword [edi + 0x90]
mov eax, dword [esi]
push 0x4ed104
push esi
call dword [eax + 0x20]
push dword [edi + 0xbc]
mov eax, dword [esi]
push 0x4ed10c
push esi
call dword [eax + 0x20]
push dword [edi + 0x78]
mov eax, dword [esi]
push 0x4ed118
push esi
call dword [eax + 0x20]
mov eax, dword [edi + 0x84]
mov ebx, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
push 0x4ed120
push esi
call dword [ebx + 0x1c]
push dword [edi + 0x88]
mov eax, dword [esi]
push 0x4ed124
push esi
call dword [eax + 0x20]
push dword [edi + 0x7c]
mov eax, dword [esi]
push 0x4ed12c
push esi
call dword [eax + 0x20]
push dword [edi + 0x180]
mov eax, dword [esi]
push 0x4ed138
push esi
call dword [eax + 0x20]
push dword [edi + 0x70]
mov eax, dword [esi]
push 0x4ed140
push esi
call dword [eax + 0x20]
push dword [edi + 0x80]
mov eax, dword [esi]
push 0x4ed148
push esi
call dword [eax + 0x20]
push dword [edi + 0x74]
mov eax, dword [esi]
push 0x4ed154
push esi
call dword [eax + 0x20]
push dword [edi + 0x194]
mov eax, dword [esi]
push 0x4ed15c
push esi
call dword [eax + 0x20]
push dword [edi + 0xc4]
mov eax, dword [esi]
push 0x4ed164
push esi
call dword [eax + 0x20]
push dword [edi + 0xb8]
mov eax, dword [esi]
push 0x4ed170
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push dword [edi + 0x1ac]
push 0x4ed17c
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a8]
mov eax, dword [esi]
push 0x4ed188
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a4]
mov eax, dword [esi]
push 0x4ed194
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a0]
mov eax, dword [esi]
push 0x4ed1a4
push esi
call dword [eax + 0x20]
push dword [edi + 0x8c]
mov eax, dword [esi]
push 0x4ed1ac
push esi
call dword [eax + 0x20]
push dword [edi + 0xc0]
mov eax, dword [esi]
push 0x4ed1b8
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push 2
push 0x4ed1c8
push esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x46b755
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4d7ffa
call fcn.0046fad0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [esi], 0x4ed68c
call fcn.0046b97c
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x46b87d
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4d80ca
call fcn.0046fad0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4ed68c
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x46bce2
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4d82b2
call fcn.0046fad0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [esi], 0x4ed6a4
call fcn.0046bf69
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x46be3a
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4d83ae
call fcn.0046fad0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4ed6a4
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x46d600
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4d85cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov eax, 0x55555556
imul ebp
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
lea ecx, [edx + ebp + 3]
mov eax, ecx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
lea esi, [ecx + eax*2]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::GetBuffer
xor edi, edi
xor esi, esi
test ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jle 0x46d6ff
mov eax, dword [esp + 0x34]
xor edx, edx
mov dl, byte [esi + eax]
inc esi
shl edx, 8
cmp esi, ebp
jge 0x46d690
xor ecx, ecx
mov cl, byte [esi + eax]
or edx, ecx
inc esi
jmp 0x46d695
inc ebx
mov dword [esp + 0x10], ebx
shl edx, 8
cmp esi, ebp
jge 0x46d6a6
xor ecx, ecx
mov cl, byte [esi + eax]
or edx, ecx
inc esi
jmp 0x46d6ab
inc ebx
mov dword [esp + 0x10], ebx
lea ecx, [edi + 4]
cmp ecx, edi
mov dword [esp + 0x18], ecx
je 0x46d6f5
dec ecx
test ebx, ebx
je 0x46d6d0
mov eax, edi
sub eax, ebx
add eax, 4
cmp ecx, eax
jl 0x46d6d0
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], 0x3d
jmp 0x46d6e6
mov ebx, dword [esp + 0x14]
mov eax, edx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov ebx, dword [esp + 0x10]
shr edx, 6
cmp ecx, edi
jne 0x46d6b6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
mov edi, ecx
jl 0x46d679
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x46d750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d85f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.0046df80
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x4eda60
call fcn.0046e200
push 0x4e51ec
mov ecx, ebx
call fcn.0046f48c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46dc00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d8676
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.0046df80
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x4edb34
call fcn.0046e200
push 0x4e51ec
mov ecx, ebx
call fcn.0046f48c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret