joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446c80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x446cb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403e00
jmp 0x446cbf
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403db4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x447bc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x447bfc
mov eax, esi
call fcn.00431408
test al, al
je 0x447bfc
mov eax, dword [ebx + 0x6c]
call fcn.00430fe0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447bfc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00430fe0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44a3a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44a408
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0044a414
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a40f
lea eax, [ebp - 4]
call fcn.00403d1c
ret
Function at 0x44a948
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44aa3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0044a154
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044aeb8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408ee0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044af2c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aa41
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d40
ret
Function at 0x44aa48
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44ab4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0044a154
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x44ab10
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044aeb8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408ee0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044af2c
jmp 0x44ab22
xor edx, edx
mov eax, ebx
call fcn.0044aeb8
xor edx, edx
mov eax, ebx
call fcn.0044af2c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab51
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d40
ret

Function at 0x450a04
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x15c]
mov edx, ebx
mov eax, edi
call fcn.00450c28
mov esi, eax
mov dword [edi + 0x15c], esi
and esi, 0xff
add dword [edi + 0x160], esi
imul esi, dword [edi + 0x160], 0x8088405
inc esi
mov dword [edi + 0x160], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x164]
mov eax, edi
call fcn.00450c28
mov dword [edi + 0x164], eax
pop edi
pop esi
pop ebx
ret

Function at 0x450a78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x450a9d
inc esi
mov eax, edi
call fcn.00450a5c
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00450a04
inc ebx
dec esi
jne 0x450a87
pop edi
pop esi
pop ebx
ret
Function at 0x450b2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x450ba1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00450aa4
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00450a5c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00450a04
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x450b6c
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450ba8
lea eax, [ebp - 4]
call fcn.00403d1c
ret

Function at 0x451340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
jle 0x451484
mov eax, dword [ebp - 4]
call fcn.00452930
cmp ebx, eax
jge 0x451484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov edx, ebx
call fcn.00448b54
mov edx, dword [0x44a458]
call fcn.00403288
mov esi, eax
mov eax, esi
call fcn.0044ae4c
test al, al
je 0x45147a
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x45146e
xor eax, eax
push ebp
push 0x451467
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00451840
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x37]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 4]
movzx edx, word [ebp - 0x1b]
movzx eax, word [ebp - 0x19]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
movzx esi, word [ebp - 0x17]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004042c8
mov eax, dword [ebp - 8]
call fcn.00404168
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00451624
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4514a7
mov eax, dword [ebp - 4]
call fcn.004518c4
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409378
jmp 0x4514a7
mov eax, dword [ebp - 8]
call fcn.00403d1c
jmp 0x4514a7
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
push eax
push 0
mov ecx, 0x4514b8
mov dl, 1
mov eax, dword [0x40ec9c]
call fcn.0040bc2c
call fcn.00403790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x453559
inc ecx
xor esi, esi
mov bl, byte [eax + esi]
xor bl, byte [edx + esi]
mov edi, dword [ebp - 4]
mov byte [edi + esi], bl
inc esi
dec ecx
jne 0x453549
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x453e5c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407604
ret

Function at 0x45522c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4552c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040415c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4552a1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x47ff98]
call fcn.00405af8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x454dc0]
call fcn.0040bc2c
call fcn.00403790
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00454f08
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4552ce
lea eax, [ebp - 0x10]
call fcn.00403d1c
ret

Function at 0x4555b0
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4555dc
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x4555c8
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4555dc
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x4555e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x455660
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47ff7c]
cmp dword [eax], 2
je 0x455633
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.004042c8
push 0x104
mov eax, dword [ebp - 4]
call fcn.0040415c
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
xchg edx, eax
call fcn.004042c8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403db4
mov eax, dword [0x47ff7c]
cmp dword [eax], 2
jne 0x45564a
mov eax, ebx
mov edx, dword [0x4808a0]
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455667
lea eax, [ebp - 4]
call fcn.00403d1c
ret
Function at 0x455e0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x455e60
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x47e6fc]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x47eafc]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x47eefc]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x47f2fc]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x455e1b
pop edi
pop esi
pop ebx
ret

