joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bd30
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
lea eax, [esp + 0x30]
push edi
push eax
mov dword [0x4712e4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp ebx, eax
mov dword [esp + 0x14], eax
jae 0x44bdd2
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [0x4710ac]
lea ecx, [esp + 0x18]
push 0x1c
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov ecx, dword [esp + 0x28]
mov eax, 0x1000
cmp ecx, eax
jne 0x44bdc4
cmp dword [esp + 0x2c], 4
jne 0x44bdc4
cmp dword [esp + 0x24], eax
jb 0x44bdc4
mov edx, dword [0x4710ac]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
push 0x100
push ecx
push ebx
push edx
call ebp
mov ecx, 0x11
mov edi, str.AUCHeroListNode__
lea esi, [esp + 0xc6]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x44bddf
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add ebx, ecx
cmp ebx, eax
jb 0x44bd65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x148
ret
xor edi, edi
lea eax, [esp + 0xe0]
lea esi, [ebx + 0x88]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x44bdfc
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x44be23
cmp edi, 0x400
ja 0x44bdd2
mov eax, dword [0x4710ac]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x5c]
add esi, 0x18
push 0x18
push edx
push esi
push eax
inc edi
call ebp
lea eax, [esp + 0x58]
jmp 0x44bdee
xor esi, esi
cmp dword [eax], 0
jne 0x44be31
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44be6a
cmp esi, 0x400
ja 0x44bdd2
mov eax, dword [eax + 8]
lea edx, [esp + 0x10]
mov dword [0x4712ec], eax
push edx
mov edx, dword [0x4710ac]
lea ecx, [eax + 4]
mov dword [0x4712e8], ecx
lea ecx, [esp + 0x5c]
push 0x18
add eax, 0xfffffff8
push ecx
push eax
push edx
inc esi
call ebp
lea eax, [esp + 0x58]
jmp 0x44be25
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x4712e4], eax
pop ebx
add esp, 0x148
ret
Function at 0x502028ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 0x502028fb
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_LoadLibraryA
mov esp, ebp
pop ebp
ret 4

Function at 0x502028ff
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push 0x40
push 0x1000
push 0x23e0
push 0
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
test ebx, ebx
je 0x50202986
push 0x23e0
push 0x50200478
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
mov edx, ebx
add edx, eax
xor byte [edx], 0x56
inc eax
cmp eax, 0x23e0
jne 0x5020292f
xor eax, eax
mov edx, 0x5020043c
add edx, eax
xor byte [edx], 0x56
inc eax
cmp eax, 0x3c
jne 0x50202940
push 0x3c
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push 0x3c
push 0x5020043c
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x50202b78
push 0
push esi
push ebx
push 0x100000
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle
pop esi
pop ebx
ret
Function at 0x405ca5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x4120d0]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00403924
mov dword [ebp - 0x14], eax
cmp dword [0x4140e8], esi
jne 0x405d98
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x405d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x405e78
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x405e78
push 0x40d720
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405e78
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4140e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4140ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4140f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4140f8], eax
test eax, eax
je 0x405d95
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4140f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x405dbd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405db0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x405dd2
push 4
pop eax
jmp 0x405e7a
cmp dword [ebp - 0x14], esi
je 0x405dd2
push dword [0x4140e8]
call dword [0x4120d4]
push 3
jmp 0x405db7
mov eax, dword [0x4140f4]
mov ebx, dword [0x4120d4]
cmp eax, edi
je 0x405e30
cmp dword [0x4140f8], edi
je 0x405e30
push eax
call ebx
push dword [0x4140f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x405e30
test eax, eax
je 0x405e30
call ecx
test eax, eax
je 0x405e25
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x405e25
test byte [ebp - 8], 1
jne 0x405e30
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x405e60
mov eax, dword [0x4140ec]
cmp eax, edi
je 0x405e5d
push eax
call ebx
test eax, eax
je 0x405e5d
call eax
mov esi, eax
test esi, esi
je 0x405e5d
mov eax, dword [0x4140f0]
cmp eax, edi
je 0x405e5d
push eax
call ebx
test eax, eax
je 0x405e5d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4140e8]
call ebx
test eax, eax
je 0x405e78
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x405e7a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ef1
mov esp, ebp
pop ebp
ret
Function at 0x41e000
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x41edb7
call fcn.0041e00f
jmp fcn.00401d7c
Function at 0x41e693
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41e6c1
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41e6b8
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41e6b0
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41e6e2
mov esp, ebp
pop ebp
ret

Function at 0x41e6e6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x41e752
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41e77f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41e76e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41e75f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x41e7a5
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x41e746
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41e7d1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432be6
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea edi, [esi + 0x34]
mov ecx, edi
mov byte [esp + 0x1c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ebp, [esi + 0x7c]
mov ecx, ebp
mov byte [esp + 0x1c], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, 4
mov byte [esp + 0x1c], al
mov dword [esi + 0x68], eax
mov eax, 3
push str.C:TestSpeedTestSpeed.exe
mov ecx, edi
mov dword [esi + 0x64], 1
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 5
mov dword [esi + 0x60], 0x1e
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0xbb8
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], 1
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
fld dword [0x43bcbc]
push str.c:__
fstp dword [esi + 0x58]
mov ecx, ebp
mov dword [esi + 0x50], 0x800
mov dword [esi + 0x54], 1
mov dword [esi + 0x5c], 0x1400
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x402010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432b42
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ebx, [esi + 0xc]
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov byte [esp + 0x1c], 2
push 0x438598
mov ecx, ebx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov dword [esi + 0x48], edi
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 0x4022f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x433250
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], esi
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 1
mov dword [esi + 4], vtable.yh_FileUpload::FileUploadTaskObserver.0
fstp dword [esi + 0x10]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 8], eax
mov al, byte [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
mov dword [esi], vtable.CTestSpeedManager.0
mov dword [esi + 4], vtable.CTestSpeedManager.1.0
mov dword [esi + 0x14], edx
mov byte [esi + 0x18], al
call fcn.004017f0
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x24], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x20], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ebp, [esi + 0x68]
mov ecx, ebp
mov byte [esp + 0x20], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x20], 5
xor ebx, ebx
push 0x438598
mov ecx, edi
mov dword [esi + 0x48], ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x438598
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi + 0xc]
push 0x18
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, ebx
je 0x4023fa
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
jmp 0x4023fc
xor eax, eax
push eax
mov dword [esi + 0x98], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x20], bl
lea ebx, [esp + 0x50]
call fcn.00401920
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 0x38
Function at 0x405760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43318f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
push 0x438598
lea ecx, [esi + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
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 dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x438598
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
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 byte [esp + 0x14], 2
push 0x438598
lea ecx, [esi + 0x60]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
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 0x438598
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 3
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 eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40ad90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4329b9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_protected:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool__unsigned_int_]
mov eax, dword [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
mov edx, edi
call fcn.0040ae40
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::replace_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_String_iterator_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__]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
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 + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00431147
add esp, 0x30
ret 0x14
Function at 0x40b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431f81
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor edi, edi
lea ecx, [esi + 0x5c]
mov dword [esp + 0x14], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x412250
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x433739
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add eax, 0x7c
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_recent_ip.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov eax, dword [0x446604]
push 0xffffffffffffffff
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x28], 8
jb 0x4122d4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4122d8
jmp 0x4122e9
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR80.dll__wremove]
add esp, 4
neg eax
sbb eax, eax
add eax, 1
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00431147
add esp, 0x30
ret