joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40efbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.0040ed90
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x40efe0
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x20]
inc bl
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 ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00418bea
leave
ret

Function at 0x40f0af
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x20]
xor bl, bl
call fcn.0040ed90
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x40f0d6
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f0e3
mov bl, 1
lea ecx, [ebp - 0x20]
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 ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00418bea
leave
ret
Function at 0x40f0fb
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x130
lea ebp, [esp - 4]
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x130], eax
push 0x18
mov eax, 0x42c3d5
call fcn.0042a1dc
xor ebx, ebx
lea ecx, [ebp + 0x114]
mov byte [ebp - 0xd], bl
call fcn.0040ed90
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x12c], 0x10
mov eax, dword [ebp + 0x118]
jae 0x40f147
lea eax, [ebp + 0x118]
push ebx
push 0x80
push 3
push ebx
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x40f1fc
push 0x433484
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 5
jae 0x40f1b6
push str.GetFileSize
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x40f1cd
push str.GetFileSizeEx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x14]
call eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 8
lea eax, [ebp - 0x24]
push eax
push esi
call sub.MSVCR80.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x114]
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, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x130]
xor ecx, ebp
call fcn.00418bea
add ebp, 0x134
leave
ret
Function at 0x40f3c1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1ac]
push esi
mov esi, dword [ebp + 0x1a8]
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40f3ff
xor eax, eax
jmp 0x40f50b
push ebx
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
mov edi, 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov esi, eax
cmp esi, ebx
je 0x40f507
cmp esi, edi
jb 0x40f432
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x40f507
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x40f507
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x6c]
push edx
push ebx
push ebx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x40f482
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x40f476
movzx eax, ax
push eax
jmp 0x40f478
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x40f4fe
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
cmp esi, ebx
jne 0x40f4a5
cmp word [ebp - 0x6c], bx
je 0x40f4a5
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40f4db
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea edi, [esi + 1]
cmp edi, dword [ebp + 0x1b0]
jbe 0x40f4c8
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
jmp 0x40f4db
push dword [ebp + 0x1b0]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40f4fe
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
pop esi
call fcn.00418bea
add ebp, 0x1a0
leave
ret 0xc
Function at 0x413780
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42a709
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
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__]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x413826
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4137ec
call edi
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [esp + 0x18]
jae 0x4137fb
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x41381f
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41380a
call edi
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x413819
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
jne 0x413826
mov eax, 0x42ebd0
jmp 0x41382b
mov eax, 0x42ebcc
push eax
lea ecx, [esp + 0x18]
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__]
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x413845
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp], eax
jne 0x413864
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x413864
xor esi, esi
jmp 0x413867
lea esi, [ebx + 0x2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
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 eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00418bea
add esp, 0x2c
ret

Function at 0x4138a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x4138af
mov eax, dword [eax + 4]
jmp 0x4138b2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4138e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4138e2
cmp eax, 0x57
je 0x4138e2
cmp eax, 0x15
je 0x4138e2
cmp eax, 3
je 0x4138e2
cmp eax, 0x7b
je 0x4138e2
cmp eax, 0x35
jne 0x4138e5
xor al, al
ret
mov al, 1
ret
Function at 0x413bb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42a7b1
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00412440
cmp dword [eax + 0x18], 0x10
jb 0x413bf0
mov eax, dword [eax + 4]
jmp 0x413bf3
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, 0xffffffff
jne 0x413c42
push str.boost::filesystem::is_directory
lea ecx, [esp + 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__]
mov dword [esp + 0x68], 0
call sub.KERNEL32.dll_GetLastError
push eax
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.004148a0
push eax
mov byte [esp + 0x6c], 1
call fcn.00412680
mov eax, esi
shr eax, 4
and eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x60
ret

Function at 0x413c60
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x42a7e1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x58]
mov eax, 0x10
cmp dword [edi + 0x18], eax
jb 0x413c98
mov ecx, dword [edi + 4]
jmp 0x413c9b
lea ecx, [edi + 4]
mov esi, dword [esp + 0x54]
cmp dword [esi + 0x18], eax
jb 0x413ca9
mov eax, dword [esi + 4]
jmp 0x413cac
lea eax, [esi + 4]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x413cf2
push str.boost::filesystem::copy_file
lea ecx, [esp + 0x10]
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__]
mov dword [esp + 0x4c], 0
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.004149c0
push eax
mov byte [esp + 0x50], 1
call fcn.00412680
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret
Function at 0x4140d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42a8e3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push 0x42ed90
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push edx
push eax
push esi
mov dword [esp + 0x48], 1
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0x18
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
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 eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x414b90
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x414c4b
cmp byte [esi + 0x5c], 0x77
jne 0x414c4b
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov dword [esi], eax
mov dword [esi + 4], ebp
je 0x414c2d
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, 0x4000
nop
cmp dword [esi + 0x10], 0
jne 0x414bf4
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
push edx
mov dword [esi + 0xc], eax
call edi
cmp dword [esp + 0x10], ebx
jne 0x414c24
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add dword [esi + 0x64], eax
add dword [esi + 0x68], ecx
push 0
push esi
call fcn.00415190
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x64], edx
sub dword [esi + 0x68], ecx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x414c2b
test edx, edx
jne 0x414bd0
jmp 0x414c2b
mov dword [esi + 0x38], 0xffffffff
pop edi
pop ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
push ebp
push edx
push eax
call fcn.00416da0
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebp
sub eax, dword [esi + 4]
pop ebp
pop esi
pop ecx
ret
mov eax, 0xfffffffe
pop esi
pop ecx
ret
Function at 0x414c60
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, eax
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], ebp
je 0x414d22
cmp byte [esi + 0x5c], 0x77
jne 0x414d22
mov dword [esi + 4], ebp
push edi
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x414cb6
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], edi
jne 0x414d16
mov eax, dword [esi + 0x48]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x4000
cmp ebx, ebp
jne 0x414d02
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
add dword [esi + 0x68], ecx
push edx
push esi
call fcn.00415190
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
cmp edi, ebp
mov dword [esi + 0x38], eax
jne 0x414ce3
cmp eax, 0xfffffffb
jne 0x414ce3
mov dword [esi + 0x38], ebp
cmp ecx, ebp
jne 0x414cf1
cmp dword [esi + 0x38], 1
je 0x414cf1
xor ebx, ebx
jmp 0x414cf6
mov ebx, 1
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x414c84
cmp eax, 1
je 0x414c84
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
or eax, 0xffffffff
mov dword [esi + 0x38], eax
pop esi
pop ebp
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret

Function at 0x414d30
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov dword [esp + 0x10], 0
mov edi, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x20]
mov eax, esi
push edx
and eax, 0xff
push ebp
mov dword [esp + 0x28], eax
call ebx
shr esi, 8
sub edi, 1
jne 0x414d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x418bea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d2ac]
jne 0x418bf4
repz ret
jmp fcn.0041904c

Function at 0x41971b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041965a
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41976a
cmp dword [ebp - 0x1c], 5
jb 0x419782
jmp 0x41977e
cmp dword [ebp - 0x10], 1
jne 0x419782
cmp dword [ebp - 0x1c], 4
ja 0x41977e
jne 0x419782
cmp dword [ebp - 0x18], 0
jbe 0x419782
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x432358
call fcn.0041950d
test eax, eax
jge 0x4197a3
mov byte [0x43e0dc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418bea
add ebp, 0x78
leave
ret

Function at 0x4272b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b486
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edi, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.00425630
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x24
Function at 0x429330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
cmp cl, 0x39
mov eax, 0x432d6e
mov dword [esp], eax
mov dword [esp + 4], 0x432a5c
mov dword [esp + 8], 0x432a58
mov dword [esp + 0xc], 0x432a54
mov dword [esp + 0x10], 0x432a50
mov dword [esp + 0x14], 0x433480
mov dword [esp + 0x18], 0x42ebd0
mov dword [esp + 0x1c], 0x432a4c
mov dword [esp + 0x20], 0x432a48
mov dword [esp + 0x24], 0x432d78
mov dword [esp + 0x28], 0x432d74
mov dword [esp + 0x2c], 0x432a44
mov dword [esp + 0x30], 0x433050
mov dword [esp + 0x34], 0x432a40
mov dword [esp + 0x38], 0x4335dc
mov dword [esp + 0x3c], 0x432a3c
mov dword [esp + 0x40], str.____
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x432738
mov dword [esp + 0x4c], str.BDMS___
mov dword [esp + 0x50], 0x43359c
mov dword [esp + 0x54], 0x4335a0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x432a28
mov dword [esp + 0x64], 0x432a24
mov dword [esp + 0x68], 0x432d70
mov dword [esp + 0x6c], 0x4335d8
mov dword [esp + 0x70], 0x43273c
mov dword [esp + 0x74], 0x432728
mov dword [esp + 0x78], 0x432708
mov dword [esp + 0x7c], 0x4326f8
mov dword [esp + 0x80], 0x4326f0
mov dword [esp + 0x84], 0x4326e8
mov dword [esp + 0x88], 0x4326e0
mov dword [esp + 0x8c], 0x432734
mov dword [esp + 0x90], 0x432a20
mov dword [esp + 0x94], 0x432d7c
mov dword [esp + 0x98], 0x43272c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x4327ec
mov dword [esp + 0xc0], 0x4327c0
mov dword [esp + 0xc4], 0x4327a8
mov dword [esp + 0xc8], 0x4327f0
mov dword [esp + 0xcc], str.ZYXWVUTRQPONLKJIHGFECA
mov dword [esp + 0xd0], 0x4327e4
mov dword [esp + 0xd4], 0x432a1c
mov dword [esp + 0xd8], 0x432700
mov dword [esp + 0xdc], 0x4327c4
mov dword [esp + 0xe0], 0x4327cc
jae 0x42952c
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xe4
ret
Function at 0x417d60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x488f4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047b73a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417de2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00478f10
mov eax, dword [eax]
push 0x596200
push eax
call fcn.0046b944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047b9c5
test bl, bl
je 0x417de2
push 0x596200
lea ecx, [esp + 0xc]
call fcn.0047bda1
push 0x599d7c
lea ecx, [esp + 0xc]
call fcn.0047bda1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x417e1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047b9c5
jmp 0x417ee9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x417ea2
lea edx, [esp + 0x7c]
push 0x599d78
push edx
call fcn.0046b944
add esp, 8
test eax, eax
je 0x417ea2
lea eax, [esp + 0x7c]
push 0x599d74
push eax
call fcn.0046b944
add esp, 8
test eax, eax
je 0x417ea2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417e32
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047b9c5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x418700
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x418762
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc