joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4607f4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e9c
xor eax, eax
push ebp
push 0x460929
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4608fc
xor edx, edx
push ebp
push 0x4608f5
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x460841
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4608ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4608b9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x460880
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404eac
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402f0c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4608c0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46dc28]
mov dl, 1
mov eax, dword [0x407ca4]
call fcn.0040c800
call fcn.0040437c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460930
lea eax, [ebp - 4]
call fcn.004049e8
ret
Function at 0x460938
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x460af3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405198
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x460b0c
call fcn.00404cf8
mov eax, ebx
call fcn.00422808
mov edi, eax
dec edi
test edi, edi
jl 0x4609f0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004227dc
mov edx, dword [0x45ebb4]
call fcn.00403c94
test al, al
je 0x4609ec
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004227dc
lea edx, [ebp - 0x14]
call fcn.00440110
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405198
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404d6c
inc esi
dec edi
jne 0x46099e
movzx eax, byte [0x460b10]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x460b1c
mov eax, dword [ebp - 8]
call fcn.0040da98
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404a80
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00440110
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x460b0c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00440110
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x460b0c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x460b0c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x460b28
call fcn.00409c48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460afa
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a0c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a0c
lea eax, [ebp - 0x14]
call fcn.004049e8
lea eax, [ebp - 0x10]
call fcn.004049e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a0c
ret
Function at 0x461ec4
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e9c
xor eax, eax
push ebp
push 0x461f42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404eac
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x461f0d
mov eax, dword [ebx + 4]
call fcn.00404eac
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f49
lea eax, [ebp - 4]
call fcn.004049e8
ret

