joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c008]
jne 0x40100a
repz ret
jmp fcn.00401b90

Function at 0x4068ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040454d
and dword [ebp - 4], 0
cmp dword [0x41e25c], 0
mov ebx, eax
jne 0x40695c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406a0d
push eax
call fcn.004044db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e25c], eax
call esi
push eax
call fcn.004044db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e260], eax
call esi
push eax
call fcn.004044db
mov dword [esp], 0x41998c
push edi
mov dword [0x41e264], eax
call esi
push eax
call fcn.004044db
pop ecx
mov dword [0x41e26c], eax
test eax, eax
je 0x40695c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004044db
pop ecx
mov dword [0x41e268], eax
mov eax, dword [0x41e268]
cmp eax, ebx
je 0x4069b4
cmp dword [0x41e26c], ebx
je 0x4069b4
push eax
call fcn.00404556
push dword [0x41e26c]
mov esi, eax
call fcn.00404556
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069b4
test edi, edi
je 0x4069b4
call esi
test eax, eax
je 0x4069ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069ab
test byte [ebp - 0xc], 1
jne 0x4069b4
or dword [ebp + 0x10], 0x200000
jmp 0x4069ed
mov eax, dword [0x41e260]
cmp eax, ebx
je 0x4069ed
push eax
call fcn.00404556
pop ecx
test eax, eax
je 0x4069ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4069ed
mov eax, dword [0x41e264]
cmp eax, ebx
je 0x4069ed
push eax
call fcn.00404556
pop ecx
test eax, eax
je 0x4069ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e25c]
call fcn.00404556
pop ecx
test eax, eax
je 0x406a0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418610
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.0040a130
mov eax, dword [0x41c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1008], eax
cmp esi, 0x182
jne 0x41864e
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x418678
cmp esi, 0x19f
jne 0x418678
push str.pipegulezuburan_zun
push str.Wev_komenoxunihewebepovas_culajuh
push str.xobezonalixinutitogutaf_rolehezugehufelexiviyuxi
push str.hirihewilubafavuhefanekixey_tocotidonevexokagumenel
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor edi, edi
test esi, esi
jle 0x418721
push ebx
mov ebx, dword [ebp - 0x1008]
lea esp, [esp]
lea esi, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0
call fcn.00418600
mov dl, byte [ebp - 0x100c]
mov eax, dword [ebp - 0x1008]
mov esi, dword [ebp + 0xc]
xor byte [eax + edi], dl
cmp esi, 0xf
jne 0x418717
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.dafoyeyoromoluyavojikaduzigox
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.tazofonodeponevizeroxisewotuk
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea edx, [ebp - 0x1004]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
push str.depezavobisobozaberuxokehor
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, esi
jl 0x418690
pop ebx
pop edi
cmp esi, 0x2d
pop esi
jne 0x41873c
mov dword [0x513f40], 0xa62e7790
mov dword [0x513f44], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x418750
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x513e0c]
push esi
push edi
mov edi, dword [0x513c54]
mov esi, eax
cmp eax, 0x5dd
jne 0x418772
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x41d000]
call fcn.004185d0
cmp dword [0x513e0c], 0x2f
jne 0x41878d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push edi
call fcn.00418610
add esp, 8
cmp dword [0x513e0c], 0x568
pop edi
pop esi
jne 0x4187b7
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret
Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x412008], 0x8088405
inc edx
mov dword [ebx + 0x412008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4044f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41304c], 0
je 0x404551
cmp word [0x413328], 0xd7b2
jne 0x404519
cmp dword [0x413330], 0
jbe 0x404519
mov eax, 0x413324
call dword [0x413340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40457c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x412028], 0
jne 0x40456d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40ba24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40bb5c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40bb46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40ba81
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40bb46
cmp dword [ebp - 0x14], 0
jne 0x40ba98
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404c98
mov bl, 1
jmp 0x40bb46
cmp dword [ebp - 0x14], 0x70000000
jb 0x40baa6
call fcn.00409734
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00404dd4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.004054ac
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x40ba4a
test eax, eax
jne 0x40bb46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40baf4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40bb46
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x40bafc
dec esi
test esi, esi
je 0x40bb0b
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x40bafb
cmp dword [ebp - 0x10], 7
jne 0x40bb16
test esi, esi
je 0x40bb16
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404f00
cmp dword [ebp - 0x10], 7
jne 0x40bb39
test esi, esi
je 0x40bb39
lea eax, [ebp - 4]
call fcn.004054ac
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb63
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40c5a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x417d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5eb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x417d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x417d94
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x417d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40e050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040e004
test al, al
jne 0x40e071
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40e0bd
xor eax, eax
push ebp
push 0x40e0ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d24
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0b4
lea eax, [ebp - 0xc]
call fcn.0040e040
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e528
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e54c
mov eax, dword [ebp - 4]
jmp 0x40e54f
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x40e554
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x40e5a1
xor ebx, ebx
jmp 0x40e596
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407af8
test eax, eax
jne 0x40e595
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e577
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x40e5ad
je 0x40e5b6
jmp 0x40e5bf
call fcn.0040bba4
mov esi, eax
jmp 0x40e5c1
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x40e5c1
xor esi, esi
test si, si
je 0x40e64b
xor ebx, ebx
jmp 0x40e5e7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x40e5e6
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e5ce
xor ebx, ebx
jmp 0x40e640
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40e63f
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x40e634
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0040e528
push eax
mov eax, esi
call fcn.0040e528
pop edx
cmp edx, eax
jne 0x40e63f
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e5f6
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x410e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410f19
test eax, edx
je 0x410f1c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410e99
push edx
mov edx, eax
mov eax, esp
call fcn.004072ac
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x410eaf
push eax
lea eax, [esp + 8]
call fcn.004072ac
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x410ebe
movzx eax, word [eax]
sub eax, ecx
jmp 0x410ee5
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x410eff
add ecx, 4
js 0x410ed6
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x410efc
push eax
mov eax, ecx
mov edx, 2
call fcn.004068c4
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410ee3
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410ee5
xor eax, eax
ret
test eax, eax
je 0x410f2c
test edx, edx
jne 0x410e80
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407134
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41209a
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x4120bb
cmp ebx, 3
je 0x4120bb
cmp ebx, 0x7b
je 0x4120bb
mov eax, esi
call fcn.0041203c
test al, al
jne 0x4120bf
xor eax, eax
jmp 0x4120c1
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407134
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4120dd
test al, 0x10
jne 0x4120e1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4120e8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00407134
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41210a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x415768
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4157a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004071e4
jmp 0x4157aa
mov eax, ebx
mov edx, esi
call fcn.004070a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4157b4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4157d6
movzx eax, word [esp]
jmp 0x4157d8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45b1a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004070a8
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x45b1e7
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407290
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x49d7f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49d9a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49d986
mov dl, 1
mov eax, dword [0x427a2c]
call fcn.00433bc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004070a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49d975
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047fe8c
test al, al
je 0x49d968
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49d9b4
lea eax, [ebp - 0x394]
call fcn.0041296c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49d968
xor eax, eax
push ebp
push 0x49d961
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49da24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49d94a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407290
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x49d94a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d968
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49d86b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00433b00
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d9ac
lea eax, [ebp - 0x3a0]
call fcn.00407098
ret

Function at 0x49e504
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b4284]
cmp byte [eax + 0xad], 0
jne 0x49e576
cmp dword [0x4b429c], 0
jne 0x49e536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4ade14]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b429c], eax
cmp dword [0x4b4298], 0
jne 0x49e551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b4298], eax
cmp dword [0x4b42a0], 0
jne 0x49e576
push esp
push 0
push 0
mov eax, dword [0x4ade10]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b42a0], eax
pop edx
ret
Function at 0x49e89c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49e8b3
add esp, 0xfffffff0
call fcn.00405b0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043c14c
mov eax, dword [0x4adea8]
cmp byte [eax], 0
jne 0x49e8e0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ae100]
cmp word [eax + 2], 0
jne 0x49e8fa
mov eax, dword [0x4ae100]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0994
mov eax, dword [0x4ae1d4]
cmp word [eax + 2], 0
jne 0x49e914
mov eax, dword [0x4ae1d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0ba4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a1154
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44a66c]
call fcn.00452dd4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49eaf4
mov eax, dword [0x4adff0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00453268
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a143c
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4adff0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004127b8
test eax, eax
je 0x49ea25
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041259c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041279c
test eax, eax
je 0x49ea3d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407290
push ebx
push 0x4a0364
call fcn.004944f0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4adea8]
cmp byte [eax], 0
jne 0x49ea8e
mov eax, ebx
call fcn.0049ec68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a1668
mov eax, ebx
call fcn.004a229c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49eaeb
call fcn.00405b64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ffb0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a001b
cmp byte [ebx + 0xd3], 0
jne 0x4a001b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004071e4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a0008
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a0028
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070a8
jmp 0x4a0028
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070a8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a1850
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a18be
mov eax, esi
call fcn.0047a060
test al, al
je 0x4a18be
mov eax, dword [ebx + 0x84]
call fcn.00479ce0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a18be
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a18b2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00479ce0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00470d70
jmp 0x4a18be
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a1688
pop esi
pop ebx
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219