joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4050d9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4db30e
call fcn.004d1ec0
sub esp, 0x44
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x20], ecx
xor esi, esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4051ec
mov dword [ebp - 0x14], esi
push esi
push esi
push 0x80
push 3
push 1
push 1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x14]
call fcn.004015c2
cmp eax, esi
je 0x405152
cmp dword [ebp - 0x14], esi
je 0x4051ec
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4051ec
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
push 4
push 2
push esi
push esi
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004015f8
cmp eax, esi
jne 0x4051d3
cmp dword [ebp - 0x50], esi
je 0x4051d3
mov ecx, dword [ebp - 0x20]
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00404604
mov edi, dword [ebp - 0x18]
cmp edi, esi
mov ebx, eax
je 0x4051d2
cmp ebx, esi
je 0x4051cc
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp - 0x1c]
push 0x1401
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
lea ecx, [ebp - 0x50]
call fcn.004016a5
cmp dword [ebp - 0x14], esi
je 0x4051e9
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 0x1c
Function at 0x405214
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 8]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SOFTWAREThunder_NetworkThunderOem_thunder_backwnd
push reloc.libexpat.dll_Ordinal_2
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405395
cmp dword [ebp - 8], ebx
je 0x405395
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, str.ThunderAgent.TaskList2.Unicode
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], 3
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x4052da
cmp dword [ebp - 4], ebx
je 0x4052da
push dword [ebp - 4]
call fcn.004d1ab7
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
je 0x4052a8
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x10], ebx
je 0x4052da
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00403b42
jmp 0x40535a
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, str.ThunderAgent.TaskList2
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x405388
cmp dword [ebp - 4], ebx
je 0x405388
push dword [ebp - 4]
call fcn.004d1ab7
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
je 0x40532d
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x10], ebx
je 0x405388
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00404604
push dword [ebp - 0x10]
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov esi, dword [ebp - 0x14]
cmp esi, ebx
pop ecx
je 0x405388
mov eax, dword [esi]
push esi
call dword [eax + 4]
push esi
push dword [ebp - 0x18]
push 0x1401
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
jmp 0x40539b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
leave
ret
Function at 0x4053f7
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xe0
mov eax, dword [0x52f220]
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x7c]
push 0x31
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
pop ecx
push dword [ebp + 0x74]
xor eax, eax
xor esi, esi
mov word [ebp - 0x60], si
lea edi, [ebp - 0x5e]
rep stosd dword es:[edi], eax
push str.ThunderAgent.Unicode
stosw word es:[edi], ax
lea eax, [ebp - 0x60]
push str._s_TaskData__08x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push esi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x40549c
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x405493
push dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push edi
call fcn.00403b42
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x6c
leave
ret 0xc