Function at 0x45cf8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d064
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x480ab4], 0
jne 0x45d048
lea eax, [ebp - 4]
mov edx, 0x45d07c
call fcn.00403db4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040415c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45d048
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45d041
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45d02b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45d08c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45d02b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x480ab4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d048
mov eax, dword [ebp - 0xc]
call fcn.00402744
ret
mov ebx, dword [0x480ab4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d06b
lea eax, [ebp - 4]
call fcn.00403d1c
ret
Function at 0x466dd0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00466e00
mov dword [ebx + 0xc], 0x67452301
mov dword [ebx + 0x10], 0xefcdab89
mov dword [ebx + 0x14], 0x98badcfe
mov dword [ebx + 0x18], 0x10325476
mov dword [ebx + 0x1c], 0xc3d2e1f0
pop ebx
ret

Function at 0x46a334
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a48e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a46e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403ec0
lea eax, [ebp - 0x118]
mov edx, 0x46a4a4
call fcn.00403fa0
mov eax, dword [ebp - 0x118]
call fcn.0040415c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46a3e0
lea eax, [ebp - 0x111]
call fcn.00409164
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403e00
jmp 0x46a3e7
mov eax, esi
call fcn.00403d1c
cmp bl, 0x61
jae 0x46a408
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c820
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
jmp 0x46a422
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c794
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x46a4b0
call fcn.004098c0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a475
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040415c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46cb1d
test al, 0x10
jne 0x46cb21
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46f574
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46f5dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
lea edx, [ebp - 0x88]
mov ecx, 0x80
call fcn.00403f48
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f5e4
lea eax, [ebp - 4]
call fcn.00403d1c
ret

Function at 0x46f5ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46f677
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040938c
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [0x47fde8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x46f644
mov eax, edi
mov edx, ebx
call fcn.00403ed0
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
call fcn.004093d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f67e
lea eax, [ebp - 8]
call fcn.00405b50
ret

Function at 0x46f688
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 8]
shr eax, 0xa
add esp, 0x20
ret
Function at 0x470244
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00409378
add esp, 0x108
pop ebx
ret
Function at 0x4709d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040415c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4709e9
test al, 0x10
jne 0x4709ed
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0xbeb6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x908015
lea edi, [esi - 0x507015]
push edi
or ebp, 0xffffffff
jmp 0xbeb6e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbeb6e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbeb6d8
mov eax, 1
add ebx, ebx
jne 0xbeb6fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbeb70c
jne 0xbeb72b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbeb72b
dec eax
add ebx, ebx
jne 0xbeb718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbeb6f0
add ebx, ebx
jne 0xbeb727
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbeb77d
xor ecx, ecx
sub eax, 3
jb 0xbeb743
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbeb7b2
sar eax, 1
mov ebp, eax
jmp 0xbeb74e
add ebx, ebx
jne 0xbeb74e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbeb71c
inc ecx
add ebx, ebx
jne 0xbeb75c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbeb71c
add ebx, ebx
jne 0xbeb769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbeb75e
jne 0xbeb77a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbeb75e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbeb79c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbeb78e
jmp 0xbeb6de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbeb79c
add edi, ecx
jmp 0xbeb6de
pop esi
mov edi, esi
mov ecx, 0xe1a5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbeb7ba
cmp byte [edi], 0x3a
jne 0xbeb7ba
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 0xbeb7bf
lea edi, [esi + 0x7da000]
mov eax, dword [edi]
or eax, eax
je 0xbeb82e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7eb000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7eb028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbeb7ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7eb030]
or eax, eax
je 0xbeb828
mov dword [ebx], eax
add ebx, 4
jmp 0xbeb809
call dword [esi + 0x7eb02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xbeb868
cmp al, 0xef
ja 0xbeb852
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xbeb834
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0xbeb841
mov eax, dword [edi]
add edi, 4
jmp 0xbeb841
mov ebp, dword [esi + 0x7eb034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0xbeb89c
sub esp, 0xffffff80
jmp 0x464020
Function at 0x4087e0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x100
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR90.dll_vswprintf_s]
add esp, 0x10
mov dword [ebp - 0x210], 0
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x454], 0
je 0x408883
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x408881
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 1
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x408893
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCR90.dll__putws]
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x409610
xor eax, eax
jmp 0x4096a7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4096a5
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4096a5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x40967e
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
or al, 0x74
push es
xor eax, eax
jmp 0x4096a7
mov eax, dword [ebp + 8]
push eax
call fcn.00409080
add esp, 4
test eax, eax
je 0x4096a5
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40969e
mov eax, dword [ebp - 0x238]
jmp 0x4096a7
mov eax, 1
jmp 0x4096a7
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret