joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404711
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
je 0x40476b
call fcn.0040466e
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40476b
mov eax, dword [0x4637f8]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40476b
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4048f0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x1a
push esi
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [edi + 0x14], 8
jb 0x404911
mov eax, dword [edi]
jmp 0x404913
mov eax, edi
push eax
push esi
push str._s_s
mov edx, esi
call fcn.00404770
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404937
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x404942
mov eax, dword [eax]
push eax
push esi
push str._s_s
mov edx, esi
call fcn.00404770
add esp, 0xc
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x404c10
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x14], 8
jb 0x404c43
mov eax, dword [esi]
jmp 0x404c45
mov eax, esi
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404c7b
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
pop esi
jb 0x404c87
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x404cb2
lea edx, [ebp - 0x20c]
push edx
push str.TRUE
jmp 0x404cbe
lea eax, [ebp - 0x20c]
push eax
push 0x43c030
push str.AutoReConnect
push str.BaseSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret 4

Function at 0x404cf0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x14], 8
jb 0x404d23
mov eax, dword [esi]
jmp 0x404d25
mov eax, esi
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404d5b
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x404d66
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x404d97
lea edx, [ebp - 0x20c]
push edx
push str.TRUE
jmp 0x404da3
lea eax, [ebp - 0x20c]
push eax
push 0x43c030
push str.ServiceOn
push str.ServiceSetting
call esi
cmp dword [ebp + 0xc], 0
je 0x404dc3
lea ecx, [ebp - 0x20c]
push ecx
push str.TRUE
jmp 0x404dcf
lea edx, [ebp - 0x20c]
push edx
push 0x43c030
push str.ReceiveMsg
push str.ServiceSetting
call esi
cmp dword [ebp + 0x10], 0
je 0x404def
lea eax, [ebp - 0x20c]
push eax
push str.TRUE
jmp 0x404dfb
lea ecx, [ebp - 0x20c]
push ecx
push 0x43c030
push str.AutoRestore
push str.ServiceSetting
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404e20
Capabilities:
Check if file exists
Create directory
Delete registry value
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x14], 8
jb 0x404e53
mov eax, dword [esi]
jmp 0x404e55
mov eax, esi
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404e8b
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x404e96
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
mov edx, ecx
call fcn.00404770
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x404ec2
lea edx, [ebp - 0x20c]
push edx
push str.TRUE
jmp 0x404ece
lea eax, [ebp - 0x20c]
push eax
push 0x43c030
push str.BootStart
push str.BaseSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x620]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov dword [ebp - 0x620], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404f1d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x404f59
push 0x104
lea edx, [ebp - 0x61c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x620]
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 1
push 0
push 0x43c144
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x404f6b
mov edx, dword [ebp - 0x620]
push 0x43c144
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [ebp - 0x620]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
sete al
xor ecx, ebp
pop esi
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret 4
Function at 0x40bbe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436398
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x40bd21
cmp byte [edi + 0x49], 0
je 0x40bd21
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x40bd0f
lea esi, [ebp - 0x2c]
call fcn.0040ba00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40bc53
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, edx
push ebx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40bc96
dec eax
je 0x40bc9a
sub eax, 2
je 0x40bcf2
cmp dword [ebp - 0x18], 0x10
jb 0x40bd0f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041bfc5
add esp, 4
xor al, al
jmp 0x40bd23
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x40bcaa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x40bcd3
cmp ebx, 0x10
jae 0x40bcb9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0041ca45
add esp, 0x10
cmp esi, eax
jne 0x40bcfd
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x40bd13
test esi, esi
jne 0x40bc47
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.0040ba60
jmp 0x40bc41
cmp dword [ebp - 0x18], 0x10
jb 0x40bd21
mov eax, dword [ebp - 0x2c]
jmp 0x40bd18
cmp dword [ebp - 0x18], 0x10
jb 0x40bd0f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041bfc5
add esp, 4
xor al, al
jmp 0x40bd23
cmp ebx, 0x10
jb 0x40bd21
push eax
call fcn.0041bfc5
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret
Function at 0x40be80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43538b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45a6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041ad1f
push 4
mov dword [ebp - 4], 0
call fcn.0041c0fb
mov edi, eax
add esp, 4
test edi, edi
je 0x40befc
call fcn.0041abf7
mov dword [edi], eax
call fcn.0041a9b6
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ace0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40bef2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ad08
jmp 0x40befe
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c970
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x40c99d
push eax
call fcn.0041cb2c
lea eax, [esi + 0x108]
add esp, 4
mov dword [esi], 0
cmp dword [eax + 0x14], 0x10
jb 0x40c996
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x40c9a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436398
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45a6d0]
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, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [ebx]
push eax
call fcn.0041cb2c
lea esi, [ebx + 0x108]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x40c9eb
mov eax, dword [esi]
jmp 0x40c9ed
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebx + 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00402e4c
add esp, 8
mov edi, eax
cmp esi, edi
je 0x40ca5a
cmp dword [esi + 0x14], 0x10
jb 0x40ca1b
mov eax, dword [esi]
push eax
call fcn.0041bfc5
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
cmp dword [edi + 0x14], 0x10
jae 0x40ca42
mov ecx, dword [edi + 0x10]
inc ecx
push ecx
push edi
push esi
call fcn.0041b8d0
add esp, 0xc
xor eax, eax
jmp 0x40ca48
mov edx, dword [edi]
mov dword [esi], edx
mov dword [edi], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x18], 0x10
jb 0x40ca6c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041bfc5
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x40ca74
mov esi, dword [esi]
push 0x43c714
push esi
call fcn.0041ccd5
add esp, 8
mov dword [ebx], eax
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.0041b4d6
mov esp, ebp
pop ebp
ret 4
Function at 0x40cf70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436cf3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x9c]
mov edi, ecx
call fcn.0040cab0
push 0x43bd3c
push eax
lea eax, [ebp - 0x64]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00402f2a
add esp, 0xc
lea ecx, [edi + 0x124]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00402f61
push ebx
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 2
call fcn.00402f2a
add esp, 0x14
lea ecx, [edi + 0x140]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00402f61
mov ebx, 0x10
add esp, 8
cmp dword [ebp - 0x6c], ebx
jb 0x40d01c
mov eax, dword [ebp - 0x80]
push eax
call fcn.0041bfc5
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x34], ebx
jb 0x40d03b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0041bfc5
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], ebx
jb 0x40d05a
mov edx, dword [ebp - 0x64]
push edx
call fcn.0041bfc5
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x88], ebx
jb 0x40d07f
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0041bfc5
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x40d08a
lea eax, [ebp - 0x2c]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x1c]
push ecx
push 1
push edx
push eax
call fcn.0041ca45
mov eax, dword [edi]
push eax
call fcn.0041c892
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jb 0x40d0b5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041bfc5
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.0041b4d6
mov esp, ebp
pop ebp
ret 4

Function at 0x40d0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x40d0f1
mov eax, dword [eax]
mov ecx, dword [ecx]
push ecx
push edx
push 4
push eax
call fcn.0041ca45
add esp, 0x10
pop ebp
ret 4
Function at 0x40d110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436bd0
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x45a6d0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x45a6d0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
mov ebx, ecx
mov dword [esp + 0x1c], 0x43c850
mov dword [esp + 0x2c], 0x43c7a0
mov dword [esp + 0x7c], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], edi
push ecx
mov dword [esp + 0x20], 1
call fcn.0040f200
mov dword [esp + 0xf0], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + eax + 0x20], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004107b0
mov dword [esp + 0x34], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
push esi
push ecx
push 0x43bd3c
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x104], 3
call fcn.0040db00
add esp, 4
push eax
call fcn.00412820
add esp, 0xc
push eax
call fcn.00412560
add esp, 8
lea ecx, [esp + 0xc4]
lea eax, [esp + 0x1c]
call fcn.0040e690
mov ecx, dword [eax + 0x10]
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x40d216
mov eax, dword [eax]
mov edx, dword [ebx]
push edx
push ecx
push 4
push eax
call fcn.0041ca45
add esp, 0x10
cmp dword [esp + 0xd8], esi
jb 0x40d23e
mov eax, dword [esp + 0xc4]
push eax
call fcn.0041bfc5
add esp, 4
xor ecx, ecx
mov word [esp + 0xc4], cx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], edi
mov dword [esp + 0xf0], 0xffffffff
call fcn.0040ced0
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret 4

Function at 0x40d360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x138], 0x10
mov ecx, dword [esi + 0x134]
lea eax, [esi + 0x124]
jb 0x40d37e
mov eax, dword [eax]
mov edx, dword [esi]
push edx
push 1
push ecx
push eax
call fcn.0041ca45
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
lea eax, [ebp + 0x10]
push eax
push ecx
push edx
call fcn.0041cdf7
mov ecx, dword [esi + 0x150]
lea eax, [esi + 0x140]
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40d3b1
mov eax, dword [eax]
mov edx, dword [esi]
push edx
push 1
push ecx
push eax
call fcn.0041ca45
mov eax, dword [esi]
push eax
call fcn.0041c892
add esp, 0x14
pop esi
pop ebp
ret
Function at 0x4107b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43538b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45a6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0041ad1f
push 4
mov dword [ebp - 4], 0
call fcn.0041c0fb
mov edi, eax
add esp, 4
test edi, edi
je 0x41082c
call fcn.0041abf7
mov dword [edi], eax
call fcn.0041a9b6
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ace0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x410822
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ad08
jmp 0x41082e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [sym.jsService.exe_class_CMiniDumper__CMiniDumper::s_pMiniDumper]
test ecx, ecx
jne 0x413c53
xor eax, eax
pop ebp
ret 4
pop ebp
jmp sym.jsService.exe_private:_long_int___thiscall_CMiniDumper::writeMiniDump_struct__EXCEPTION_POINTERS__
Function at 0x414200
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436222
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x45a6d0]
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, dword [ebp + 8]
xor edi, edi
push 0x208
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
mov dword [ebp - 0x224], edi
push ecx
mov dword [ebp - 0x228], esi
mov word [ebp - 0x21c], ax
call fcn.00426cd0
add esp, 0xc
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push edi
mov eax, 0x43c02c
mov word [esi], dx
call fcn.00409320
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push eax
push ecx
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4142ec
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4142ec
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4142c3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
call fcn.00409320
push 1
mov eax, 0x43bf3c
mov ecx, esi
call fcn.004162d0
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.0041b4d6
mov esp, ebp
pop ebp
ret

Function at 0x414e70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x45a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x414ed9
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
push ebx
push ecx
call fcn.00431ef4
add esp, 8
test eax, eax
je 0x414ef3
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x414eb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041b4d6
mov esp, ebp
pop ebp
ret