Function at 0x4054b2
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xe0
mov eax, dword [0x52f220]
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x7c]
push 0x31
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
pop ecx
push dword [ebp + 0x74]
xor eax, eax
xor esi, esi
mov word [ebp - 0x60], si
lea edi, [ebp - 0x5e]
rep stosd dword es:[edi], eax
push str.ThunderAgent
stosw word es:[edi], ax
lea eax, [ebp - 0x60]
push str._s_TaskData__08x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push esi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x405557
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x40554e
push dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push edi
call fcn.00404604
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x6c
leave
ret 0xc
Function at 0x40556d
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0xf4
mov eax, dword [0x52f220]
xor eax, ebp
and word [ebp - 0x7c], 0
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x70]
push ebx
mov ebx, dword [ebp + 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x74]
push esi
mov esi, dword [ebp + 0x5c]
push edi
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x7c]
push 0x31
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x94], ecx
pop ecx
push dword [ebp + 0x58]
xor eax, eax
lea edi, [ebp - 0x7a]
rep stosd dword es:[edi], eax
push str.ThunderAgent.Unicode
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push str._s_TaskData__08x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
xor edi, edi
push edi
push 4
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [ebp - 0x9c], eax
je 0x405677
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x40566b
push dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x94]
push dword [ebp - 0xa4]
push dword [ebp - 0x98]
push dword [ebp - 0x90]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push ebx
push esi
push edi
call fcn.004034e8
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x50
leave
ret 0x28
Function at 0x406f5e
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x9a4]
sub esp, 0xa24
mov eax, dword [0x52f220]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp + 0x9a0], eax
mov eax, dword [ebp + 0x9ac]
push str..CrashRevert
mov dword [ebp - 0x78], eax
push 0x52f858
lea eax, [ebp + 0x798]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x68], bx
mov ecx, 0x1ff
lea edi, [ebp - 0x66]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x798]
push eax
push 0x3ff
lea eax, [ebp - 0x68]
push eax
push 0x4ed274
push str.taskid
push 0x4ed634
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x68]
mov eax, esi
push 0x4ed630
push eax
call dword [sym.imp.MSVCR71.dll_wcsstr]
jmp 0x40705c
push esi
mov word [edi], bx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
jbe 0x40703b
mov eax, dword [ebp - 0x6c]
movzx eax, word [esi + eax*2]
push 0
push 0xa
push dword [ebp - 0x70]
sub eax, 0x30
push dword [ebp - 0x74]
cdq
mov edi, eax
mov ebx, edx
call fcn.004d1ff0
add edi, eax
adc ebx, edx
inc dword [ebp - 0x6c]
push esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], ebx
call dword [sym.imp.MSVCR71.dll_wcslen]
cmp dword [ebp - 0x6c], eax
pop ecx
jb 0x407000
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406d7c
lea esi, [edi + 2]
push 0x4ed630
push esi
call dword [sym.imp.MSVCR71.dll_wcsstr]
xor ebx, ebx
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
jne 0x406fe8
mov ecx, dword [ebp + 0x9a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x9a4
leave
ret 4
Function at 0x408188
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push edi
xor edi, edi
cmp dword [0x530ca8], edi
jne 0x4081a3
mov eax, 0x40000006
jmp 0x408218
cmp dword [ebp + 8], edi
jne 0x4081ad
push 8
pop eax
jmp 0x408218
cmp dword [ebp + 0xc], edi
je 0x4081b9
mov eax, 0x40000001
jmp 0x408218
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4081cd
mov eax, 0x40000002
jmp 0x408218
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.00401d60
mov eax, dword [eax]
push edi
push eax
call sub.XLFSIO.dll_zipOpen
mov esi, eax
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x84], eax
pop ecx
pop ecx
je 0x408201
push dword [ebp - 0x84]
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
cmp esi, edi
je 0x408212
push edi
push esi
call sub.XLFSIO.dll_zipClose
pop ecx
pop ecx
xor eax, eax
jmp 0x408217
mov eax, 0x40000003
pop esi
pop edi
leave
ret
Function at 0x40821b
Capabilities:
Copy file

Disassembly:
mov eax, 0x4db6ef
call fcn.004d1ec0
sub esp, 0x288
mov eax, dword [0x52f220]
push esi
push edi
mov esi, ecx
xor eax, ebp
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x280], edi
call fcn.00401221
test eax, eax
jbe 0x40830e
push ebx
mov eax, dword [esi + 0x28]
cmp dword [edi + eax + 0x14], 0
je 0x4082f0
lea ecx, [ebp - 0x27c]
add eax, edi
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x284], eax
je 0x4082f0
mov eax, dword [esi + 0x78]
cmp dword [ebp - 0x264], eax
ja 0x40829b
jne 0x4082e4
mov eax, dword [ebp - 0x268]
cmp eax, dword [esi + 0x74]
jbe 0x4082e4
mov eax, dword [esi + 0x28]
add eax, edi
push str..backup
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407691
add esp, 0xc
mov eax, dword [esi + 0x28]
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x2c]
lea ebx, [edi + eax]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [ebp - 0x280]
lea ecx, [esi + 0x24]
add edi, 0x1c
call fcn.00401221
cmp dword [ebp - 0x280], eax
jb 0x408252
pop ebx
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
add esi, 0x74
push esi
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4

