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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40131c
mov eax, dword [ebp - 0x10]
jmp 0x40134e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4019a5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
cmp dword [0x40db88], 2
jne 0x4019ce
push 0x40a250
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
cmp dword [0x40db88], 3
jne 0x401b1c
push 0x40a278
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a28c
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a2a0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a2b4
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a74
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a2c8
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40a2e0
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a6f
push 0x40a2f4
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
push 0x40a31c
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a330
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a344
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a358
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b0a
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a36c
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40a384
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b08
push 0x40a398
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
push 0x40a3c0
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x40a3e8
lea edx, [ebp - 0x804]
push edx
push 0x40a414
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4021e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402250
cmp dword [ebp - 0x108], 2
jne 0x402240
cmp dword [ebp - 0x114], 4
jne 0x40222e
mov dword [ebp - 4], 2
jmp 0x40223e
cmp dword [ebp - 0x114], 5
jb 0x40223e
mov dword [ebp - 4], 3
jmp 0x402250
cmp dword [ebp - 0x108], 1
jne 0x402250
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x402257
Capabilities:
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x9c70
call fcn.00403600
cmp dword [ebp + 8], 0
je 0x402297
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xa14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0xa14]
mov dword [ebp - 4], ecx
jmp 0x40229d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xc64]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x4023ba
cmp dword [0x40db88], 1
jne 0x40239a
push 0x40d96c
lea edx, [ebp - 0x1464]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a4b4
lea eax, [ebp - 0x1464]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
push ecx
push 0x40a4cc
lea edx, [ebp - 0x1c64]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1c64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - reloc.KERNEL32.dll_RtlUnwind], eax
lea ecx, [ebp - 0x1464]
push ecx
push 0x8000
lea edx, [ebp - 0x9c64]
push edx
push 0x40a4dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [ebp - 0x9c70], eax
mov eax, dword [ebp - 0x9c70]
lea ecx, [ebp + eax*2 - 0x9c64]
mov dword [ebp - 0x9c68], ecx
lea edx, [ebp - 0x1c64]
push edx
mov eax, dword [ebp - 0x9c68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - reloc.KERNEL32.dll_RtlUnwind]
mov edx, dword [ebp - 0x9c68]
mov word [edx + ecx*2 + 2], 0
lea eax, [ebp - 0x1464]
push eax
lea ecx, [ebp - 0x9c64]
push ecx
push 0x40a4ec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov dword [ebp - 8], eax
jmp 0x4023ab
push 4
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4023c1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4023c8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov dword [ebp - 0x410], 0x3f2
mov dword [ebp - 0x40c], 0
cmp dword [ebp + 0xc], 0
je 0x4024b2
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4024b2
lea ecx, [ebp - 8]
push ecx
push 0x10008
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
jne 0x4024b2
cmp dword [ebp - 0x410], 0
jne 0x4024a8
mov dword [ebp - 4], 0x200
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x408]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0x103
jne 0x402484
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x410], eax
jmp 0x4024a8
cmp dword [ebp - 0x410], 0
jne 0x4024a6
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004023c8
add esp, 8
mov dword [ebp - 0x410], eax
jmp 0x40242d
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x410]
mov esp, ebp
pop ebp
ret

