joyce8/EMBER2024-capa huggingface dataset:
Function at 0x75e81153
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x75ea0720]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
xor ebx, ebx
push edi
inc ebx
xor edi, edi
mov dword [ebp - 0x438], ebx
cmp dword [eax + 0x1d4], edi
je 0x75e811a2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [0x7ffe02d8]
cmp dword [eax + 0x1d4], ecx
je 0x75e811a2
mov esi, ebx
jmp 0x75e811a4
xor esi, esi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x42c]
push eax
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x430], edi
call sub.WINSTA.dll_WinStationGetLoggedOnCount
mov eax, dword [ebp + 8]
test eax, 0x4809
je 0x75e81235
mov ecx, dword [ebp - 0x430]
push eax
push ecx
push dword [ebp - 0x42c]
call fcn.75e80dca
cmp esi, edi
je 0x75e8120f
test eax, eax
je 0x75e81208
cmp dword [ebp - 0x42c], ebx
jbe 0x75e81201
neg ecx
sbb ecx, ecx
and ecx, 0x28
add ecx, 0x2c8
mov ebx, ecx
jmp 0x75e81277
mov ebx, 0x2ef
jmp 0x75e81277
mov ebx, 0x2c7
jmp 0x75e81277
test eax, eax
je 0x75e81387
cmp dword [ebp - 0x42c], ebx
jbe 0x75e8122e
neg ecx
sbb ecx, ecx
and ecx, 0x29
add ecx, 0x2c9
jmp 0x75e811fd
mov ebx, 0x2f1
jmp 0x75e81277
test eax, 0x1002
je 0x75e81387
mov ecx, dword [ebp - 0x430]
push eax
push ecx
push dword [ebp - 0x42c]
call fcn.75e80dca
test eax, eax
je 0x75e81387
cmp dword [ebp - 0x42c], ebx
jbe 0x75e81272
neg ecx
sbb ecx, ecx
and ecx, 0x2a
add ecx, 0x2ca
jmp 0x75e811fd
mov ebx, 0x2f3
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0x75e74778
lea eax, [ebp - 0x440]
push eax
or edi, 0xffffffff
call esi
xor eax, eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x458]
push eax
push 0x20019
lea eax, [ebp - 0x434]
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x458], 0x18
mov dword [ebp - 0x44c], 0x40
mov dword [ebp - 0x450], ecx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x75e81328
push 0x75e813a0
lea eax, [ebp - 0x440]
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
push 0x14
lea eax, [ebp - 0x428]
push eax
push 2
lea eax, [ebp - 0x440]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jl 0x75e8131c
mov edi, dword [ebp - 0x41c]
push dword [ebp - 0x434]
call dword [sym.imp.ntdll.dll_NtClose]
push 0
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0x2c6
push dword [0x75ea0118]
call dword [0x75ea00e0]
push 0
push esi
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [0x75ea0118]
call dword [0x75ea00e0]
push edi
xor esi, esi
push esi
push 0x211034
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call sym.USER32.dll_MessageBoxTimeoutW
cmp eax, 7
jne 0x75e81387
mov dword [ebp - 0x438], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x438]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.75e36120
leave
ret 4
Function at 0x75e813df
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call fcn.75e370e7
or eax, edx
jne 0x75e813f7
xor eax, eax
jmp 0x75e814c7
push 0x10
call fcn.75e360f5
test eax, eax
je 0x75e813f0
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
call fcn.75e9ac4e
xor esi, esi
cmp eax, esi
jl 0x75e8141f
mov eax, dword [ebp - 8]
jmp 0x75e814c5
cmp eax, 0xc00000d8
jne 0x75e814bd
cmp dword [ebp + 0xc], esi
jne 0x75e814bd
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0x75e80e03
push esi
push esi
mov dword [ebp + 0xc], edi
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x75e814c3
mov edi, 0x4ff
jmp 0x75e81475
lea eax, [ebp - 0x28]
push eax
call sym.USER32.dll_DispatchMessageW
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call sym.USER32.dll_PeekMessageW
test eax, eax
jne 0x75e8145a
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 1
call sym.USER32.dll_MsgWaitForMultipleObjectsEx
test eax, eax
jne 0x75e81463
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
test eax, eax
jne 0x75e814a0
mov dword [ebp - 4], 0xe
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 4], esi
jne 0x75e814b3
xor eax, eax
inc eax
jmp 0x75e814c5
push dword [ebp - 4]
call fcn.75e43a4f
jmp 0x75e814c3
push eax
call fcn.75e9aa52
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x75e88cd4
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x75ea0720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetSystemWindowsDirectoryW]
push esi
push edi
xor edi, edi
push edi
push edi
mov dword [ebp - 0x2c], edi
call ebx
mov esi, eax
inc esi
lea eax, [esi + 0xe]
mov dword [ebp - 0x30], eax
add eax, eax
push eax
push edi
push dword [0x75ea010c]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x75e88dcf
push esi
push eax
call ebx
push 0x75e88de4
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.75e3cd34
mov eax, dword [ebp + 8]
movzx eax, word [eax*2 + 0x75e88e00]
push eax
push 0x75e88de6
push 0x75e88e08
lea eax, [ebp - 0x24]
push 0x10
push eax
call sub.ntdll.dll_swprintf_s
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push edi
push eax
call sub.ntdll.dll_memset
add esp, 0x20
push 5
pop eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x58], 0x41
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x75e88dbf
push 0x2710
push dword [ebp - 0x40]
call sym.USER32.dll_WaitForInputIdle
push dword [ebp - 0x40]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x28]
push edi
push dword [0x75ea010c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.75e36120
leave
ret 4
Function at 0x75e8b9f0
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
push 0x684
push 0x75e8bc50
call fcn.75e3f44a
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], esi
push 0x104
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.75e619a2
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x694], eax
mov dword [ebp - 4], 0xfffffffe
or dword [ebp - 0x688], 0xffffffff
test byte [edi + 0x5c], 4
je 0x75e8baf3
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.75e5f154
test eax, eax
je 0x75e8baf3
mov dword [ebp - 0x68c], 1
push esi
push esi
push 0xb
mov eax, dword [edi + 8]
push dword [eax]
call sym.USER32.dll_SendMessageW
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xd000
je 0x75e8bb66
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x690], eax
cmp eax, 0xffffffff
je 0x75e8bb66
and ebx, 0xb7
mov esi, dword [ebp + 0xc]
test esi, 0x8000
jne 0x75e8baba
or ebx, 0xa1
not esi
and esi, 0x16
mov eax, dword [ebp - 0x684]
cmp eax, 0x800
jne 0x75e8bad1
mov eax, 0x80
and eax, 0xfffff7ff
test ebx, eax
je 0x75e8bb34
test esi, eax
jne 0x75e8bb34
test al, 0x10
je 0x75e8bafe
cmp dword [ebp - 0x658], 0x2e
je 0x75e8bb34
test byte [ebp + 0xc], 0x10
jne 0x75e8bb07
jmp 0x75e8bb34
mov dword [ebp - 0x68c], esi
jmp 0x75e8ba71
test dword [ebp + 0xc], 0x1000
jne 0x75e8bb34
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x684]
push eax
call fcn.75e8b91c
push 0x10000004
push 0
lea eax, [ebp - 0x434]
push eax
push edi
call fcn.75e5ac49
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x684]
push eax
push dword [ebp - 0x690]
call dword [sym.imp.kernel32.dll_FindNextFileW]
cmp dword [ebp - 0x688], 0xffffffff
jl 0x75e8bb58
test eax, eax
jne 0x75e8babf
push dword [ebp - 0x690]
call dword [sym.imp.kernel32.dll_FindClose]
xor esi, esi
cmp dword [ebp - 0x688], 0xfffffffe
je 0x75e8bbee
test dword [ebp + 0xc], 0x4000
je 0x75e8bbee
push 0x5b
pop eax
mov word [ebp - 0x658], ax
push 0x2d
pop eax
mov word [ebp - 0x652], ax
mov word [ebp - 0x656], ax
push 0x5d
pop eax
mov word [ebp - 0x650], ax
xor eax, eax
mov word [ebp - 0x64e], ax
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ebx, eax
xor esi, esi
jmp 0x75e8bbe8
test bl, 1
je 0x75e8bbe5
lea eax, [esi + 0x41]
mov word [ebp - 0x654], ax
push 0x10000000
push 0xffffffffffffffff
lea eax, [ebp - 0x658]
push eax
call sym.USER32.dll_CharLowerW
push eax
push edi
call fcn.75e5ac49
mov dword [ebp - 0x688], eax
test eax, eax
jl 0x75e8bbec
shr ebx, 1
inc esi
test ebx, ebx
jne 0x75e8bbb2
xor esi, esi
push 0xfffffffffffffffe
pop ebx
cmp dword [ebp - 0x688], ebx
jne 0x75e8bc00
push ebx
push edi
call fcn.75e5cf76
cmp dword [ebp - 0x68c], esi
je 0x75e8bc17
push esi
push 1
push 0xb
mov eax, dword [edi + 8]
push dword [eax]
call sym.USER32.dll_SendMessageW
push edi
call fcn.75e57d98
push esi
push esi
push edi
call fcn.75e5755d
cmp dword [ebp - 0x688], ebx
je 0x75e8bc33
mov eax, dword [edi + 0x20]
dec eax
jmp 0x75e8bc48
mov eax, ebx
jmp 0x75e8bc48
call fcn.75e3f492
ret 0xc
Function at 0x75e92e01
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x75ea0720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x128]
push eax
xor esi, esi
inc esi
push esi
xor ebx, ebx
push ebx
push 0x75e92fd8
push 0x80000002
mov dword [ebp - 0x124], ebx
call dword [sym.imp.kernel32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x75e92f44
mov esi, dword [sym.imp.kernel32.dll_RegQueryValueExW]
push edi
push 4
pop edi
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push ebx
push 0x75e92fb4
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], edi
call esi
cmp eax, ebx
jne 0x75e92ed6
cmp dword [ebp - 0x124], ebx
je 0x75e92ec2
cmp dword [ebp - 0x124], 1
je 0x75e92ec2
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x75e92f35
movzx eax, byte [ebp - 6]
dec eax
je 0x75e92eb7
xor eax, eax
cmp dword [ebp - 0x124], 3
jmp 0x75e92ecb
xor eax, eax
cmp dword [ebp - 0x124], 2
jmp 0x75e92ecb
xor eax, eax
cmp dword [ebp - 0x124], 1
sete al
mov dword [ebp - 0x124], eax
jmp 0x75e92f35
cmp eax, 2
jne 0x75e92f35
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push 0x75e92f90
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], edi
call esi
cmp eax, 2
jne 0x75e92f35
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x75e92f35
movzx eax, byte [ebp - 6]
dec eax
mov dword [ebp - 0x124], 1
jne 0x75e92f35
mov dword [ebp - 0x124], ebx
push dword [ebp - 0x128]
call dword [sym.imp.kernel32.dll_RegCloseKey]
pop edi
jmp 0x75e92f77
cmp eax, 2
jne 0x75e92f77
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x75e92f77
movzx eax, byte [ebp - 6]
dec eax
mov dword [ebp - 0x124], esi
jne 0x75e92f77
mov dword [ebp - 0x124], ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x124], ebx
pop esi
setne al
xor ecx, ebp
pop ebx
call fcn.75e36120
leave
ret
Function at 0x75e933ad
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 4
cmp esi, ebx
jne 0x75e933d0
xor eax, eax
jmp 0x75e934bd
push 0x7c
push ebx
push dword [0x75ea010c]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
cmp eax, ebx
je 0x75e933c9
push dword [ebp + 0x10]
mov dword [esi + 8], 0x1f
push dword [ebp + 0xc]
mov dword [esi + 4], ebx
push esi
call fcn.75e92b97
test eax, eax
jne 0x75e93407
push esi
call sym.USER32.dll_DestroyReasons
jmp 0x75e933c9
push edi
mov edi, dword [esi + 4]
push ebx
lea eax, [ebp + 8]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push 0x75e93508
push 0x80000002
call dword [sym.imp.kernel32.dll_RegCreateKeyExW]
test eax, eax
jne 0x75e9346d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x75e934c8
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_RegQueryValueExW]
test eax, eax
je 0x75e93449
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.75e93043
test eax, eax
je 0x75e93461
cmp dword [esi + 4], ebx
jne 0x75e93464
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x75e934b6
cmp dword [esi + 4], edi
jle 0x75e934b6
mov dword [ebp + 0x10], ebx
cmp edi, ebx
jbe 0x75e9349b
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
push dword [eax + ecx*4]
push ebx
push dword [0x75ea010c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], edi
jb 0x75e9347e
mov ecx, dword [esi + 4]
mov eax, dword [esi]
sub ecx, edi
shl ecx, 2
push ecx
lea ecx, [eax + edi*4]
push ecx
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
sub dword [esi + 4], edi
push esi
call fcn.75e929f7
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x75e970e3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.75e6070c
cmp dword [ebp + 0xc], 2
mov dword [ebp + 0x10], eax
jne 0x75e97169
test eax, eax
je 0x75e97169
movzx eax, ax
mov dword [ebp + 8], eax
cmp esi, dword [0x75ea0f1c]
je 0x75e9713c
push 2
lea eax, [ebp + 0xc]
push eax
movzx eax, si
push 0x20001004
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
je 0x75e97165
mov eax, dword [ebp + 0xc]
mov dword [0x75ea0f20], eax
mov dword [0x75ea0f1c], esi
and dword [ebp + 0x10], 0xffff0000
push 0
push 0
push 1
lea eax, [ebp + 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
push 0
push dword [0x75ea0f20]
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
jne 0x75e97169
and dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x10]
pop esi
pop ebp
ret 0xc
Function at 0x75e97821
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x75e978c1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x75e978c1
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x75e978c1
cmp word [eax], 0
je 0x75e978c1
cmp dword [ebp + 8], 0
push esi
push ebx
push edi
jne 0x75e9785c
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x75e97862
call dword [sym.imp.kernel32.dll_GetSystemWindowsDirectoryW]
mov esi, eax
cmp esi, ebx
jae 0x75e978b5
test esi, esi
je 0x75e978bc
cmp word [edi + esi*2 - 2], 0x5c
je 0x75e9787c
push 0x5c
pop eax
mov word [edi + esi*2], ax
inc esi
cmp esi, ebx
jae 0x75e978b5
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x75e97886
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub eax, esi
cmp eax, ebx
jbe 0x75e978b5
push 0xffffffffffffffff
push dword [ebp + 0x14]
push eax
lea eax, [edi + esi*2]
push eax
call sub.ntdll.dll_wcsncpy_s
add esp, 0x10
add esi, ebx
jmp 0x75e978bc
xor esi, esi
xor eax, eax
mov word [edi], ax
mov eax, esi
pop esi
jmp 0x75e978c3
xor eax, eax
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x75e978ce
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x75ea0720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x624], edi
lea edx, [eax + 2]
xor ebx, ebx
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x75e978f6
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 4
jbe 0x75e9792f
lea eax, [edi + esi*2 - 8]
push 0x75e97a20
push eax
call sub.ntdll.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x75e9792f
push ebx
push 0xb
push edi
push ebx
call sym.USER32.dll_WinHelpW
jmp 0x75e97a0f
push 0x75e97a2c
push 0x105
lea eax, [ebp - 0x210]
push eax
push 1
call fcn.75e97821
mov edi, eax
cmp edi, ebx
je 0x75e97a0f
lea eax, [edi + esi]
mov esi, 0x208
cmp eax, esi
jae 0x75e97a0f
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x620]
push esi
push eax
call sub.ntdll.dll_wcsncpy_s
push 0xffffffffffffffff
push dword [ebp - 0x624]
sub esi, edi
lea eax, [ebp + edi*2 - 0x620]
push esi
push eax
call sub.ntdll.dll_wcsncpy_s
push 0x44
pop esi
push esi
lea eax, [ebp - 0x678]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0x2c
push 5
pop eax
mov word [ebp - 0x648], ax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x678]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x678], esi
mov dword [ebp - 0x64c], 0x41
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x75e97a0f
push 0x2710
push dword [ebp - 0x634]
call sym.USER32.dll_WaitForInputIdle
push dword [ebp - 0x634]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x630]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.75e36120
leave
ret 4
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x63c9651f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0xabb44c9
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
add ebp, ecx
ficom word [edi + 0x106ab053]
push esi
popal
push ebx
adc dword [edx - 0x775fc4c5], 0x9fa89441
imul edi, dword [ecx - 0x513a590e], 0xffffffef
pushal
fist dword [ebx]
push esi
fidivr dword [edi]
mov cl, 0x14
pushal
and dword [ecx + 0x36], 0x21
cmp edi, dword [ecx - 0x513b60fa]
and dword [ebx], edi
mov ecx, 0xaec49f06
mov esi, 0xa9aec43b
fsubr dword [ebx]
xor dword [edi], edx
pushal
rol dword [eax - 0x673b6030], cl
xchg ebp, eax
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx - 0x57]
lahf
les ebp, [esi + 0x513b6056]
test eax, 0x56aec49f
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
mov eax, 0x3fa752bd
jne 0x414aeb
enter 0x5179, 0x5f
pop edi
wait
je 0x414b71
push esi
adc byte [edx + 0x51], bh
sbb byte [edi], ah
or dword [ecx - 0x1542a52c], 0xffffff99
xor dword [ebx + 0x14], ebx
jg 0x414ae9
jge 0x414b34
push esi
jo 0x414bca
push ecx
xlatb
cmpsd dword [esi], dword es:[edi]
cmp dl, byte [ecx + 0x56]
pushal
mov edx, 0x3316bfbf
mov bl, 0xd7
invalid
pushal
cmp edx, dword [ecx - 0x13]
dec edx
push esi
mov dl, byte [ebx - 0x2258edc7]
je 0x414b9e
rcl byte [edx - 0x2969459c], cl
push eax
or al, 0x11
mov esi, 0x56513b72
popal
lds ebx, [eax - 0x5f]
popal
les ebx, [eax - 0x6c1bb6e3]
pop edx
pushal
adc ah, byte [edi + 0x6070975f]
jo 0x414c00
push edi
faddp st(4)
inc edx
mov word [ebx + 0x605290ba], fs
cmp edx, dword [ecx + 0x77]
wait
insb byte es:[edi], dx
or dl, bh
invalid
mov al, byte [0x4ddea1d1]
in eax, dx
and eax, 0x56513b6a
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 0x56]
pushal
cmp edx, dword [ecx + 8]
jo 0x414c81
or byte [eax + 0x7e], dh
iretd
jo 0x414d01
iretd
jo entry1
iretd

