joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fdcf
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x450
mov eax, 0x4a0e11
call fcn.00429ad7
mov esi, ecx
call fcn.0049308d
mov edi, eax
mov ecx, esi
lea eax, [ebp - 0x45c]
push eax
call fcn.00493180
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x48fe04
mov eax, dword [eax]
jmp 0x48fe06
mov eax, ebx
push eax
lea ecx, [ebp - 0x448]
call fcn.004036b5
mov ecx, dword [ebp - 0x45c]
test ecx, ecx
je 0x48fe21
call fcn.004020f9
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x44c], ebx
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 4
mov esi, str.XLMAIN
mov dword [ebp - 0x414], eax
push esi
call fcn.0040283e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.004027c5
lea eax, [ebp - 0x430]
push eax
push 0x4120bd
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x450]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x454]
push ebx
push 1
sar esi, 2
call fcn.004016e6
cmp esi, 1
jle 0x48ff68
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00443480
mov esi, dword [ebp - 0x454]
add esp, 0xc
cmp esi, dword [ebp - 0x450]
je 0x48ff7f
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48ff48
test dx, dx
je 0x48ff44
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48ff48
add ecx, 4
add eax, 4
test dx, dx
jne 0x48ff22
mov eax, ebx
jmp 0x48ff4d
sbb eax, eax
or eax, 1
test eax, eax
je 0x48ff5e
add esi, 4
cmp esi, dword [ebp - 0x450]
jne 0x48fef4
jmp 0x48ff60
mov edi, dword [esi]
mov esi, dword [ebp - 0x454]
jmp 0x48ff7f
mov eax, dword [ebp - 0x450]
mov esi, dword [ebp - 0x454]
sub eax, esi
sar eax, 2
test eax, eax
je 0x48ff7f
mov edi, dword [esi]
test esi, esi
je 0x48ffac
mov eax, dword [ebp - 0x44c]
sub eax, esi
push 4
sar eax, 2
push eax
push esi
call fcn.0040169b
add esp, 0xc
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.004016e6
mov eax, edi
call fcn.00429a81
ret
Function at 0x490602
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4a0f5f
call fcn.00429b45
xor ebx, ebx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x4facb0
push 0x4040ec
push ebx
push ebx
mov dword [0x4faee0], ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00494670
or dword [ebp - 4], 0xffffffff
mov dword [0x4faee0], eax
jmp 0x49064f
cmp dword [ebp - 0x48], 0
je 0x49066d
push ebx
push ebx
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4faee0], 0
jne 0x490726
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp byte [0x4fadb8], 0
je 0x4906c2
push 0x27
push 0x13
push eax
call fcn.0048fbe2
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a7df
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00408bf0
lea ecx, [ebp - 0x2c]
call fcn.004943af
jmp 0x4906e0
push 0x25
push 0x11
push eax
call fcn.0048fbe2
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a7df
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00408bf0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0040a182
mov esi, 0x4b37d4
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.0040a1b9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push 0x4caf14
push eax
mov dword [ebp - 0x68], esi
call fcn.0044395c
call fcn.00429a92
ret

Function at 0x49072c
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0044c019
cmp dword [0x4faedc], 0
mov esi, eax
jne 0x49077d
cmp word [0x4fafca], 3
push edi
mov edi, 0x4fafc0
jne 0x490761
mov ecx, edi
call fcn.00403686
test al, 1
je 0x490761
cmp byte [0x4fadb6], 0
je 0x49077c
push 0x4faee4
xor eax, eax
push eax
push edi
push 0x408e8c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4faee8], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x4909a1
Capabilities:
Check mutex on windows

Disassembly:
push 0x5c
mov eax, 0x4a0ff1
call fcn.00429ad7
cmp byte [0x4fadb5], 0
je 0x490ad0
push 0x4facc8
lea ecx, [ebp - 0x58]
call fcn.0040a7b7
xor ebx, ebx
lea ecx, [ebp - 0x40]
push 0x4baec8
mov dword [ebp - 4], ebx
call fcn.004036b5
push 0x4bae4c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004036b5
mov byte [ebp - 4], 2
mov esi, ebx
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040a89a
mov esi, eax
cmp esi, 0xffffffff
je 0x490a27
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.0040305f
add esi, dword [ebp - 0x30]
jmp 0x4909f0
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.004016e6
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.004016e6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4faeec], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x490ac6
push 0x2b
push 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.0048fbe2
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004943af
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040a182
mov esi, 0x4b37d4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a1b9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0x4caf14
push eax
mov dword [ebp - 0x20], esi
call fcn.0044395c
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.004016e6
call fcn.00429a81
ret