Function at 0x4024bc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
jne 0x4024d2
xor eax, eax
jmp 0x402510
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4024f2
mov eax, dword [ebp - 8]
jmp 0x402510
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x402514
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402537
xor eax, eax
jmp 0x4025d4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401b4f
add esp, 4
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40255f
xor eax, eax
jmp 0x4025d4
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401b4f
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a4fc
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401b4f
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x40db88], 2
je 0x4025b4
cmp dword [0x40db88], 3
jne 0x4025cf
push 0x40a504
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 0x14]
push edx
call fcn.00401b4f
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4029f3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe24
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x218]
push edx
call fcn.00401b4f
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40abb0
lea edx, [ebp - 0x218]
push edx
call fcn.004039a8
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x402b6f
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x220]
push eax
push 0x800
lea ecx, [ebp - 0xe20]
push ecx
call fcn.0040393d
add esp, 0xc
test eax, eax
je 0x402b60
push 0x40abb4
lea edx, [ebp - 0xe20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402ab3
mov dword [ebp - 0xc], 1
push 0x40abe8
lea eax, [ebp - 0xe20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402ad0
mov dword [ebp - 0x10], 1
push 0x400
lea ecx, [ebp - 0xe20]
push ecx
lea edx, [ebp - 0x620]
push edx
call fcn.00403760
add esp, 0xc
push 0x40ac0c
lea eax, [ebp - 0x620]
push eax
call fcn.004036e0
add esp, 8
test eax, eax
jne 0x402b33
push 0x40ac18
lea ecx, [ebp - 0x620]
push ecx
call fcn.004036e0
add esp, 8
test eax, eax
jne 0x402b33
push 0x40ac24
lea edx, [ebp - 0x620]
push edx
call fcn.004036e0
add esp, 8
test eax, eax
je 0x402b3d
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0xc], 0
je 0x402b5b
cmp dword [ebp - 0x10], 0
je 0x402b5b
cmp dword [ebp - 0x21c], 0
je 0x402b5b
mov dword [ebp - 4], 1
jmp 0x402b60
jmp 0x402a73
mov eax, dword [ebp - 0x220]
push eax
call fcn.00403689
add esp, 4
cmp dword [ebp - 4], 0
je 0x402be1
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x40ac30
lea edx, [ebp - 0x218]
push edx
call fcn.004034d0
add esp, 8
mov dword [ebp - 0xe24], eax
cmp dword [ebp - 0xe24], 0
jne 0x402bbf
push 0x40ac3c
lea eax, [ebp - 0x218]
push eax
call fcn.004034d0
add esp, 8
mov dword [ebp - 0xe24], eax
cmp dword [ebp - 0xe24], 0
je 0x402be1
mov ecx, dword [ebp - 0xe24]
mov word [ecx + 2], 0x70
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x402be8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov dword [ebp - 0x210], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x20c]
push edx
call fcn.00401b4f
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x402c9f
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004029f3
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402c7a
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x464]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402c4f
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
mov esp, ebp
pop ebp
ret
Function at 0x402ca9
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.00403600
mov dword [ebp - 4], 1
cmp dword [0x40db88], 2
je 0x402ccf
cmp dword [0x40db88], 3
jne 0x402ce9
push 1
push 0x40ac48
call fcn.0040127c
add esp, 8
test eax, eax
jne 0x402ce9
xor eax, eax
jmp 0x402f0d
cmp dword [0x40db80], 0
je 0x402d03
push 0
push 0
push 0
call dword [0x40db80]
jmp 0x402f0a
cmp dword [0x40db88], 1
jne 0x402f0a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x818]
push edx
call fcn.00401b4f
add esp, 4
push 0x40ac70
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40ac88
lea ecx, [ebp - 0x818]
push ecx
call fcn.004039a8
add esp, 8
mov dword [ebp - 0x860], eax
cmp dword [ebp - 0x860], 0
je 0x402f0a
push 0x40ac8c
mov edx, dword [ebp - 0x860]
push edx
call fcn.00403a58
add esp, 8
push 0x40ac98
mov eax, dword [ebp - 0x860]
push eax
call fcn.00403a58
add esp, 8
push 0x40acb0
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.00403a58
add esp, 8
push 0x40acc0
mov edx, dword [ebp - 0x860]
push edx
call fcn.00403a58
add esp, 8
push 0x40acf4
mov eax, dword [ebp - 0x860]
push eax
call fcn.00403a58
add esp, 8
push 0x40ad10
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.00403a58
add esp, 8
push 0x40ad14
mov edx, dword [ebp - 0x860]
push edx
call fcn.00403a58
add esp, 8
push 0x40ad28
mov eax, dword [ebp - 0x860]
push eax
call fcn.00403a58
add esp, 8
push 0x40ad44
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.00403a58
add esp, 8
push 0x40ad48
mov edx, dword [ebp - 0x860]
push edx
call fcn.00403a58
add esp, 8
push 0x40ad60
mov eax, dword [ebp - 0x860]
push eax
call fcn.00403a58
add esp, 8
push 0x40ad78
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.00403a58
add esp, 8
push 0x40ad7c
mov edx, dword [ebp - 0x860]
push edx
call fcn.00403a58
add esp, 8
push 0x40ad90
mov eax, dword [ebp - 0x860]
push eax
call fcn.00403a58
add esp, 8
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.00403689
add esp, 4
push 0x40ada8
mov edx, dword [ebp + 8]
push edx
call fcn.00402257
add esp, 8
push 0x40adc0
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x1060]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44
push 0
lea eax, [ebp - 0x85c]
push eax
call fcn.00403a00
add esp, 0xc
mov dword [ebp - 0x85c], 0x44
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x85c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1060]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403025
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0x40db80
call fcn.00402ff3
add esp, 4
push 0x40db8c
call fcn.00402ff3
add esp, 4
push 0x40d964
call fcn.00402ff3
add esp, 4
push 0x40db7c
call fcn.00402ff3
add esp, 4
push 0x40d968
call fcn.00402ff3
add esp, 4
push 0x40e39c
call fcn.00402ff3
add esp, 4
push 0x40d960
call fcn.00402ff3
add esp, 4
push 0x40db78
call fcn.00402ff3
add esp, 4
push 0x40e394
call fcn.00402ff3
add esp, 4
push 0x40e398
call fcn.00402ff3
add esp, 4
push 0x40db84
call fcn.00402ff3
add esp, 4
push 0x40db74
call fcn.00402ff3
add esp, 4
push 0x40ae70
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x40e3a0], eax
cmp dword [0x40e3a0], 0
jne 0x4030e2
jmp 0x403208
push 0x40ae8c
mov eax, dword [0x40e3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db80], eax
push 0x40aea0
mov ecx, dword [0x40e3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e390], eax
push 0x40aeb8
mov edx, dword [0x40e3a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40d968], eax
push 0x40aed0
mov eax, dword [0x40e3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e39c], eax
push 0x40aef0
mov ecx, dword [0x40e3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40d964], eax
push 0x40af0c
mov edx, dword [0x40e3a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db8c], eax
push 0x40af28
mov eax, dword [0x40e3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db7c], eax
push 0x40af44
mov ecx, dword [0x40e3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db78], eax
push 0x40af5c
mov edx, dword [0x40e3a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e398], eax
push 0x40af80
mov eax, dword [0x40e3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e394], eax
push 0x40afa0
mov ecx, dword [0x40e3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db84], eax
push 0x40afc0
mov edx, dword [0x40e3a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40db74], eax
push 0x40afdc
mov eax, dword [0x40e3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40d960], eax
pop ebp
ret
Function at 0x406585
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d1a8
cmp edx, dword [eax]
je 0x4065a7
add eax, 8
inc ecx
cmp eax, 0x40d238
jl 0x406598
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d1a8]
jne 0x4066d5
mov eax, dword [0x40e3ac]
cmp eax, 1
je 0x4066af
test eax, eax
jne 0x4065d8
cmp dword [0x40b0b4], 1
je 0x4066af
cmp edx, 0xfc
je 0x4066d5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40660f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407e40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407730
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406652
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407730
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4094f4
push edi
call fcn.004082f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407e40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407e50
lea eax, [ebp - 0xa0]
push 0x4094d4
push eax
call fcn.00407e50
push dword [esi + 0x40d1ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407e50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408265
add esp, 0x2c
pop edi
jmp 0x4066d5
lea eax, [ebp + 8]
lea esi, [esi + 0x40d1ac]
push 0
push eax
push dword [esi]
call fcn.00407730
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10a86
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x10bdc
lea eax, [ebp - 0xc]
push eax
call edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x22
lea eax, [ebp - 0x1c]
push eax
push 0x18
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x10b40
mov eax, dword [ebp - 4]
or dword [eax + 0x1c], 0x10
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 0x28]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
push 0
push 0x1057e
mov dword [esi + 8], eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoInitializeTimer]
mov dword [esi + 0x14], 0xa
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoStartTimer]
push 0x10bcc
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x10b3d
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
jmp 0x10b3f
xor eax, eax
pop esi
pop edi
leave
ret 4
Function at 0x4acbe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x4acc02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4acc09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4acbf8
mov eax, 1
add ebx, ebx
jne 0x4acc1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4acc2c
jne 0x4acc4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4acc4b
dec eax
add ebx, ebx
jne 0x4acc38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4acc10
add ebx, ebx
jne 0x4acc47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4acc9d
xor ecx, ecx
sub eax, 3
jb 0x4acc63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4accd2
sar eax, 1
mov ebp, eax
jmp 0x4acc6e
add ebx, ebx
jne 0x4acc6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4acc3c
inc ecx
add ebx, ebx
jne 0x4acc7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4acc3c
add ebx, ebx
jne 0x4acc89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4acc7e
jne 0x4acc9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4acc7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4accbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4accae
jmp 0x4acbfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4accbc
add edi, ecx
jmp 0x4acbfe
pop esi
mov edi, esi
mov ecx, 0x2821
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4accda
cmp byte [edi], 0x1e
jne 0x4accda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4accdf
lea edi, [esi + 0xa9000]
mov eax, dword [edi]
or eax, eax
je 0x4acd57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb0aac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb0bb0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4acd0c
mov ecx, edi
jns 0x4acd3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb0bb4]
or eax, eax
je 0x4acd51
mov dword [ebx], eax
add ebx, 4
jmp 0x4acd29
call dword [esi + 0xb0bc4]
mov ebp, dword [esi + 0xb0bb8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4acd8b
sub esp, 0xffffff80
jmp 0x449e09