joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e250
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1004a5b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax]
push ebx
push esi
mov dword [0x1004a7cc], eax
mov esi, dword [ecx + 0x1c]
push esi
call fcn.100356c0
xor ebx, ebx
add esp, 4
cmp eax, ebx
jne 0x1001e3c0
mov eax, dword [0x1004a850]
cmp eax, ebx
jne 0x1001e2a2
push ebx
push 0x100010eb
push esi
call fcn.100354e0
add esp, 0xc
mov dword [0x1004a850], eax
push eax
call fcn.10035640
mov eax, dword [0x1004a820]
add esp, 4
cmp eax, ebx
jne 0x1001e2ce
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x100015a5
push ecx
call fcn.100354e0
add esp, 0xc
mov dword [0x1004a820], eax
push eax
call fcn.10035640
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push 9
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.gamemodes
mov byte [ecx], bl
call fcn.1000182a
mov ecx, 0x1004a824
call fcn.10002ed7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0xd
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.filterscripts
mov byte [ecx], bl
call fcn.1000182a
mov ecx, 0x1004a824
call fcn.10002ed7
push str.AMX_PATH
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x1001e38a
mov ecx, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1001e345
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1000182a
movzx edx, byte [0x10043017]
mov ecx, 0x1004a824
push ecx
mov eax, fcn.10002ed7
push eax
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000187f
add esp, 0x10
cmp dword [ebp - 0xc], 0x10
jb 0x1001e38a
mov ecx, dword [ebp - 0x20]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x10002e41
call fcn.10002194
push 0x100012da
call fcn.100015cd
push str.__CrashDetect_plugin_4.19.4
call dword [0x1004a7cc]
add esp, 0xc
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret 4
push eax
lea edx, [ebp - 0x3c]
push edx
call fcn.10002c20
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10002a6d
mov esi, 0x10
add esp, 0x10
cmp dword [ebp - 0x28], esi
jb 0x1001e3ed
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x10], ebx
je 0x1001e40c
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], esi
jae 0x1001e3fd
lea eax, [ebp - 0x20]
push eax
push str.__CrashDetect_must_be_loaded_before__s
call dword [0x1004a7cc]
add esp, 8
cmp dword [ebp - 0xc], esi
jb 0x1001e41d
mov edx, dword [ebp - 0x20]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10035a92
mov esp, ebp
pop ebp
ret 4
Function at 0x1001fba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1004a5b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x10], ebx
call edi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.100029e6
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push esi
sub eax, esi
push eax
mov dword [ebp - 4], ebx
call edi
mov edi, dword [ebp + 8]
mov eax, esi
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001fc10
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.1000182a
cmp esi, ebx
je 0x1001fc2f
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001fd20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003da20
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x1004a5b8]
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 ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.1000253b
mov edi, dword [0x1004a2d0]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1001fd86
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.10002c1b
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000253b
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x1001fdb5
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x188]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001fde0
cmp dword [ebp - 0x18], esi
jb 0x1001fe6a
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x1001fe62
test byte [ebp - 0x188], 0x10
jne 0x1001fe40
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001fe00
sub eax, edx
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.1000182a
mov ecx, dword [ebp - 0x18c]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 1
call fcn.10001e0b
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x1001fe40
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x188]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001fde0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], esi
jb 0x1001fe6a
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
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.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x100217a0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1004a5b8]
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
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
push edi
push 4
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1002186f
lea eax, [ebp - 0x50]
push eax
push esi
mov dword [ebp - 0x50], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10021868
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ebx, 0x10
cmp dword [ebp - 0x50], ebx
jb 0x1002184d
cmp dword [ebp - 0x44], edi
jne 0x1002184d
mov ecx, dword [ebp - 0x48]
xor eax, eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], ecx
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10002b0d
lea eax, [ebp - 0x50]
push eax
push esi
mov dword [ebp - 0x50], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10021817
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x100218ab
lea esi, [edi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea esp, [esp]
mov ecx, dword [esi - 0x14]
push 0x40
push ecx
call fcn.10002e64
add esp, 8
lea edx, [esi + 8]
push edx
push esi
lea ecx, [esi - 8]
push ecx
lea edx, [esi - 0x10]
push edx
push eax
call edi
add esi, 0x24
lea eax, [esi - 0x14]
cmp eax, ebx
jne 0x10021880
mov edi, dword [ebp - 0x60]
mov eax, edi
cmp edi, ebx
je 0x100218ed
cmp dword [eax + 8], 0
je 0x100218c0
add eax, 0x24
cmp eax, ebx
jne 0x100218b1
jmp 0x100218ed
cmp eax, ebx
je 0x100218f3
mov edx, eax
add eax, 0x24
cmp eax, ebx
je 0x100218eb
cmp dword [eax + 8], 0
je 0x100218e4
mov edi, edx
mov ecx, 9
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x60]
add edx, 0x24
add eax, 0x24
cmp eax, ebx
jne 0x100218cd
mov eax, edx
cmp eax, ebx
je 0x100218f3
mov ebx, eax
cmp edi, ebx
je 0x10021932
mov eax, dword [ebp - 0x60]
lea esi, [eax + 0x24]
cmp esi, ebx
je 0x1002191f
lea ecx, [edi + 4]
push ecx
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x10021915
mov edi, esi
add esi, 0x24
cmp esi, ebx
jne 0x10021901
mov eax, dword [ebp - 0x60]
mov edi, dword [edi]
test eax, eax
je 0x1002192e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
jmp 0x10021941
test edi, edi
je 0x1002193f
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x100219d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push edi
call fcn.10001992
test eax, eax
je 0x10021a19
push 0xa
push eax
call fcn.10002e64
mov edi, eax
add esp, 8
test edi, edi
je 0x10021a19
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10021a19
mov eax, dword [ebp + 8]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
neg eax
sbb esi, esi
push edi
neg esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x10025b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1004a5b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x100428d4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10025ba5
pop edi
lea eax, [esi + 0x13]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
push esi
push 1
lea eax, [ebp - 0x3c]
push 0x38
push eax
call dword [sym.imp.MSVCR100.dll_fread]
lea ecx, [ebp - 0x38]
push ecx
call fcn.10023840
lea edx, [ebp - 0x34]
push edx
call fcn.10023840
lea eax, [ebp - 0x3c]
push eax
call fcn.10023850
lea ecx, [ebp - 0x24]
push ecx
call fcn.10023850
mov edx, 0xf1e0
add esp, 0x20
cmp word [ebp - 0x38], dx
je 0x10025c06
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop edi
pop esi
mov eax, 0x11
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x40], 0
test edi, edi
jne 0x10025c49
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10025c42
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea eax, [edi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x40], 1
push esi
call dword [sym.imp.MSVCR100.dll_rewind]
mov ecx, dword [ebp - 0x3c]
push esi
push ecx
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
push 0x68
push 0
push ebx
call sub.MSVCR100.dll_memset
push edi
push ebx
call fcn.10023ba0
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x10025c95
cmp dword [ebp - 0x40], 0
je 0x10025c95
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x10027650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1004a5b8]
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
cmp dword [edi + 0x44], 0
je 0x10027777
cmp byte [edi + 0x49], 0
je 0x10027777
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1002776b
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x100276c6
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x100276e6
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1002770b
dec eax
je 0x1002770f
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10027766
jmp 0x10027772
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1002771f
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10027749
cmp edx, 0x10
jae 0x1002772e
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10027763
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1002776f
test esi, esi
jne 0x100276da
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10026fa0
jmp 0x100276d4
lea ecx, [ebp - 0x2c]
call fcn.100025bd
xor al, al
jmp 0x10027779
lea ecx, [ebp - 0x2c]
call fcn.100025bd
mov al, 1
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.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x10035270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10035a92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004a5b8]
jne 0x10035a9c
repz ret
jmp fcn.100361ef
Function at 0x402122
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x744
mov eax, dword [0x431440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str.Removing_DeskSoft_license_file_association
push 0x208
mov esi, 0x4327f0
push esi
call fcn.00403cbc
mov eax, dword [0x432c10]
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x402168
push esi
push ebx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push str.DeskSoftLicense
call fcn.004079ee
pop ecx
test eax, eax
jne 0x4022b8
push 0x530
lea eax, [ebp - 0x73c]
push ebx
push eax
call fcn.0040eb20
add esp, 0xc
lea eax, [ebp - 0x744]
mov esi, ebx
push eax
push 0x20019
push ebx
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4022b8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x402230
lea eax, [ebp - 0x73c]
inc esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407ea6
pop ecx
pop ecx
test al, al
je 0x40221d
push str.SetDLC.exe
lea eax, [ebp - 0x728]
push eax
push 0x4265ec
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00403cbc
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402298
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x744]
mov dword [ebp - 0x740], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4021cc
cmp byte [ebp - 0x728], bl
je 0x402294
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x728]
push eax
push str._s_s.exe
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00403cbc
push 0x426670
push str.DeskSoft_License_File
lea eax, [ebp - 0x108]
push eax
push str.DeskSoftLicense
call fcn.004089eb
add esp, 0x24
xor eax, eax
jmp 0x4022bb
push 0x4266e8
push str.DeskSoft_License_File
lea eax, [ebp - 0x108]
push eax
push str.DeskSoftLicense
call fcn.004089eb
add esp, 0x10
jmp 0x402294
push 0x1a
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d603
leave
ret
Function at 0x402e76
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1464
call fcn.0040d7d0
mov eax, dword [0x431440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test bl, bl
je 0x402f9b
push str.RegDeleteKeyEx
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1464], eax
test eax, eax
je 0x402f9b
lea eax, [ebp - 0x1458]
push eax
push 0xf013f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x1458], 0
je 0x402fa3
xor ecx, ecx
mov dword [ebp - 0x145c], 0xa28
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x145c]
mov dword [ebp - 0x1460], ecx
push eax
lea eax, [ebp - 0xa2c]
push eax
push ecx
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402f7e
mov byte [ebp + 0x10], bl
mov ebx, dword [ebp - 0x1460]
lea eax, [ebp - 0xa2c]
inc ebx
push eax
push edi
push 0x4265ec
lea eax, [ebp - 0x1454]
push 0xa28
push eax
call fcn.00403cbc
push dword [ebp + 0x10]
lea eax, [ebp - 0x1454]
push eax
push esi
call fcn.00402e76
add esp, 0x20
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x145c]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402f27
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x100
push edi
push esi
call dword [ebp - 0x1464]
jmp 0x402fa3
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d603
leave
ret
Function at 0x4090dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x431440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5c
mov esi, 0x433a78
push esi
call fcn.0040edb0
pop ecx
pop ecx
test eax, eax
je 0x409107
inc eax
jmp 0x409109
mov eax, esi
cmp byte [0x433c20], 0
mov esi, 0x410
push eax
lea eax, [ebp - 0x414]
je 0x409134
push 0x433c20
push 0x4265ec
push esi
push eax
call fcn.00403cbc
add esp, 0x14
jmp 0x40913e
push esi
push eax
call fcn.00411293
add esp, 0xc
lea eax, [ebp - 0x414]
push str..log
push eax
call fcn.00411620
pop ecx
mov ecx, 0x414
sub ecx, eax
lea eax, [ebp - 0x414]
push ecx
push eax
call fcn.00411620
pop ecx
lea ecx, [ebp - 0x414]
sub ecx, 4
add eax, ecx
push eax
call fcn.00411293
add esp, 0xc
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40927b
mov ecx, dword [0x4339f0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
test ecx, ecx
je 0x409215
push ecx
push 0xffffffffffffffff
call fcn.00405c6b
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x414]
push eax
call fcn.004086f5
pop ecx
push 0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00411620
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 2
push 0x426a18
push edi
call ebx
mov ecx, dword [0x4339f0]
push esi
lea eax, [ebp - 0x414]
test ecx, ecx
push eax
mov eax, 0x406
lea edx, [eax + 2]
cmovne eax, edx
xor esi, esi
push eax
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x414]
push eax
call fcn.004086f5
pop ecx
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00411620
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call ebx
push esi
lea eax, [ebp - 0x418]
push eax
push 2
push 0x426a18
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040d603
leave
ret
Function at 0x425210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42523d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42523d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1cfd3271
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7fd555fa
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219