joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d60
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x401d80
pop edi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
push ebx
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x401da9
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401df2
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
cmp eax, 6
ja case.0x401dc5.1
jmp dword [eax*4 + 0x401e08]
mov edi, 1
jmp 0x401df2
mov edi, 2
jmp 0x401df2
mov edi, 3
jmp 0x401df2
mov edi, 4
jmp 0x401df2
mov edi, 5
jmp 0x401df2
or edi, 0xffffffff
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push esi
call ebx
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x401e30
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x401e50
xor al, al
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
push esi
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x401e77
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor al, al
pop ebx
add esp, 0x1c
ret
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov edi, eax
test edi, edi
je 0x401eb4
mov eax, dword [esp + 0x10]
cmp eax, 4
je 0x401eb4
cmp eax, 2
je 0x401eb4
cmp eax, 5
je 0x401eb4
cmp eax, 6
je 0x401eb4
cmp eax, 7
je 0x401eb4
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edi, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
test edi, edi
pop edi
pop esi
setne al
pop ebx
add esp, 0x1c
ret
Function at 0x4020e0
Capabilities:
Create service
Persist via windows service
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x402104
pop edi
pop ebx
add esp, 0x1c
ret
push ebp
push esi
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x402154
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x10
push 0xf01ff
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x402154
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40218f
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40218c
mov eax, dword [esp + 0x14]
cmp eax, 4
je 0x40218c
cmp eax, 2
je 0x40218c
cmp eax, 5
je 0x40218c
cmp eax, 6
je 0x40218c
cmp eax, 7
je 0x40218c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebp
push edi
call ebp
test esi, esi
pop esi
pop ebp
je 0x4021aa
push ebx
call fcn.00401e30
add esp, 4
pop edi
movzx eax, al
pop ebx
add esp, 0x1c
ret
xor al, al
pop edi
movzx eax, al
pop ebx
add esp, 0x1c
ret

Function at 0x402b30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x60], eax
test edi, edi
push esi
jne 0x402b5b
xor al, al
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042b7d2
mov esp, ebp
pop ebp
ret
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402b60
sub eax, esi
push eax
push edx
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004022d0
lea esi, [esp + 8]
mov ecx, edi
call fcn.00402370
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
mov al, 1
call fcn.0042b7d2
mov esp, ebp
pop ebp
ret
Function at 0x406d20
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ffac3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ebp, [esi + 8]
mov ecx, ebp
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x34]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x38]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x3c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x40]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x44]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ebx, [esi + 0x48]
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x4c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x50]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x54]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x58]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push 0x533e66
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0x16
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea eax, [esp + 0x14]
mov byte [esp + 0x20], 0x17
push eax
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0x16
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x533e66
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov byte [esp + 0x24], 0x18
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0x16
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x533e66
push 0x533df4
push ebp
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esp, 0xc
push 0x533e66
push 0
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_3850]
mov al, 1
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], al
mov byte [esi + 0x5e], al
mov byte [esi + 0x5f], al
mov byte [esi + 0x60], al
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x40ad10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
push eax
push 1
push ecx
push edi
call dword [sym.imp.MSVCR80.dll_fread]
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
test bl, bl
mov byte [esp + 0xe], bl
mov dword [esi + 0x1c], eax
je 0x40ae67
mov edx, dword [esi + 0x24]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov eax, esp
mov dword [eax], edx
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x28], eax
call fcn.00408f90
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0xf]
test ebx, ebx
je 0x40ae1d
xor edx, edx
sub ebx, 1
cmp byte [esp + 0xf], dl
je 0x40ad9d
cmp byte [edi], dl
jmp 0x40ada1
cmp word [edi], 0
sete dl
test edx, edx
je 0x40adce
test eax, eax
je 0x40adc5
cmp edi, eax
je 0x40adc5
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
add ebp, 1
add edi, ecx
test ebx, ebx
jne 0x40ad8e
test eax, eax
je 0x40adf2
cmp edi, eax
je 0x40adf2
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
test ebp, ebp
je 0x40ae1d
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00408f90
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x40ae5a
test byte [esi + 4], 0x80
je 0x40ae5a
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
call fcn.00409c20
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x24]
push eax
call fcn.00408f90
add esp, 0x18
mov al, byte [esp + 0xe]
pop edi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.0040a860
pop edi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x40b570
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
test ebp, ebp
push edi
mov dword [esi + 8], ecx
jne 0x40b58c
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x40b608
test edx, edx
jne 0x40b5c5
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MFC80.DLL_Ordinal_265
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40b5e4
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
sub eax, 1
rol cx, 8
test eax, eax
mov word [edx + eax*2], cx
jne 0x40b5d0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00408f90
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x40b62e
push edi
call sub.MFC80.DLL_Ordinal_266
add esp, 4
test bl, bl
je 0x40b666
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, dword [esi + 0x24]
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00408f90
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.0040a860
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x410050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff583
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [esp + 0x70]
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x30]
mov dword [esp + 0x70], 0
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push edx
call edi
push str.__not_used
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x80], 1
call edi
add esp, 0x18
push eax
push 6
push esi
mov byte [esp + 0x74], 2
call fcn.0040f8e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x60
ret 8