Function at 0x408552
Capabilities:
Create thread

Disassembly:
mov eax, 0x4db65d
call fcn.004d1ec0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push 1
lea eax, [esi + 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407ed3
xor ebx, ebx
cmp dword [esi + 0x48], ebx
mov dword [ebp - 4], ebx
jne 0x408597
lea eax, [esi + 0x4c]
push eax
push ebx
push esi
push 0x40841d
push ebx
push ebx
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x48], eax
je 0x4085b1
push dword [ebp + 8]
lea ecx, [esi + 0x34]
mov eax, dword [ecx + 4]
push eax
call fcn.00408390
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.00407efc
mov ecx, dword [ebp - 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x408921
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4db671
call fcn.004d1ec0
sub esp, 0x14
cmp dword [0x530ca8], 0
jne 0x408941
mov eax, 0x40000006
jmp 0x4089db
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408956
push 2
pop eax
jmp 0x4089db
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x40896c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040878a
pop ecx
pop ecx
jmp 0x4089db
mov ecx, dword [eax + 4]
mov eax, dword [eax]
and dword [ebp - 0x14], 0
push 0x38
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
call fcn.004d1a92
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x40899e
call fcn.0040753d
jmp 0x4089a0
xor eax, eax
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4089af
mov eax, 0x40000005
jmp 0x4089db
push dword [ebp + 8]
xor ecx, ecx
call dword [0x4ec734]
push dword [ebp + 0xc]
push 0x1c
pop ecx
call dword [0x4ec734]
mov ecx, dword [0x530ca8]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
call fcn.00408552
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x408c9b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4db6ef
call fcn.004d1ec0
sub esp, 0x20
mov eax, dword [0x52f220]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408cd9
push dword [esi + 0x68]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [esi + 0x48], ebx
je 0x408d18
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x408cf4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7d0
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x408d10
push dword [esi + 0x48]
call dword [sym.imp.MSVCR71.dll__endthreadex]
pop ecx
push dword [esi + 0x48]
call edi
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x408d25
push eax
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x408d32
push eax
call edi
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x38]
mov dword [esi + 0x4c], ebx
mov edi, dword [eax]
cmp edi, eax
je 0x408d51
push dword [edi + 0x14]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 0x14], ebx
mov edi, dword [edi]
cmp edi, dword [esi + 0x38]
pop ecx
jne 0x408d3e
lea ecx, [esi + 0x34]
call fcn.004ada88
mov edi, dword [esi + 0x28]
jmp 0x408d93
push str..backup
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00407691
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add edi, 0x1c
cmp edi, dword [esi + 0x2c]
jne 0x408d5e
lea ecx, [esi + 0x24]
call fcn.0040284a
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004d1f17
leave
ret
Function at 0x408e48
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
mov esi, ecx
push Ordinal_1
xor edi, edi
push ebx
inc edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x7d0
mov byte [esi + 0x70], bl
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
push ecx
mov dword [eax], ebx
mov eax, esp
push ebx
mov dword [eax], ebx
call fcn.00407e77
cmp dword [esi + 4], ebx
je 0x408ec0
push ebx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x408ec0
push ebx
push ebx
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x408ec0
lea eax, [esi + 0x4c]
push eax
push 4
push esi
push 0x40841d
push ebx
push ebx
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x408ecb
mov ecx, esi
call fcn.00408c9b
xor al, al
jmp 0x408ed4
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x40ed24
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dbc62
call fcn.004d1ec0
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], vtable.xl::xml::basic_xml_element_char_.0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push dword [ebp + 8]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
mov dword [esi + 8], ebx
call dword [sym.imp.MSVCP71.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 [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x7c], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40f5a0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4dbcdf
call fcn.004d1ec0
sub esp, 0x20
mov eax, dword [0x52f220]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x4ed7dc
push eax
mov edi, ecx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x40f5d6
xor al, al
jmp 0x40f624
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0040f4e3
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4