joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456420
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4f8269
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0049c560
mov eax, dword [0x5384a8]
xor eax, esp
mov dword [esp + 0x1074], eax
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x108c]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x109c], 0
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x456517
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x18]
xor ecx, ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x40]
push eax
push ecx
push ecx
push 0x10
push 1
push ecx
mov word [esp + 0x88], cx
push ecx
lea ecx, [esp + 0x10bc]
mov dword [esp + 0x88], 0x101
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x456536
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
xor eax, eax
jmp 0x4565ee
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
push 0xfff
lea ecx, [esp + 0x89]
push 0
push ecx
mov byte [esp + 0x90], 0
call fcn.0048f390
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
je 0x4565b6
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0x1f4
call edi
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
jne 0x456590
mov edx, dword [esp + 0x30]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x108c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.0047d0e0
add esp, 0x1088
ret 0x84
Function at 0x456620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fda8c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x12c]
xor ebx, ebx
xor eax, eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x28], 7
mov dword [edi + 0x24], ebx
mov word [edi + 0x14], ax
lea ebp, [edi + 0x30]
mov dword [esp + 0x124], ebx
mov ecx, ebp
mov dword [edi], vtable.CRasCtl.0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea esi, [esp + 0x98]
mov byte [esp + 0x124], 1
call fcn.004010b0
push 0x520f24
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x12c], 2
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
push eax
mov ecx, ebp
mov byte [esp + 0x128], 3
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
mov byte [esp + 0x124], 2
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x14]
call esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x124], 1
call esi
mov dword [edi + 0xb4], ebx
mov eax, edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4