Function at 0x414dd3
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], esi
sub ecx, eax
push ecx
pop ecx
add eax, edx
add edi, 4
inc edx
sub eax, 0xfb442441
add eax, 1
cmp edi, ebx
jne fcn.00414dd3
sub esp, 4
mov dword [esp], 0x6f1b9ab3
pop edx
ret
Function at 0x1005bda
Capabilities:
Delete file
Enumerate files on windows
Read .ini file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x100e058]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x670], edi
mov dword [ebp - 0x66c], edi
je 0x1005d5e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
cmp eax, 4
jle 0x1005d5e
push esi
push edi
push 0x1001524
push 0x1001510
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1005d68
push 0x41
pop ecx
lea edi, [ebp - 0x20c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1005d50
mov eax, dword [ebp - 0x66c]
and word [eax], 0
push esi
call ebx
push 4
push 0x10016b0
push 4
lea esi, [esi + eax*2 - 8]
push esi
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x1005d68
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x10016a4
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov esi, 0x94
mov ecx, esi
lea edi, [ebp - 0x668]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
test ebx, ebx
je 0x1005d68
lea eax, [ebp - 0x63c]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x668]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005cf7
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1005d68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x670], eax
jmp 0x1005d68
mov dword [ebp - 0x670], 0x57
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x670]
pop edi
pop esi
pop ebx
call fcn.010067e5
leave
ret