Function at 0x462ff8
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46319d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00403168
cmp word [ebx + 0xa2], 0
je 0x463041
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x463055
lea esi, [ebp - 0xc]
jmp 0x463057
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x463064
xor edi, edi
jmp 0x463071
mov eax, dword [ebx + 0x80]
call fcn.00404eac
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404eac
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004626a8
mov eax, dword [ebp - 0x14]
call fcn.00404eac
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404eac
push eax
mov eax, dword [ebp - 4]
call fcn.00404eac
push eax
mov eax, ebx
call fcn.004627e8
push eax
mov eax, ebx
call fcn.004627bc
push eax
mov eax, ebx
call fcn.00462774
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00462560
mov eax, dword [ebp - 0x18]
call fcn.00404eac
push eax
mov eax, dword [ebx + 8]
call fcn.00404eac
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x4630fa
call fcn.0040dff8
xor edx, edx
push ebp
push 0x463173
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x463138
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x46312e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46315c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46317a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4631ac
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4631d8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404eac
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4631fd
call fcn.0040dff8
xor eax, eax
push ebp
push 0x463234
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x46321d
call fcn.0040dff8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46323b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x46a234
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x46a2c4
call sub.wininet.dll_InternetOpenA
mov edi, eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00404eac
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
mov dword [esp + 4], 0x400
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push esi
push 5
push ebx
call sub.wininet.dll_HttpQueryInfoA
mov eax, ebp
call fcn.00402d1c
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ebp
push esi
push ebx
call sub.wininet.dll_InternetReadFile
push ebx
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
mov edx, dword [esp]
mov eax, esi
call fcn.00409758
mov eax, esi
call fcn.00402d38
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46a246
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x46a2c4
call sub.wininet.dll_InternetOpenA
mov edi, eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00404eac
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
mov dword [esp + 4], 0x400
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push esi
push 5
push ebx
call sub.wininet.dll_HttpQueryInfoA
mov eax, ebp
call fcn.00402d1c
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ebp
push esi
push ebx
call sub.wininet.dll_InternetReadFile
push ebx
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
mov edx, dword [esp]
mov eax, esi
call fcn.00409758
mov eax, esi
call fcn.00402d38
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4040f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fb3c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x56a434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.CCurlDownloader.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40414d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x40416c
mov eax, dword [edi]
jmp 0x40416e
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x40418f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404180
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004031a0
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x4041b7
mov eax, dword [ebx]
jmp 0x4041b9
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x4041e0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4041d0
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.004031a0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x4041f5
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4041fd
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.00414dc0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x60]
push 1
push eax
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
call fcn.00415080
cmp dword [eax + 0x14], 8
jb 0x404239
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x404255
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404290
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fb6f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x56a434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x40430b
cmp dword [esi + 4], 0
je 0x4042ef
mov eax, dword [esi + 4]
test eax, eax
je 0x4042ef
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x40430b
mov ecx, esi
call fcn.00423050
push 0x50
push esi
call fcn.004dc49b
add esp, 8
push 0x50
call fcn.004dc4cc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0048a500
sub esp, 0x18
mov ecx, 0x404380
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40434d
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x404380
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00422e00
mov dword [edi + 0xf0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40436e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fc9a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56a434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004c6e74
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4051c0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0048957e
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x567584
push eax
call fcn.0048aa30
push edi
push esi
call fcn.004c71ea
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc48a
mov esp, ebp
pop ebp
ret 4
Function at 0x407470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fda6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56a434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004dc4cc
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004c70e7
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52008b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56a434]
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 esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [esi], vtable.CMTCurlDownloader.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edi, [esi + 0x10]
mov dword [ebp - 0x30], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4084c1
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], 0
cmp dword [esi + 0x4c], 8
jb 0x4084de
mov eax, dword [esi + 0x38]
jmp 0x4084e1
lea eax, [esi + 0x38]
xor ecx, ecx
mov word [eax], cx
cmp word [ebx], cx
je 0x4084ff
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4084f0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x38]
call fcn.004031a0
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
cmp dword [esi + 0x64], 8
jb 0x408526
mov eax, dword [esi + 0x50]
jmp 0x408529
lea eax, [esi + 0x50]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x408552
mov ecx, eax
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408540
mov eax, dword [ebp - 0x2c]
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x50]
call fcn.004031a0
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x408575
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x84]
mov dword [esi + 0x80], 0xffffffff
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40859e
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0xac]
mov dword [esi + 0xa8], 0
xorps xmm0, xmm0
push 2
push eax
movsd qword [esi + 0xa0], xmm0
call fcn.004c7e54
add esp, 8
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [esi + 0xec], 0
movsd qword [esi + 0xa0], xmm0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0x80], 0xffffffff
mov byte [esi + 0xe8], 0
cmp dword [esi + 0x4c], 8
jb 0x40861a
mov eax, dword [esi + 0x38]
jmp 0x40861d
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.004228a0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040ab40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x408655
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00404c50
mov eax, esi
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.004dc48a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408680
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fb6f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x56a434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xec]
test esi, esi
je 0x4086fb
cmp dword [esi + 4], 0
je 0x4086df
mov eax, dword [esi + 4]
test eax, eax
je 0x4086df
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xec]
test esi, esi
je 0x4086fb
mov ecx, esi
call fcn.00423050
push 0x50
push esi
call fcn.004dc49b
add esp, 8
push 0x50
call fcn.004dc4cc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0048a500
sub esp, 0x18
mov ecx, 0x408770
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40873d
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x408770
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00422e00
mov dword [edi + 0xec], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40875e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40ab40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, ecx
xor esi, esi
push esi
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00408380
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40ab6d
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x40ab88
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00404c50
inc esi
cmp esi, 2
jne 0x40ab56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c040
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520515
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x56a434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c150
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x40c0b6
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40c08f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c0a7
mov eax, dword [esi]
jmp 0x40c0a9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40c0d2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017f0
push 0x50
call fcn.004dc4cc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.0048a500
sub esp, 0x18
mov ecx, 0x40d4c0
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40c114
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____stdcall___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x40d4c0
mov dword [eax + 0x24], eax
push 0x5551a0
push edi
mov ecx, esi
call fcn.00422e00
mov dword [edi + 0x74], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40c132
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret