joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ea0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x411ee6
push str.enable_privilege
call fcn.004f19ba
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov edx, str.SeDebugPrivilege
call fcn.00411e00
add esp, 4
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x412120
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x438], eax
mov esi, ecx
call fcn.00411ea0
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412189
push str.CreateToolhelp32Snapshot___failed_
call fcn.004f19ba
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x41216d
mov edi, dword [edi]
push edi
call fcn.004f1a69
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x4121cc
push str.Module32First
call fcn.004f19ba
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x4121e0
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x414]
push eax
call fcn.004075d0
push eax
call ebx
test eax, eax
je 0x412221
lea eax, [ebp - 0x434]
push eax
push esi
call edi
test eax, eax
jne 0x4121e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea604
mov esp, ebp
pop ebp
ret
Function at 0x4124e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412527
push str.CreateToolhelp32Snapshot__of_processes_
call fcn.004f19ba
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x412552
push str.Process32First
call fcn.004f19ba
add esp, 4
jmp 0x4125ac
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], eax
jmp 0x412570
mov eax, dword [ebp - 0x230]
mov ecx, edi
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
call fcn.00414530
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.00414600
lea eax, [ebp - 0x238]
push eax
push esi
call ebx
test eax, eax
jne 0x412570
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x4125d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x412615
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push dword [ebp - 0x11c]
push str.windows_os_dwMajorVersion___d
push 0x6a7
push str.isWin7OS
call fcn.00439030
mov ecx, dword [ebp - 4]
add esp, 0x10
cmp dword [ebp - 0x11c], 6
setae al
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x412650
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x412695
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x4126b7
cmp dword [ebp - 0x118], 2
jb 0x4126b7
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
Function at 0x412b40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526808
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049d11c
add esp, 4
mov dword [ebp - 0x2c], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp word [eax], 0
je 0x412c26
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
call edi
test eax, eax
je 0x412c0e
cmp eax, 1
je 0x412c0e
cmp eax, 2
je 0x412c0e
cmp eax, 4
je 0x412c0e
cmp eax, 5
je 0x412c0e
cmp eax, 6
je 0x412c0e
mov ecx, esi
call fcn.00412f10
test al, al
jne 0x412c0e
push esi
lea ecx, [ebp - 0x28]
call fcn.00407570
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00409080
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x412c0e
push dword [ebp - 0x28]
call fcn.004db8b0
add esp, 4
push 0
push esi
call fcn.004eb3c7
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x412bb0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004eb213
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
Function at 0x413050
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x14], 7
push str.._
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407470
mov dword [ebp - 4], 0
cmp word [esi], 0
jne 0x4130b0
xor ecx, ecx
jmp 0x4130c4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4130b5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00413c00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x413163
push 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
push 0xc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 8
push ecx
push 0xc
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x38], 1
jne 0x41314c
push 0x55a284
push 0x876
push str.isSSD
call fcn.00439030
add esp, 0xc
mov bl, 1
jmp 0x413165
push str.It_is_not_suport_trim
push 0x87a
push str.isSSD
call fcn.00439030
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x413176
push dword [ebp - 0x28]
call fcn.004db8b0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x413260
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004f31f0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4132b4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x108], 2
jne 0x4132c2
call fcn.004131a0
push 0
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x4132e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.004f31f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
jb 0x413318
mov eax, dword [esi]
jmp 0x41331a
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x413351
cmp dword [esi + 0x14], 8
jb 0x41333a
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526e98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57f7a0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov eax, dword [0x57f7a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push str.postInstalling
push 0x7d
push str.LDConfigImp::postInstalling
call fcn.00439030
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0043e010
push 0x1b
xor eax, eax
mov dword [esp + 0x30], 7
push str.leidian_fb_msg_wnd_class_ui
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00407470
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea ecx, [esp + 0x10]
call fcn.0043e040
mov dword [esp + 0x40], 0xffffffff
mov bl, al
cmp dword [esp + 0x2c], 8
jb 0x41531c
push dword [esp + 0x18]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
test bl, bl
je 0x415378
push eax
push 0xffffffffffffffff
push 0x3f1
lea ecx, [esp + 0x18]
call fcn.0043e180
test al, al
je 0x415358
push str.remote_post_run_installing
push 0x86
jmp 0x415382
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.remote_post_installing_error__d
push 0x89
push str.LDConfigImp::postInstalling
call fcn.00439030
add esp, 0x10
jmp 0x41538f
push str.remote_not_exist
push 0x8d
push str.LDConfigImp::postInstalling
call fcn.00439030
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004ea604
mov esp, ebp
pop ebp
ret

Function at 0x415890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526e98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57f7a0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov eax, dword [0x57f7a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0043e010
push 0x26
xor eax, eax
mov dword [esp + 0x30], 7
push str.2266E930_7040_4A6B_B7C8_E44663785cdd
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00407470
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea ecx, [esp + 0x10]
call fcn.0043e040
mov dword [esp + 0x40], 0xffffffff
mov bl, al
cmp dword [esp + 0x2c], 8
jb 0x415928
push dword [esp + 0x18]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
test bl, bl
je 0x41595e
push str.downloader_exist
push 0xe4
push str.LDConfigImp::isDownloaderExist
call fcn.00439030
add esp, 0xc
mov al, 1
jmp 0x415977
push str.downloder_not_exist
push 0xe8
push str.LDConfigImp::isDownloaderExist
call fcn.00439030
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
Function at 0x415c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2011f
push 0
push 0
push 0
push str.SoftwareXuanZhildmultiplay
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x415d17
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x415cc4
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x415ced
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
push str.install_writeRegedit_machine__key__INSTALL_REG_LOCATION__failed_
push 0x147
push str.LDConfigImp::saveMulPath
call fcn.00439030
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x416ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5270df
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x57f7a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x55ae8c
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00417220
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 4]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.00417630
push eax
mov dword [ebp - 4], 2
call fcn.00417510
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416f9c
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x416f9c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x416fc1
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00417c00
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.00417160
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [0x589340]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417970
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x527228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57f7a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x57f7a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040e390
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00417890
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x4179ed
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.004efd1e
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x417a16
push dword [esp + 0x10]
call fcn.004db8b0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ea604
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4191d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5273b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57f7a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x57f7a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x419324
cmp byte [ebx + 0x45], 0
je 0x419324
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x419230
xor al, al
jmp 0x419326
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x419270
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4192b1
dec eax
je 0x4192b5
sub eax, 2
je 0x41930b
xor bl, bl
jmp 0x41930d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x4192ec
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004f1d71
add esp, 0x10
cmp esi, eax
jne 0x4192ad
cmp byte [ebx + 0x45], 0
je 0x41930b
test esi, esi
jne 0x419270
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00414cb0
jmp 0x419270
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x419320
push dword [esp + 0x18]
call fcn.004db8b0
add esp, 4
mov al, bl
jmp 0x419326
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
Function at 0x41f700
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5277db
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041f920
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x41f759
cmp eax, 0x6f
jne 0x41f788
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x41f788
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x41f7a6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x41f7c0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x41f7dc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x41f8e9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.004f31f0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004ec2b0
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x41f880
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f871
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00407470
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0041f980
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x41f90c
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x41f8e9
push dword [ebp - 0x244]
call fcn.004db8b0
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x41f7c0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x41f78a
push str.list_T__too_long
call fcn.0049d0ba
int3