joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431850
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x264], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4318e0
lea eax, [ebp - 0x268]
push eax
push 4
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x4318d9
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x431900
xor ecx, ecx
jmp 0x43191f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431910
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00404eb0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00440154
mov esp, ebp
pop ebp
ret
Function at 0x4335e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00440cc0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x1008], edx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov ebx, ecx
lea eax, [ebp - 0x802]
mov dword [ebp - 0x100c], 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43365c
lea eax, [ebp - 0x804]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x43365c
xor ecx, ecx
mov word [eax + 2], cx
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call dword [sym.imp.MSVCR120.dll__wcslwr]
mov esi, eax
add esp, 4
mov edx, 0x4e67c6a7
movzx edi, word [esi]
test di, di
je 0x43369e
lea ecx, [ecx]
mov ecx, edx
lea esi, [esi + 2]
mov eax, edx
shl ecx, 5
shr eax, 2
add ecx, eax
movzx eax, di
movzx edi, word [esi]
add ecx, eax
xor edx, ecx
test di, di
jne 0x433680
push dword [ebp - 0x1008]
and edx, 0x7fff
lea eax, [ebp - 0x1004]
push edx
push str.20160302_bbbb_bbbb__04x_0000_08x
push eax
call fcn.0043a320
add esp, 0x10
mov dword [ebx + 0x14], 7
xor eax, eax
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop edi
pop esi
cmp word [ebp - 0x1004], ax
jne 0x4336e1
xor ecx, ecx
jmp 0x4336ff
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4336f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1004]
mov ecx, ebx
push eax
call fcn.00404eb0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00440154
mov esp, ebp
pop ebp
ret

Function at 0x436e80
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4411c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00433720
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00426830
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00426860
test al, al
jne 0x436ed8
xor esi, esi
jmp 0x436f0b
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.00423400
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x34]
push eax
push 0x436d40
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x18], 8
jb 0x436f1d
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret 4
Function at 0x437920
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4452d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
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 edi, ecx
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x29]
call fcn.00423260
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x437aa9
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push dword [esi + 0x10]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00433720
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00426830
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00426860
test al, al
jne 0x4379ca
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
jb 0x4379c1
push dword [ebp - 0x28]
call ebx
add esp, 4
mov dword [ebp - 0x30], 0
jmp 0x437a25
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffffffff
call fcn.00423400
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x3c]
push eax
push 0x436d40
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x437a0f
push dword [ebp - 0x28]
call ebx
add esp, 4
mov dword [ebp - 0x30], edi
test edi, edi
je 0x437a22
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.004380a0
mov edi, dword [ebp - 0x34]
cmp byte [esi + 0xd], 0
jne 0x437a67
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x437a4c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x437a67
mov edi, edi
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x437a40
jmp 0x437a67
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x437a65
cmp esi, dword [eax + 8]
jne 0x437a65
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x437a55
mov esi, eax
cmp esi, dword [edi]
jne 0x437986
mov esi, dword [ebp - 0x48]
cmp esi, dword [ebp - 0x44]
je 0x437a8f
mov edx, dword [ebp + 8]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00437370
add esp, 0x10
test esi, esi
je 0x437aa9
lea ecx, [ebp - 0x29]
call fcn.00423260
lea ecx, [ebp - 0x29]
call fcn.00423260
push esi
call ebx
add esp, 4
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.00440154
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43a4a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445726
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00403d50
push 0x44b468
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x464b48
call fcn.0043a280
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x43a571
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x464b48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret 4

Function at 0x43a640
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44578b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x464b64
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x464b78], 7
mov dword [0x464b74], 0
mov word [0x464b64], ax
mov dword [ebp - 4], eax
mov ecx, 0x464b64
lea eax, [ebp - 0x21c]
push eax
call fcn.00403d50
mov eax, 0x464b64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret 4
Function at 0x43b110
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4459a7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00403d50
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0043a280
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043ac10
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43b1f4
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x43b225
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x234]
call fcn.00403d50
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.0043a280
add esp, 4
mov ecx, edi
call fcn.0043acb0
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x43b298
push dword [ebp - 0x234]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret 4
Function at 0x43d580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.00440cc0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x464be4]
test al, 1
jne 0x43d603
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x464be4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x464be8], esi
jmp 0x43d609
mov esi, dword [0x464be8]
test esi, esi
je 0x43d677
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x43d677
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x43d677
lea ecx, [ebp - 0x3000]
jmp 0x43d660
mov eax, dword [ecx]
sub eax, 0
je 0x43d66a
dec eax
jmp 0x43d66b
inc esi
add ecx, 0x18
dec edx
jne 0x43d660
test esi, esi
je 0x43d677
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00440154
mov esp, ebp
pop ebp
ret
Function at 0x409c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c72c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5a7464]
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 0x409cdd
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 0x409cfc
mov eax, dword [edi]
jmp 0x409cfe
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409d1f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d10
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00406770
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 0x409d47
mov eax, dword [ebx]
jmp 0x409d49
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409d70
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d60
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00406770
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x409d85
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x409d8d
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.0041afc0
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.0041b280
cmp dword [eax + 0x14], 8
jb 0x409dc9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x409de5
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406ed0
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 0x409e20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c75f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5a7464]
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 0x409e9b
cmp dword [esi + 4], 0
je 0x409e7f
mov eax, dword [esi + 4]
test eax, eax
je 0x409e7f
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 0x409e9b
mov ecx, esi
call fcn.0044d480
push 0x50
push esi
call fcn.005084c8
add esp, 8
push 0x50
call fcn.005084d6
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004b3660
sub esp, 0x18
mov ecx, 0x409f10
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x409edd
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], 0x409f10
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.0044d230
mov dword [edi + 0xf0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x409efe
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 0x40a5c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c86a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5a7464]
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.004f3b8a
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 0x40a680
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.004b2c7e
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x5a47bc
push eax
call fcn.004b3b90
push edi
push esi
call fcn.004f3f00
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.00508494
mov esp, ebp
pop ebp
ret 4
Function at 0x40cf50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c976
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5a7464]
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.005084d6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004f3dfd
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 0x40e700
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5a7464]
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 0x40e781
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 0x40e79e
mov eax, dword [esi + 0x38]
jmp 0x40e7a1
lea eax, [esi + 0x38]
xor ecx, ecx
mov word [eax], cx
cmp word [ebx], cx
je 0x40e7bf
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e7b0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x38]
call fcn.00406770
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
cmp dword [esi + 0x64], 8
jb 0x40e7e6
mov eax, dword [esi + 0x50]
jmp 0x40e7e9
lea eax, [esi + 0x50]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x40e812
mov ecx, eax
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e800
mov eax, dword [ebp - 0x2c]
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x50]
call fcn.00406770
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40e835
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 0x40e85e
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.004f4b6a
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 0x40e8da
mov eax, dword [esi + 0x38]
jmp 0x40e8dd
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.0044b7a0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00410d90
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40e915
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00406f30
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.00508494
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e940
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c75f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5a7464]
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 0x40e9bb
cmp dword [esi + 4], 0
je 0x40e99f
mov eax, dword [esi + 4]
test eax, eax
je 0x40e99f
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 0x40e9bb
mov ecx, esi
call fcn.0044d480
push 0x50
push esi
call fcn.005084c8
add esp, 8
push 0x50
call fcn.005084d6
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004b3660
sub esp, 0x18
mov ecx, 0x40ea30
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40e9fd
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], 0x40ea30
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.0044d230
mov dword [edi + 0xec], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40ea1e
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 0x410d90
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.0040e640
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x410dbd
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x410dd8
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00406f30
inc esi
cmp esi, 2
jne 0x410da6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret