joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403059
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403084
mov ecx, dword [0x424798]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4178dc], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403161
cmp eax, esi
jl 0x40315b
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405ce5
test eax, eax
je 0x40314b
push dword [ebp + 8]
add dword [0x4178dc], 4
call fcn.00403161
mov ebx, eax
cmp ebx, esi
jl 0x403159
cmp dword [ebp + 0x10], esi
jne 0x403127
cmp dword [ebp + 8], esi
jle 0x403159
mov esi, 0x4138d8
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4030e9
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405ce5
test eax, eax
je 0x40314b
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405d14
test eax, eax
je 0x403123
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4178dc], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4030d8
jmp 0x403159
push 0xfffffffffffffffe
jmp 0x40314d
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403132
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403150
push 0xfffffffffffffffd
pop eax
jmp 0x40315b
mov ebx, dword [ebp - 4]
add dword [0x4178dc], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10

Function at 0x40409e
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4040d9
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4040c0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4040d1
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4040db
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4040b6
xor eax, eax
pop edi
pop esi
ret

Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4
Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x4232c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc
Function at 0x401f8c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401fe2
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x401ff8
push 0x80004005
call fcn.00401076
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401ffb
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40254d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00401f57
mov edi, eax
cmp edi, esi
je 0x4025b5
lea ecx, [ebp - 0x70]
call fcn.00401ef2
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004451f4
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4025cd
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040254d
cmp eax, esi
jne 0x402600
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x4025bd
lea ecx, [ebp - 0x70]
call fcn.00401ef2
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401ef2
mov eax, esi
jmp 0x40259b
Function at 0x409f75
Capabilities:
Get graphical window text

Disassembly:
push 0x2c
mov eax, 0x446a53
call fcn.0044526c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
jne 0x409fb4
call fcn.0040a51c
call fcn.0040a549
test eax, eax
mov dword [esi], eax
je 0x40a070
test edi, edi
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
je 0x409fcd
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push edi
push 0xc
call dword [eax + 0x24]
cmp dword [ebp - 0x34], 0
je 0x409fe2
mov eax, dword [esi]
push dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0xb
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push ebx
push 7
call dword [eax + 0x24]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
and dword [ebp - 4], 0
push str..ob_
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edi, dword [ebx]
lea ecx, [ebp - 0x2c]
add edi, 0x24
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 9
mov ecx, ebx
call dword [edi]
mov eax, dword [esi]
push dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0xd
call dword [eax + 0x24]
mov eax, dword [esi]
push dword [ebp - 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0x13
call dword [eax + 0x24]
push 0
push 0x9ca4
push 0x111
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
jmp 0x40a072
xor al, al
call fcn.004452b6
ret 0x14

Function at 0x40a3ad
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x40a39f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x40a3d1
xor al, al
pop esi
ret
push edi
xor edi, edi
cmp dword [esi + 0xc], 0
jne 0x40a3e8
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x40a3d4
pop edi
mov al, 1
pop esi
ret
Function at 0x40a86c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
xor ebx, ebx
push eax
inc ebx
mov dword [ebp - 0x54], 0x44
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 0xc], esi
stosd dword es:[edi], eax
je 0x40a8a7
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x24], si
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSVCP80.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
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40a8dc
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
call esi
push dword [ebp - 0x10]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x40ae23
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov dword [esi + 0x430], eax
mov eax, 0xcd
lea edi, [esi + 0x42c]
push eax
mov byte [esi + 0x8a0], 1
mov dword [edi], 0x3a8
mov dword [esi + 0x434], eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x43c], 0x40d
push dword [0x4598ac]
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [esi + 0x404]
mov dword [esi + 0x440], eax
lea eax, [esi + 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push edi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret

Function at 0x40b5dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xcd
push ebx
mov ebx, ecx
je 0x40b5f3
xor eax, eax
inc eax
jmp 0x40b691
mov eax, dword [ebp + 0x10]
sub eax, 0x202
je 0x40b66e
dec eax
dec eax
jne 0x40b68f
push esi
push edi
push 8
call fcn.004452c6
pop ecx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
call fcn.0040a8e5
push 0x44a68c
push 0xcb
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_AppendMenuW]
push edi
push dword [ebx + 4]
lea ecx, [ebp + 0xc]
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0040b016
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
call fcn.0040a8fb
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
cmp dword [ebp + 0xc], edi
pop ecx
pop edi
pop esi
je 0x40b68f
lea ecx, [ebp + 0xc]
call fcn.0040a8fb
jmp 0x40b68f
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x42c]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [ebx + 0x8a0], 0
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x40c619
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x424]
call fcn.0040c4e6
test eax, eax
je 0x40c656
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x40c6e8
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov edi, dword [0x4598ac]
push 0
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0xcd
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
push 6
pop ecx
mov esi, str.BSDownloader
lea edi, [ebp - 0x804]
rep movsd dword es:[edi], dword [esi]
push 0x7e6
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x7ea]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0xcb
push dword [0x4598ac]
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
push dword [ebp - 0x808]
lea ecx, [ebx + 0x44]
push 1
push dword [ebx + 4]
call fcn.0040af90
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004451f4
leave
ret 0x10
Function at 0x40d31a
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.004453a0
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1f9c]
push ebx
push esi
push edi
xor edi, edi
mov esi, 0xffe
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0xf92]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov word [ebp + 0xf90], di
call sub.MSVCR80.dll_memset
push esi
lea eax, [ebp - 0x6e]
push edi
push eax
mov word [ebp - 0x70], di
call sub.MSVCR80.dll_memset
add esp, 0x18
push dword [ebx + 0x89c]
mov esi, 0x800
push esi
lea eax, [ebp + 0xf90]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor eax, eax
cmp word [ebp + eax*2 + 0xf90], di
jne 0x40d3aa
cmp word [ebp + eax*2 + 0xf92], di
je 0x40d3af
inc eax
cmp eax, esi
jl 0x40d396
inc eax
cmp eax, 1
mov dword [ebp - 0x80], eax
jg 0x40d3bc
xor eax, eax
jmp 0x40d40d
xor ebx, ebx
cmp eax, edi
jle 0x40d40a
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x74], eax
movzx eax, word [ebp + ebx*2 + 0xf90]
mov ecx, dword [ebp - 0x78]
inc dword [ebp - 0x78]
cmp ax, di
mov word [ebp + ecx*2 - 0x70], ax
jne 0x40d404
mov ecx, dword [ebp - 0x74]
inc dword [ebp - 0x7c]
add dword [ebp - 0x74], 4
lea eax, [ebp - 0x70]
push eax
call fcn.0040cc91
push esi
lea eax, [ebp - 0x70]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x78], edi
inc ebx
cmp ebx, dword [ebp - 0x80]
jl 0x40d3c8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004451f4
add ebp, 0x1f94
leave
ret 4

