joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403aeb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x412044]
push esi
mov esi, dword [eax*4 + 0x414bdc]
test esi, esi
je 0x403beb
movzx eax, word [esi]
add esi, 2
test eax, eax
jbe 0x403beb
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x14], eax
mov bl, byte [esi]
inc esi
push esi
mov dword [ebp - 0x10], esi
call fcn.0040a290
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 0xc], esi
call fcn.0040a290
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 8], esi
call fcn.0040a290
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 4], esi
call fcn.0040a290
push dword [ebp - 0x10]
lea esi, [esi + eax + 1]
push dword [0x414b10]
call fcn.00403a73
add esp, 0x18
test bl, 1
je 0x403b91
push dword [0x414b10]
lea eax, [ebp - 0x28]
and byte [ebp - 0x28], 0
push 0x14
push eax
push 0x414cd0
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x403be0
push 0xffdc
push dword [ebp - 4]
push 0
call fcn.004037a1
lea ebx, [eax + 1]
push ebx
call fcn.0040a482
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push eax
call fcn.004037a1
add esp, 0x1c
push dword [0x414b10]
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push dword [0x414b10]
xor eax, eax
push eax
push eax
push eax
call edi
push dword [ebp - 0x10]
call fcn.0040a419
pop ecx
dec dword [ebp - 0x14]
jne 0x403b1f
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403bee
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x412044]
push esi
mov esi, dword [eax*4 + 0x414bc4]
test esi, esi
je 0x403d59
movzx eax, word [esi]
add esi, 2
test eax, eax
jbe 0x403d59
push ebx
push edi
mov dword [ebp - 0x18], eax
mov edi, dword [esi]
mov bl, byte [esi + 4]
add esi, 4
inc esi
push esi
mov dword [ebp - 0x10], esi
call fcn.0040a290
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 0x14], esi
call fcn.0040a290
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 0xc], esi
call fcn.0040a290
add esp, 0xc
lea esi, [esi + eax + 1]
mov eax, dword [0x412060]
cmp edi, 0x10
jae 0x403c60
mov eax, dword [edi*4 + 0x41205c]
test bl, 1
mov dword [ebp - 8], eax
je 0x403cc2
lea eax, [ebp - 4]
and byte [ebp - 0x38], 0
push eax
push 0x20019
push 0
mov dword [ebp - 0x20], 1
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403cb8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x14
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x38], 0
jne 0x403d4e
push 0xffdc
push dword [ebp - 0xc]
push 0
call fcn.004037a1
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.0040a482
mov edi, eax
lea eax, [ebx + 1]
push eax
push dword [ebp - 0xc]
push edi
call fcn.004037a1
push 6
push str.DWORD:
push edi
mov dword [ebp - 0xc], 1
call fcn.0040a7b0
add esp, 0x28
test eax, eax
jne 0x403d18
push 4
lea eax, [edi + 6]
pop ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.0040aabe
pop ecx
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403d47
push ebx
push edi
push dword [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0040a419
pop ecx
dec dword [ebp - 0x18]
jne 0x403c1c
pop edi
pop ebx
pop esi
leave
ret
Function at 0x404465
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [0x414b14]
push dword [0x414b10]
call fcn.0040a310
mov esi, dword [ebp + 8]
pop ecx
pop ecx
cmp byte [esi + 0x1a], 2
jne 0x4044d0
push dword [0x414c6c]
push dword [0x414b10]
call fcn.0040a310
push 0x5c
push dword [0x414b10]
call fcn.0040a5a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4044b3
inc edi
jmp 0x4044b9
mov edi, dword [0x414b10]
push 0
push esi
call fcn.0040376c
push eax
push edi
call fcn.0040a310
add esp, 0x10
jmp 0x40463c
movzx eax, byte [esi + 0x17]
dec eax
je 0x404609
dec eax
je 0x404507
dec eax
jne 0x40461a
lea eax, [ebp + 8]
push eax
push 0x14
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push dword [0x414b10]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x40461a
push 1
push 0x30c
call fcn.0040a5c7
mov edi, eax
pop ecx
test edi, edi
pop ecx
lea ebx, [edi + 0x208]
je 0x40461a
push 0
push esi
call fcn.0040376c
push dword [0x414b10]
mov esi, eax
call fcn.00408524
push 0x5c
push esi
call fcn.0040a5a0
add esp, 0x14
test eax, eax
je 0x40454f
inc eax
mov dword [ebp + 8], eax
jmp 0x404552
mov dword [ebp + 8], esi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [edi + 0x104]
mov dword [ebp - 8], esi
push eax
push dword [0x414b10]
push ebx
push dword [ebp + 8]
push 1
call sub.VERSION.dll_VerFindFileA
mov ebx, eax
shr ebx, 1
and ebx, 1
cmp byte [edi], 0
je 0x4045b2
push edi
call fcn.004084fd
push dword [ebp + 8]
push edi
call fcn.0040a320
push edi
push dword [0x414b10]
call fcn.0040a310
add esp, 0x14
jmp 0x4045db
push esi
push dword [0x414b10]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [0x414b10]
call fcn.004084fd
push dword [ebp + 8]
push dword [0x414b10]
call fcn.0040a320
add esp, 0xc
test ebx, ebx
jne 0x4045fe
push 2
push dword [0x414b10]
call fcn.0040a6b7
pop ecx
test eax, eax
pop ecx
je 0x4045fe
cmp dword [0x414cf4], 0xd
jne 0x4045fe
push 1
pop ebx
push edi
call fcn.0040a419
pop ecx
mov eax, ebx
jmp 0x40463e
push 0x104
push dword [0x414b10]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [0x414b10]
call fcn.004084fd
push 0
push esi
call fcn.0040376c
push eax
push dword [0x414b10]
call fcn.0040a320
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404643
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
push 1
pop edi
lea eax, [ebp + 8]
push eax
push 0x800
mov dword [ebp - 4], edi
call fcn.00408572
pop ecx
test eax, eax
pop ecx
jne 0x40466f
mov eax, edi
jmp 0x404791
lea eax, [ebp - 0x14]
push eax
push dword [0x414b10]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 8], eax
je 0x404784
push eax
call fcn.0040a482
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
je 0x404784
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [0x414b10]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40477a
test byte [esi + 0x16], 2
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, 0x124
je 0x404724
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4122a4
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404724
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi + 0x24]
mov eax, dword [edx + 8]
cmp eax, ecx
ja 0x4046f7
jne 0x404724
mov eax, dword [edx + 0xc]
cmp eax, dword [esi + 0x28]
jbe 0x404724
push 0x1d
push 6
call fcn.004012af
cmp byte [eax], 0
pop ecx
pop ecx
je 0x404776
push dword [0x414b10]
push eax
push dword [ebp + 8]
call edi
push ebx
push dword [ebp + 8]
call fcn.004013d3
add esp, 0x14
cmp eax, 6
jne 0x404776
test byte [esi + 0x16], 4
je 0x40477a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40477a
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp dword [esi + 0x34], eax
je 0x40477a
push dword [0x414b10]
push 0x1e
push 6
call fcn.004012af
pop ecx
pop ecx
push eax
push dword [ebp + 8]
call edi
push ebx
push dword [ebp + 8]
call fcn.004013d3
add esp, 0x14
cmp eax, 6
je 0x40477a
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.0040a419
pop ecx
pop ebx
lea eax, [ebp + 8]
push eax
call fcn.004085a5
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
leave
ret
Function at 0x4085bc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
mov ebx, dword [ebp + 0xc]
push esi
or esi, 0xffffffff
test ebx, ebx
je 0x4085d7
mov dword [ebx], 1
mov eax, dword [ebp + 8]
test eax, eax
je 0x408715
cmp byte [eax], 0
je 0x408715
push edi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040a310
pop ecx
pop ecx
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408698
push str.GetDiskFreeSpaceExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x408683
cmp byte [ebp - 0x120], 0x5c
jne 0x408642
cmp byte [ebp - 0x11f], 0x5c
jne 0x408642
lea eax, [ebp - 0x120]
push eax
call fcn.004084fd
jmp 0x40864e
lea eax, [ebp - 0x120]
push eax
call fcn.00408524
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push eax
call ebx
test eax, eax
je 0x408683
mov esi, dword [ebp - 4]
cmp esi, 0x400
jb 0x408678
push 0xfffffffffffffffe
pop esi
jmp 0x408683
mov eax, dword [ebp - 8]
shl esi, 0x16
shr eax, 0xa
add esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0xffffffff
je 0x408695
cmp dword [ebp + 0xc], 0
je 0x408710
mov ebx, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
cmp byte [ebp - 0x120], 0x5c
jne 0x4086ae
cmp byte [ebp - 0x11f], 0x5c
je 0x4086c5
cmp byte [ebp - 0x11f], 0x3a
jne 0x4086c5
and byte [ebp - 0x11d], 0
mov byte [ebp - 0x11e], 0x5c
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x408710
mov eax, dword [ebp - 0xc]
cmp esi, 0xffffffff
jne 0x4086fe
mov esi, eax
imul esi, dword [ebp + 8]
shr esi, 8
imul esi, dword [ebp + 0xc]
shr esi, 2
test ebx, ebx
je 0x408710
imul eax, dword [ebp + 8]
add eax, 0x3ff
shr eax, 0xa
mov dword [ebx], eax
mov eax, esi
pop edi
jmp 0x408717
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x408b14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor ebx, ebx
push 5
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x408bf4
lea eax, [ebp - 0x208]
mov esi, 0x80000000
push eax
push dword [ebp + 0xc]
push esi
call fcn.00408bf9
add esp, 0xc
test eax, eax
jne 0x408bf4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x208]
push str._shellopencommand
push eax
call edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00408bf9
add esp, 0xc
test eax, eax
jne 0x408bf4
lea eax, [ebp - 0x208]
push str.__1_
push eax
call fcn.0040b190
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x408bd5
lea eax, [ebp - 0x208]
push 0x4124b8
push eax
call fcn.0040b190
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x408bd5
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x209]
jmp 0x408bd7
mov byte [esi], bl
push 0x4124b4
push esi
call edi
push dword [ebp + 8]
push esi
call edi
lea eax, [ebp - 0x208]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408bf9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408c38
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40a678
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a6a3
test byte [esp + 8], 0x80
je 0x40a692
and al, 0xfe
jmp 0x40a694
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40a6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c8e9
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a6d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c8e9
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40a6f8
test byte [esp + 8], 2
je 0x40a6f8
mov dword [0x414cf4], 0xd
mov dword [0x414cf8], 5
jmp 0x40a6d3
xor eax, eax
ret
Function at 0x40e5e1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x414a70
cmp edx, dword [eax]
je 0x40e603
add eax, 8
inc ecx
cmp eax, 0x414b00
jl 0x40e5f4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x414a70]
jne 0x40e731
mov eax, dword [0x414d48]
cmp eax, 1
je 0x40e70b
test eax, eax
jne 0x40e634
cmp dword [0x412520], 1
je 0x40e70b
cmp edx, 0xfc
je 0x40e731
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e66b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a290
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40e6ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a290
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4107f8
push edi
call fcn.0040a9c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a320
lea eax, [ebp - 0xa0]
push 0x41213c
push eax
call fcn.0040a320
push dword [esi + 0x414a74]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a320
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040eef7
add esp, 0x2c
pop edi
jmp 0x40e731
lea eax, [ebp + 8]
lea esi, [esi + 0x414a74]
push 0
push eax
push dword [esi]
call fcn.0040a290
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 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x59ee5355
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x57826487
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x5f87e3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f87fe
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124bda23]
pop edx
test eax, eax
je 0x5f88d0
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f88bf
test dword [ebp - 0x2a8], 1
jne 0x5f88bf
and dword [ebp - 0x2a8], 0x100
jne 0x5f88bf
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2c8c]
pop edx
pop esi
test eax, eax
je 0x5f8862
jmp 0x5f88bf
cmp word [esi], 0x5a4d
jne 0x5f88bf
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f88bf
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2b60]
pop edx
test eax, eax
je 0x5f88bf
lea eax, [ebp - 0x28c]
push eax
call fcn.005f873f
test eax, eax
jne 0x5f88b8
jmp 0x5f88bf
mov eax, esi
jmp 0x5f88d0
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f87fe
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3c5e7daa
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4fe229bc
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40abc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ab95
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [0x43f320]
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [edi], vtable.ExProgramer.0
call dword [0x43f1c8]
mov eax, dword [0x43f2e0]
mov dword [edi + 0x37], eax
push 0x43f978
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 2
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0x90000000
mov dword [edi + 0x20], 0x90000000
call dword [0x43f26c]
mov dword [edi + 0x28], 0x90000000
mov eax, edi
mov dword [edi + 0x2c], 0x9fffffff
mov word [edi + 0x30], 0
mov byte [edi + 0x32], 0
mov dword [edi + 0x33], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41b020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43be3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x44e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
push 0
mov dword [ebp - 4], 0
call dword [0x43f320]
mov dword [esi], vtable.RegisterInfo.0
lea ecx, [esi + 0x58]
mov eax, dword [0x43f2e0]
mov dword [esi + 0xc], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x10], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x14], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x18], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x20], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x24], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x28], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x2c], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x30], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x34], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x38], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x43f2e0]
mov dword [esi + 0x44], eax
call dword [0x43f1c8]
lea eax, [ebp + 8]
mov dword [esi + 8], 0
push eax
lea ecx, [esi + 0x48]
mov dword [esi + 0x8a], 0
call fcn.00418a80
lea ecx, [ebp + 0x18]
mov dword [esi + 0x40], 0
call dword [0x43f338]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x44
Function at 0x425fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b64e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 3
push 0x43fce0
call dword [0x43f2a8]
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
call fcn.0040f2e0
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x42607c
xor edi, edi
nop dword [eax + eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0xc]
push eax
call dword [0x43f2b0]
add esp, 8
test al, al
jne 0x42605c
mov edi, esi
mov esi, dword [esi + 4]
jmp 0x42605f
mov esi, dword [esi + 8]
test esi, esi
jne 0x426040
test edi, edi
je 0x42607c
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [0x43f2b0]
add esp, 8
test al, al
je 0x426082
mov edi, dword [ebx + 0x18]
add edi, 8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [0x43f338]
lea ecx, [ebx + 0x18]
call fcn.0040f2e0
mov eax, dword [ebx + 0x18]
add eax, 8
cmp edi, eax
je 0x4260fc
mov al, byte [edi + 0x24]
mov edi, dword [ebp - 0x18]
add edi, 0x20
mov byte [ebp - 0xd], al
mov ecx, edi
call fcn.0040f370
mov esi, dword [edi]
cmp dword [esi + 0xc], 0
je 0x4260c4
mov esi, dword [esi + 0x14]
jmp 0x4260c7
add esi, 8
mov ecx, edi
call fcn.0040f370
mov eax, dword [edi]
add eax, 8
cmp esi, eax
je 0x4260fc
mov ebx, dword [0x43f318]
nop dword [eax]
mov al, byte [ebp - 0xd]
mov ecx, esi
xor byte [esi + 0x1c], al
call ebx
mov ecx, edi
mov esi, eax
call fcn.0040f370
mov eax, dword [edi]
add eax, 8
cmp esi, eax
jne 0x4260e0
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 0x42b3b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x44e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x44ede4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x44ede4
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x43f978
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0042b0d0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401290
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4000
call fcn.0040cfc6
add esp, 4
push 0x2000
mov esi, eax
mov eax, dword [ebp + 8]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4012ed
mov eax, 1
pop esi
pop ebp
ret
push edi
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp + 0x1c]
push edx
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg edi
sbb eax, eax
and eax, 0xfffffffe
pop edi
add eax, 2
pop esi
pop ebp
ret