Function at 0x456710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fa1c8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CRasCtl.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], vtable.CDailBase.0
add esi, 0xc
cmp dword [esi + 0x1c], 8
jb 0x45676f
mov eax, dword [esi + 8]
push eax
call fcn.0047d3e0
add esp, 4
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], cx
mov ecx, esi
call fcn.00401050
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x458cf0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f863e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5384a8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
push str.wangka
lea ecx, [eax + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov eax, dword [esi + 0x550]
mov edx, dword [eax + 0x20]
lea ebx, [esi + 0x550]
mov ecx, ebx
mov dword [esp + 0x18], esi
call edx
push 0x288
call fcn.00480a50
mov ebp, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x458d95
push ebp
call fcn.0047d3c0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00480a50
add esp, 8
mov ebp, eax
lea edx, [esp + 0x14]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x458e8e
mov edi, ebp
test ebp, ebp
je 0x458e79
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x458dc6
cmp eax, 0x47
jne 0x458e6b
lea eax, [edi + 0x10c]
push str.TAP_Win32
push eax
call fcn.00486be0
add esp, 8
test eax, eax
jne 0x458e6b
mov edx, dword [edi + 0x19c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00458ed0
push 0x568
call fcn.0047ffe0
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x22c], 0
test esi, esi
je 0x458e25
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov dword [esi], vtable.DuiLib::CListLabelElementUI.0
jmp 0x458e27
xor esi, esi
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x19c]
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push 0x17
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push esi
mov ecx, ebx
call edx
mov edi, dword [edi]
test edi, edi
jne 0x458db2
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x698]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x698]
push 0
push 0
call edx
push ebp
call fcn.0047d3c0
add esp, 4
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0047d0e0
add esp, 0x21c
ret 4
Function at 0x459320
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4fe977
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x521b6c
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0045a310
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0045acb0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x541c44]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
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 0x459fa0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4fe932
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x522838
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0045a280
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0045acb0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x541c44]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x1c], 2
call fcn.0045a560
test eax, eax
jne 0x45a090
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x45a089
or eax, 4
push ebx
push eax
call fcn.00403db0
mov eax, edi
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 0x45acb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f8b4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0047c010
push 0x1b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_streambuf
mov dword [esp + 0x24], 0
call fcn.0047abb0
push eax
push 4
call fcn.0047aac0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45ad3b
call fcn.0047b4d0
mov dword [edi], eax
call fcn.0047b2a0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0047ac60
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x45ad30
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0047aca0
jmp 0x45ad3d
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0x45c760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4fb0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5384a8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
mov eax, 0x10
mov esi, ecx
cmp dword [ebp + 0x3c], eax
jb 0x45c7b3
mov ebx, dword [ebp + 0x28]
jmp 0x45c7b6
lea ebx, [ebp + 0x28]
cmp dword [ebp + 0x1c], eax
jb 0x45c7c0
mov eax, dword [ebp + 8]
jmp 0x45c7c3
lea eax, [ebp + 8]
add ebp, 0x40
push ebp
call fcn.004737b0
push str.Delete_From_diqulist
mov eax, ebp
call fcn.00473930
mov ebx, eax
push str.BEGIN_TRANSACTION_
mov eax, ebp
mov dword [esp + 0x1c], ebx
call fcn.00473930
push 0x1ff
lea eax, [esp + 0x69]
push 0
push eax
mov byte [esp + 0x70], 0
call fcn.0048f390
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
xor edi, edi
test ecx, ecx
jle 0x45c8ef
call fcn.00428a00
mov ebx, eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00406160
mov dword [esp + 0x274], 0
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x3c], edx
mov eax, dword [ebx + 0x24]
add ebx, 0x28
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.00406160
mov dword [esp + 0x274], 1
mov ecx, dword [esp + 0x4c]
mov eax, 0x10
cmp dword [esp + 0x60], eax
jae 0x45c879
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
jae 0x45c887
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
push eax
push str.INSERT_INTO_diqulist_name_tagid_status_statustext__VALUES__s__d__d__s_
lea eax, [esp + 0x78]
push 0x200
push eax
call fcn.0047ff80
add esp, 0x1c
lea ecx, [esp + 0x64]
push ecx
mov eax, ebp
call fcn.00473930
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x278], 0xffffffff
call fcn.00417240
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jl 0x45c824
mov ebx, dword [esp + 0x18]
push str.COMMIT_TRANSACTION_
mov eax, ebp
call fcn.00473930
mov eax, dword [ebp + 4]
test eax, eax
je 0x45c912
push eax
call fcn.004b5e48
add esp, 4
mov dword [ebp + 4], 0
mov eax, ebx
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0047d0e0
add esp, 0x264
ret 4
Function at 0x45ed50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4fed27
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x522830
mov dword [edi + 8], 0x522838
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0045f310
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.0045acb0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x541c44]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
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 0x465c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4faf68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov dword [esp + 0x24], esp
call fcn.004749c0
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov byte [esp + 0x40], 2
mov dword [esp + 0x34], esp
call fcn.004749c0
mov byte [esp + 0x40], 1
call fcn.00465e80
add esp, 0x24
mov esi, eax
mov byte [esp + 0x1c], 0
call fcn.004026b0
lea edi, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004026b0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x46b260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fad11
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.0046aab0
sub esp, 0xc
mov byte [esp + 0x48], 4
lea edx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0046b580
sub esp, 8
lea ecx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov byte [esp + 0x58], 5
call fcn.0046b580
add esp, 4
push esi
mov byte [esp + 0x58], 3
call fcn.0046b5b0
add esp, 0x34
lea edi, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.004026b0
lea edi, [esp + 0x3c]
mov byte [esp + 0x24], 1
call fcn.004026b0
lea edi, [esp + 0x48]
mov byte [esp + 0x24], 0
call fcn.004026b0
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 0x46b350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fad11
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.0046aab0
sub esp, 0xc
mov byte [esp + 0x48], 4
lea edx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0046b580
sub esp, 8
lea ecx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov byte [esp + 0x58], 5
call fcn.0046b580
add esp, 4
push esi
mov byte [esp + 0x58], 3
call fcn.0046b6e0
add esp, 0x34
lea edi, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.004026b0
lea edi, [esp + 0x3c]
mov byte [esp + 0x24], 1
call fcn.004026b0
lea edi, [esp + 0x48]
mov byte [esp + 0x24], 0
call fcn.004026b0
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 0x46d000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fc070
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5384a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax], vtable.Json::StyledWriter.0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x30], ecx
mov edx, 0xf
mov dword [eax + 0x34], edx
mov byte [eax + 0x20], cl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], ecx
mov byte [eax + 0x40], cl
mov dword [eax + 0x58], 0x4a
mov dword [eax + 0x5c], 3
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4
Function at 0x471700
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x471705
sub eax, edx
push edi
mov edi, eax
xor ecx, ecx
test edi, edi
jle 0x47173c
jmp 0x471720
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
mov al, byte [ebx + edx*4]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x471720
pop edi
ret
Function at 0x472d80
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x472db7
pop esi
xor al, al
pop ebx
pop ecx
ret 4
push ebp
call fcn.00473080
mov eax, dword [esi]
mov ebp, dword [sym.imp.libcurl.dll_curl_easy_setopt]
push 1
push 0x50
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push ecx
push 0x2712
push edx
call ebp
mov eax, dword [esi]
push eax
mov dword [esi + 0x30], 1
call dword [sym.imp.libcurl.dll_curl_easy_perform]
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x200002
push edx
mov dword [esi + 0xc], eax
call dword [sym.imp.libcurl.dll_curl_easy_getinfo]
mov eax, dword [esi + 8]
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
test eax, eax
je 0x472e1a
mov dword [esi + 8], 0xffffffff
cmp dword [esi + 0xc], 0
jne 0x472e34
cmp dword [esp + 8], 0xc8
jne 0x472e34
mov bl, 1
pop esi
mov al, bl
pop ebx
pop ecx
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
mov al, bl
pop ebx
pop ecx
ret 4