Function at 0x490afa
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a101e
call fcn.00429ad7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
cmp byte [ebp + 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x401
lea ecx, [eax + 2]
cmovne eax, ecx
push eax
call fcn.00490ec8
cmp dword [ebp - 0x18], 0xa
jbe 0x490b6f
call fcn.00490f3a
mov esi, eax
test esi, esi
je 0x490b71
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044f8b0
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044f50d
add esp, 0x14
jmp 0x490b71
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408b84
mov al, bl
call fcn.00429a81
ret 4
Function at 0x490b87
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a104b
call fcn.00429ad7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fa
call fcn.00490ec8
call fcn.00490bfd
mov esi, eax
test esi, esi
je 0x490be9
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044f8b0
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044f50d
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408b84
mov al, bl
call fcn.00429a81
ret

Function at 0x490c59
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a1078
call fcn.00429ad7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fc
call fcn.00490ec8
call fcn.00490fc8
mov esi, eax
test esi, esi
je 0x490cda
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp eax, dword [0x4b38bf]
jne 0x490cd1
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, 0xfffffffc
push esi
push 1
push eax
lea eax, [ecx + 4]
push eax
call fcn.0044f8b0
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0044f50d
pop ecx
jmp 0x490cdc
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408b84
mov al, bl
call fcn.00429a81
ret
Function at 0x490cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4cf094]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4facf0], 0
push edi
mov edi, 0x4face0
jne 0x490e3b
push ebx
push esi
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040283e
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.004027c5
cmp dword [0x4facf4], 8
mov eax, edi
cmovae eax, dword [0x4face0]
xor ebx, ebx
push ebx
push eax
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
je 0x490d81
mov esi, 0x4b2c84
push esi
call fcn.0040283e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c5
mov ecx, edi
call fcn.0040eedd
cmp dword [0x4facf0], ebx
je 0x490da6
cmp dword [0x4facf4], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4face0]
push eax
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
je 0x490dc3
push str.TEMP
call fcn.0044fb7f
mov esi, eax
push esi
call fcn.0040283e
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c5
cmp dword [0x4facf0], ebx
je 0x490de8
cmp dword [0x4facf4], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4face0]
push eax
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
je 0x490e05
push 0x4baec0
call fcn.0044fb7f
mov esi, eax
push esi
call fcn.0040283e
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c5
cmp dword [0x4facf0], ebx
je 0x490e2a
cmp dword [0x4facf4], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4face0]
push eax
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
je 0x490e39
push 0xffffffffffffffff
push ebx
push 0x4facb0
mov ecx, edi
call fcn.0040257d
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00428f89
mov esp, ebp
pop ebp
ret
Function at 0x4926b6
Capabilities:
Get common file path

Disassembly:
push 0xc34
mov eax, 0x4a149a
call fcn.00429ad7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x49270f
cmp word [edi], bx
je 0x49270f
push ebx
push edi
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
jne 0x49270f
mov ecx, edi
call fcn.0040ec80
test al, al
je 0x49270d
push edi
call fcn.0044f46f
pop ecx
test eax, eax
je 0x49270d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jl 0x4926e3
xor ebx, ebx
test esi, esi
je 0x492751
cmp word [esi], bx
je 0x492751
push ebx
push esi
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
jne 0x492751
mov edi, ebx
mov ecx, esi
call fcn.0040ec80
test al, al
je 0x492751
push esi
call fcn.0044f46f
pop ecx
test eax, eax
je 0x492751
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x492727
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0xc14], ecx
mov dword [ebp - 0xc18], ebx
mov word [ebp - 0xc28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc2c], ecx
mov dword [ebp - 0xc30], ebx
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc40]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xc28]
mov ecx, esi
call fcn.0040cff0
mov esi, 0x400
lea eax, [ebp - 0x410]
push esi
push ebx
push eax
call fcn.00443480
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x800
lea eax, [ebp - 0xc10]
push ebx
push eax
call fcn.00443480
add esp, 0xc
lea eax, [ebp - 0xc10]
push esi
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc18], 0
je 0x492855
cmp dword [ebp - 0xc14], 8
lea ecx, [ebp - 0xc10]
lea eax, [ebp - 0xc28]
cmovae eax, dword [ebp - 0xc28]
push ecx
push eax
call fcn.0044a7b4
pop ecx
pop ecx
test eax, eax
je 0x492855
cmp dword [ebp - 0xc14], 8
lea eax, [ebp - 0xc28]
push ebx
cmovae eax, dword [ebp - 0xc28]
push eax
call fcn.0044f397
pop ecx
pop ecx
test eax, eax
jne 0x492855
cmp dword [ebp - 0xc14], 8
lea eax, [ebp - 0xc28]
cmovae eax, dword [ebp - 0xc28]
push eax
call fcn.0044f58d
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xc40]
call fcn.004016e6
push ebx
push 1
lea ecx, [ebp - 0xc28]
call fcn.004016e6
call fcn.00429a81
ret 8
Function at 0x494670
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x4cf094]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
lea eax, [esp + 0xc8]
xor edi, edi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x49480c
mov eax, dword [esp + 0xc8]
cmp al, 1
jne 0x49480c
shr eax, 8
cmp al, 1
jne 0x49480c
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x1388
xor esi, esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
cmp dword [0x4bba60], esi
je 0x4947f6
mov eax, 0x4bba60
nop dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push dword [eax]
lea ecx, [esp + 0x70]
call fcn.00425f31
test eax, eax
je 0x4947a9
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc]
call fcn.004259fa
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.00425c2e
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
call fcn.00425d09
movups xmm0, xmmword [eax]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
movups xmmword [esp + 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4947a9
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4947a9
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4947d4
inc esi
cmp dword [esi*4 + 0x4bba60], edi
lea eax, [esi*4 + 0x4bba60]
jne 0x494700
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00428f89
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0x90]
movzx edi, byte [esp + 0x92]
shl ecx, 8
or edi, ecx
movzx ecx, byte [esp + 0x96]
shl edi, 8
or edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00428f89
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00428f89
mov esp, ebp
pop ebp
ret
Function at 0x4951a0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4cf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00411f15
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x495207
mov eax, dword [ecx]
jmp 0x495209
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0040646e
lea ecx, [ebp - 0x40]
call fcn.00411fe3
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x495292
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x495277
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x49526e
test cl, 0x1f
je 0x49524a
call fcn.0044a6e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x495256
call fcn.0044a6e1
sub ecx, eax
cmp ecx, 4
jae 0x495262
call fcn.0044a6e1
cmp ecx, 0x23
jbe 0x49526c
call fcn.0044a6e1
mov ecx, eax
push ecx
call fcn.00483c80
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040a93f
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4952dc
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x4952d3
test cl, 0x1f
je 0x4952af
call fcn.0044a6e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4952bb
call fcn.0044a6e1
sub ecx, eax
cmp ecx, 4
jae 0x4952c7
call fcn.0044a6e1
cmp ecx, 0x23
jbe 0x4952d1
call fcn.0044a6e1
mov ecx, eax
push ecx
call fcn.00483c80
add esp, 4
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
inc ecx
push ecx
push edx
push eax
call fcn.004416d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x495372
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x495369
test cl, 0x1f
je 0x495345
call fcn.0044a6e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x495351
call fcn.0044a6e1
sub ecx, eax
cmp ecx, 4
jae 0x49535d
call fcn.0044a6e1
cmp ecx, 0x23
jbe 0x495367
call fcn.0044a6e1
mov ecx, eax
push ecx
call fcn.00483c80
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428f89
mov esp, ebp
pop ebp
ret
Function at 0x497d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2179
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4cf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x25c], esi
mov dword [esi + 0x10], 0
jb 0x497d8a
mov eax, dword [esi]
jmp 0x497d8c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x254], 1
call fcn.00443480
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x220], 0
jne 0x497dd6
xor ecx, ecx
jmp 0x497def
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004027c5
mov edx, esi
lea ecx, [ebp - 0x238]
call fcn.00497f10
push 1
push 0x4bae4c
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004034ed
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.0040d2b6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00403591
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x497e9f
mov ecx, dword [ebp - 0x250]
inc eax
cmp eax, 0x7fffffff
jbe 0x497e5f
call fcn.0044a6e1
add eax, eax
cmp eax, 0x1000
jb 0x497e96
test cl, 0x1f
je 0x497e72
call fcn.0044a6e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x497e7e
call fcn.0044a6e1
sub ecx, eax
cmp ecx, 4
jae 0x497e8a
call fcn.0044a6e1
cmp ecx, 0x23
jbe 0x497e94
call fcn.0044a6e1
mov ecx, eax
push ecx
call fcn.00483c80
add esp, 4
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x497eef
mov ecx, dword [ebp - 0x238]
inc eax
cmp eax, 0x1000
jb 0x497ee6
test cl, 0x1f
je 0x497ec2
call fcn.0044a6e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x497ece
call fcn.0044a6e1
sub ecx, eax
cmp ecx, 4
jae 0x497eda
call fcn.0044a6e1
cmp ecx, 0x23
jbe 0x497ee4
call fcn.0044a6e1
mov ecx, eax
push ecx
call fcn.00483c80
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428f89
mov esp, ebp
pop ebp
ret
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7b9f78d5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x72e57695
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401550
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0041c600
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x2004]
push 0x2000
push eax
call dword [sym.imp.MSVCR120.dll_vsprintf_s]
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret

Function at 0x403080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
push 0x20106
push 0
push str.SoftwareIntelServicesDAL
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4030d9
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.JHI_ADDRESS_TYPE
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x4030d3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x501
mov esp, ebp
pop ebp
ret