Function at 0x4118b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff003
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x14], 1
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4118f6
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push eax
mov edx, esi
call fcn.00411930
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 4], 1
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x413560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fffec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], vtable.ILogger.0
call dword [sym.imp.MFC80.DLL_Ordinal_310]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CRemoteLogger.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea eax, [esi + 0x4c]
push eax
mov byte [esp + 0x20], 1
call fcn.0042a160
lea ecx, [esi + 0x2b4]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x2b8]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x2bc]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x2c0]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x2c4]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov byte [esp + 0x1c], 7
push 0x533e66
lea ecx, [esp + 0x14]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x20], 8
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 7
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x533e66
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 8], bl
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, esi
call fcn.00411ee0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x533e66
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, esi
call fcn.00411fa0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x533e66
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, esi
call fcn.00411f40
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x533e66
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, esi
call fcn.00412000
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x533e66
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, esi
call fcn.00412060
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x500af8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
or edx, 0xffffffff
mov dword [eax], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [eax + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x24], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x4167a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500561
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00416840
push eax
push esi
call fcn.004197f0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x416821
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x500e70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, 1
push edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 8], edx
push 0x5625c0
lea edx, [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b7d2
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x500e70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x5625c0
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b7d2
mov esp, ebp
pop ebp
ret 8
Function at 0x41cce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x500e40
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x5625c0
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042b7d2
mov esp, ebp
pop ebp
ret 8
Function at 0x42afc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ffc87
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], 0
call fcn.0042daf0
mov ebx, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0xd0], ebx
call fcn.0042ff00
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xdc], 3
call fcn.00432250
test al, al
je 0x42b123
push str.token
lea ecx, [esp + 0x10]
call fcn.0042ebb0
mov ecx, eax
call fcn.0042d680
test al, al
je 0x42b089
push edi
push 0x272
push str.CTokenHelper::ParseTokenFromJson
push 0x53c2f0
jmp 0x42b133
push str.expires_in
lea ecx, [esp + 0x10]
call fcn.0042ebb0
mov ecx, eax
call fcn.0042d680
test al, al
jne 0x42b0db
push str.expires_in
lea ecx, [esp + 0x10]
call fcn.0042ebb0
mov ecx, eax
call fcn.0042d150
sub eax, 0xe10
cmp eax, 0x1c20
jle 0x42b0d1
cmp eax, 0x6270
jle 0x42b0d6
mov eax, 0x6270
jmp 0x42b0d6
mov eax, 0x1c20
mov dword [0x562868], eax
push 0x53c19c
call fcn.004120c0
add esp, 4
push str.token
lea ecx, [esp + 0x10]
call fcn.0042ebb0
mov ecx, eax
call fcn.0042cf10
push eax
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x28]
mov dword [esp + 8], ebx
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x44]
push edx
jmp 0x42b163
push edi
push 0x286
push str.CTokenHelper::ParseTokenFromJson
push 0x53c340
call fcn.00412150
add esp, 0x10
push 0x533e66
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x28]
mov dword [esp + 8], ebx
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xd4], bl
call fcn.00406640
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 0
call fcn.0042dc00
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0042b7d2
add esp, 0xcc
ret

Function at 0x42b7d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54a020]
jne 0x42b7dc
repz ret
jmp fcn.0042bdd2