Function at 0x40e042
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, dword [esi + 0x8a8]
cmp ecx, 0x2bf20
jae 0x40e096
cmp eax, edi
je 0x40e088
push 0x404
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x424]
mov dword [esi + 0x8a8], edi
call fcn.0040dea4
jmp 0x40e0b7
add ecx, 0x1f4
mov dword [esi + 0x8a8], ecx
jmp 0x40e0b7
push edi
push str.No_Internet_connection_detected
push str.BrotherSoft_Downloader_needs_an_internet_connection_to_function_Please_connect_and_try_again.
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push edi
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop esi
pop ecx
ret 0x10
Function at 0x40e348
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.004453a0
push 0xffffffffffffffff
push 0x4470ca
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x200c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2010]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x2014]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x458024]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
mov esi, 0xffe
push esi
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp], bx
call sub.MSVCR80.dll_memset
push esi
lea eax, [ebp + 0x1002]
push ebx
push eax
mov word [ebp + 0x1000], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
push dword [edi + 0x89c]
mov edi, 0x800
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor eax, eax
cmp word [ebp + eax*2], bx
jne 0x40e40a
cmp word [ebp + eax*2 + 2], bx
je 0x40e40f
inc eax
cmp eax, edi
jl 0x40e3fc
inc eax
cmp eax, 1
mov dword [ebp - 0x28], eax
jg 0x40e427
lea ecx, [ebp - 0x10]
call fcn.00401b4c
xor eax, eax
jmp 0x40e50d
xor edx, edx
cmp eax, ebx
mov dword [ebp - 0x1c], edx
jle 0x40e501
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
mov esi, 0x44b000
movzx eax, word [ebp + edx*2]
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
cmp ax, bx
mov word [ebp + ecx*2 + 0x1000], ax
jne 0x40e4f1
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cc91
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.0040b1da
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d868
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
add ecx, eax
mov byte [ebp - 4], 1
call fcn.0040cc41
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00401b4c
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.0040b1da
inc eax
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d845
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0040cc41
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401b4c
push edi
lea eax, [ebp + 0x1000]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
inc dword [ebp - 0x24]
add dword [ebp - 0x14], 4
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp - 0x1c]
inc edx
cmp edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
jl 0x40e447
lea ecx, [ebp - 0x10]
call fcn.00401b4c
mov eax, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.004451f4
add ebp, 0x2004
leave
ret 0xc
Function at 0x40ebb2
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x40
mov eax, 0x447285
call fcn.00445203
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 2
call fcn.0040d923
push dword [ebp - 0x10]
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.0040bbbe
push dword [ebp]
mov byte [ebp - 4], 4
call fcn.00411b5c
test al, al
pop ecx
jne 0x40ec76
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40ec26
push dword [ebp]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401b4c
lea ecx, [ebp + 0x90]
call fcn.00401b4c
lea ecx, [ebp + 0x94]
call fcn.00401b4c
lea ecx, [ebp + 0x98]
call fcn.00401b4c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.004451f4
add ebp, 0x88
leave
ret 0x10
push 0x38
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 6
push esi
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x44b004
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp dword [ebp + 0x9c], 1
jne 0x40ecfa
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x14], esi
je 0x40ec14
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40ecf5
push dword [ebp]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
xor esi, esi
inc esi
jmp 0x40ed42
cmp dword [ebp + 0x9c], 2
jne 0x40ece3
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x98]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x14], esi
jne 0x40ece3
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40ed42
push dword [ebp]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401b4c
lea ecx, [ebp + 0x90]
call fcn.00401b4c
lea ecx, [ebp + 0x94]
call fcn.00401b4c
lea ecx, [ebp + 0x98]
call fcn.00401b4c
mov eax, esi
jmp 0x40ec51
Function at 0x40efa5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0x44]
call fcn.00401618
push dword [esi + 0x89c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esi + 0x8a0], 0
je 0x40efd8
lea eax, [esi + 0x42c]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x459618
call fcn.0040cbad
mov edi, eax
lea eax, [esi + 0x20]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 4]
call fcn.0040be23
lea eax, [esi + 0x24]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x10]
call fcn.0040be23
add esi, 0x424
mov ecx, dword [esi]
test ecx, ecx
pop edi
je 0x40f036
call fcn.0040c2d6
mov esi, dword [esi]
test esi, esi
je 0x40f036
mov ecx, esi
call fcn.0040de11
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40fdc8
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
push ebx
push edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
call esi
cmp eax, 0xffffffff
je 0x40fe9c
push ebx
lea eax, [ebp - 0x4c]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], ebx
call edi
test eax, eax
je 0x40fe9c
cmp dword [ebp - 0x4c], 0x40
jne 0x40fe9c
cmp word [ebp - 0x44], 0x5a4d
jne 0x40fe9c
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x50]
call esi
cmp eax, 0xffffffff
je 0x40fe9c
push ebx
lea eax, [ebp - 0x4c]
push eax
push 2
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], ebx
call edi
test eax, eax
je 0x40fe9c
cmp dword [ebp - 0x4c], 2
jne 0x40fe9c
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x50]
call esi
cmp eax, 0xffffffff
je 0x40fe9c
cmp byte [ebp - 0x48], 0x4e
jne 0x40fe75
cmp byte [ebp - 0x47], 0x45
jne 0x40fe88
mov eax, 0x454e
jmp 0x40fe9e
cmp byte [ebp - 0x48], 0x50
jne 0x40fe88
cmp byte [ebp - 0x47], 0x45
jne 0x40fe88
mov eax, 0x4550
jmp 0x40fe9e
lea eax, [ebp - 0x48]
push eax
push str.Cant_handle__s_files._n
mov byte [ebp - 0x46], bl
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004451f4
leave
ret