joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41752a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x435182
call fcn.00424731
mov dword [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
push 0x4403e4
xor ebx, ebx
push 1
push ebx
push 0x4403f4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4175cc
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x41758a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x41759c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x440404
push eax
call dword [ecx]
test eax, eax
jl 0x4175cc
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4175cc
mov ecx, dword [eax]
push 1
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0040d08f
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040d08f
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.0040d08f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040d08f
call fcn.00424809
ret
Function at 0x417f60
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x434c84
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x44cd60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.00406230
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x417fb9
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x417fbb
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x418006
mov eax, dword [edi]
push esi
push eax
call fcn.00422fb5
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x418003
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00422bd0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.0041d63d
mov esi, dword [ebp]
test eax, eax
jne 0x418086
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x4180a2
mov eax, dword [esi]
push edi
push eax
call fcn.00422fb5
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x41806e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00422bd0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x4180a2
mov eax, dword [esi]
push 0
push eax
call fcn.00422fb5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret

Function at 0x41873b
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x436d45
call fcn.00424731
lea eax, [ebp - 0x10]
push eax
call fcn.0041cbb0
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
lea eax, [ebp - 0x14]
push str._shm
push eax
lea esi, [ebp - 0x10]
call fcn.004143e4
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040d08f
lea eax, [ebp - 0x14]
push str._wal
push eax
call fcn.004143e4
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040d08f
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040d08f
call fcn.00424809
ret
Function at 0x418bc9
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 4
mov eax, 0x434be3
call fcn.00424731
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, ebx
call fcn.004143a6
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov dword [ebp - 0x10], 1
je 0x418c86
mov esi, dword [ebx]
call fcn.004095f6
test al, al
je 0x418c86
mov eax, dword [ebx]
push edi
push dword [ebp + 0x10]
push dword [eax]
call fcn.00422c50
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], edi
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x418c43
mov edi, dword [ebp + 0x10]
jmp 0x418c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x418c7d
mov edi, dword [ebp + 0x10]
mov esi, dword [ebx]
call fcn.004095f6
test al, al
je 0x418c7d
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x418c86
xor edi, edi
mov esi, dword [ebx]
call fcn.004095f6
mov eax, ebx
call fcn.00424809
ret 0xc

Function at 0x418cd0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x418ce4
cmp dword [esi + 0x30], 0x40
jbe 0x418de8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x418ded
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x418ded
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x418de8
ja 0x418d2f
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x418de8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x418ded
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x418ded
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x418d65
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x418d81
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x418d98
mov ecx, 0x20b
cmp ax, cx
jne 0x418d9b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x418ded
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x418ded
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x418de8
ja 0x418dd6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x418de8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x41cca7
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x4353d8
call fcn.00424731
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
lea esi, [ebp + 0xc]
call fcn.0040e38d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41ccfa
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040d08f
call fcn.00424809
ret
Function at 0x41fb3a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x41fbc9
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00422c50
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41fb89
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41fbab
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x41fc87
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x41fbf1
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x41fbfc
xor eax, eax
jmp 0x41fc48
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x41fc19
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0042048a
jmp 0x41fc29
cmp ecx, 2
jne 0x41fc32
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00421dbc
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.00422c50
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41fc73
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x41fc87
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x41fb47
pop edi
pop ebx
leave
ret
Function at 0x422196
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x44cd60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42222e
push 0x43dd54
push 4
push eax
call fcn.00423814
push eax
call fcn.00412aeb
add esp, 0x10
push ebx
push edi
call fcn.004248bc
mov edi, dword [eax]
call fcn.004248bc
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00424859
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004248bc
cmp dword [eax], ebx
je 0x422245
call fcn.004248bc
push dword [eax]
call fcn.00417960
pop ecx
jmp 0x42224c
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4221d9
jmp 0x4222d3
call fcn.004248bc
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4222cf
cmp dword [ebp - 0x234], esi
jae 0x4222cf
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00422bd0
add esp, 0xc
push 0x43d964
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4222be
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4222be
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4222be
push ebx
push ebx
push esi
jmp 0x4222c7
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4222d1
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00405140
leave
ret
Function at 0x42f132
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004271e4
and dword [ebp - 4], 0
cmp dword [0x450fe0], 0
mov ebx, eax
jne 0x42f1e3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42f294
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42f294
push eax
call fcn.00427172
mov dword [esp], 0x43f34c
push edi
mov dword [0x450fe0], eax
call esi
push eax
call fcn.00427172
mov dword [esp], 0x43f338
push edi
mov dword [0x450fe4], eax
call esi
push eax
call fcn.00427172
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x450fe8], eax
call esi
push eax
call fcn.00427172
pop ecx
mov dword [0x450ff0], eax
test eax, eax
je 0x42f1e3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427172
pop ecx
mov dword [0x450fec], eax
mov eax, dword [0x450fec]
cmp eax, ebx
je 0x42f23b
cmp dword [0x450ff0], ebx
je 0x42f23b
push eax
call fcn.004271ed
push dword [0x450ff0]
mov esi, eax
call fcn.004271ed
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42f23b
test edi, edi
je 0x42f23b
call esi
test eax, eax
je 0x42f232
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42f232
test byte [ebp - 0xc], 1
jne 0x42f23b
or dword [ebp + 0x10], 0x200000
jmp 0x42f274
mov eax, dword [0x450fe4]
cmp eax, ebx
je 0x42f274
push eax
call fcn.004271ed
pop ecx
test eax, eax
je 0x42f274
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42f274
mov eax, dword [0x450fe8]
cmp eax, ebx
je 0x42f274
push eax
call fcn.004271ed
pop ecx
test eax, eax
je 0x42f274
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450fe0]
call fcn.004271ed
pop ecx
test eax, eax
je 0x42f294
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42f296
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x452430
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44b5c8
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x870658], 0x5b1
push ebx
push esi
push edi
jne 0x4016b2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401c20
push 0
mov dword [ebp - 4], 0
call fcn.00403b48
add esp, 4
jmp 0x4015d0
mov eax, dword [0x870658]
add eax, 0x1134b
push eax
push 0
mov dword [0x870658], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x870658]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x86f5ac], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
jmp 0x4016f0
cmp esi, 0x2710
jge 0x401703
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4016f0
mov ecx, dword [0x870658]
xor esi, esi
test ecx, ecx
jbe 0x401779
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401730
mov ecx, dword [0x87065c]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x86f5ac]
mov byte [eax + esi], dl
mov ecx, dword [0x870658]
cmp ecx, 0xa8
jne 0x401774
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x110]
push edx
call ebx
mov ecx, dword [0x870658]
inc esi
cmp esi, ecx
jb 0x401730
xor eax, eax
jmp 0x401780
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x40181c
inc eax
cmp eax, 0x39621
jl 0x401780
call fcn.004014d0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ad
call fcn.004015b0
inc esi
cmp esi, 0x6753f
jl 0x4017a1
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov dword [ebp - 0x10], 0x7b
nop
cmp dword [0x870658], 0x86
jne 0x401800
push 0
push 0
call esi
push 0
push 0x44de88
push str.erixiguxokudepe_vih_nukaxakutepisoxekuposu_nujuf
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub dword [ebp - 0x10], 1
jne 0x4017d0
call fcn.00401280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x870658], 0x400
push esi
push edi
jne 0x40186a
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401960
mov ecx, esi
call fcn.00401980
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetClipboardViewer]
xor esi, esi
cmp esi, 0xa5a
jge 0x401882
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2afe5b
jle 0x401898
cmp edi, 0x78e8e445
jne 0x4018a1
inc esi
cmp esi, 0x1bf9
jl 0x401876
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
nop
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018cd
inc esi
cmp esi, 0x4f6a4
jl 0x4018b0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x4018ec
cmp ebx, 0x785074d5
jne 0x4018f5
inc esi
cmp esi, 0x11915
jl 0x4018d8
mov eax, dword [0x4514cc]
mov ecx, dword [0x4514a0]
mov dword [0x870658], eax
mov dword [0x87065c], ecx
call fcn.004015e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x870658], 0x51f
jne 0x40193c
push 0
lea edx, [ebp - 0x424]
push edx
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x401920
mov eax, dword [0x86f5ac]
mov dword [0x86fbec], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450218]
jne 0x4044b5
repz ret
jmp fcn.0040882c
Function at 0x40a67f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407122
and dword [ebp - 4], 0
cmp dword [0x452314], 0
mov ebx, eax
jne 0x40a730
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a7e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a7e1
push eax
call fcn.004070b0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452314], eax
call esi
push eax
call fcn.004070b0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452318], eax
call esi
push eax
call fcn.004070b0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45231c], eax
call esi
push eax
call fcn.004070b0
pop ecx
mov dword [0x452324], eax
test eax, eax
je 0x40a730
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004070b0
pop ecx
mov dword [0x452320], eax
mov eax, dword [0x452320]
cmp eax, ebx
je 0x40a788
cmp dword [0x452324], ebx
je 0x40a788
push eax
call fcn.0040712b
push dword [0x452324]
mov esi, eax
call fcn.0040712b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a788
test edi, edi
je 0x40a788
call esi
test eax, eax
je 0x40a77f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a77f
test byte [ebp - 0xc], 1
jne 0x40a788
or dword [ebp + 0x10], 0x200000
jmp 0x40a7c1
mov eax, dword [0x452318]
cmp eax, ebx
je 0x40a7c1
push eax
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a7c1
mov eax, dword [0x45231c]
cmp eax, ebx
je 0x40a7c1
push eax
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452314]
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a7e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012af
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403d14], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403d10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403d10]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d18], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401379
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401360
mov eax, dword [0x403d14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x401499
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10
mov edx, esi
mov eax, 4
mov esi, 0x401116
mov edi, 0x4035f5
dec ecx
call fcn.00401cc6
mov eax, ecx
push edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call fcn.004013a1
call fcn.00401c72
mov eax, 0x14
mov ecx, 0x78f
mov esi, 0x401192
mov edi, 0x4014e3
call fcn.00401cc6
xor eax, eax
xor eax, 0x17cf0b66
sub eax, 0x4a88926a
fisttp qword [edi - 0x2d]
sbb al, 0xa9
invalid

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5957595c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x17725b57
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219