joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030f1
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x40903c]
sub eax, 4
mov dword [0x409040], eax
mov eax, dword [0x40903c]
imul eax, dword [0x409040]
mov ecx, dword [0x409040]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x40903c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
push 0x410770
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x78
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x403153
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
shl eax, 3
mov dword [0x409040], eax
mov eax, dword [0x409040]
shl eax, 1
mov dword [0x40903c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [0x409040]
shl eax, 3
mov dword [0x409040], eax
mov eax, dword [0x40903c]
mov ecx, dword [0x409040]
lea eax, [ecx + eax - 9]
mov dword [0x40903c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x4031aa
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4031b1
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
imul eax, dword [0x409040]
sub eax, 3
mov dword [0x40903c], eax
push 0
push 0
push 0
call fcn.0040362a
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov eax, dword [0x409040]
add eax, 8
mov dword [0x409040], eax
mov eax, dword [0x40903c]
sub eax, 4
mov dword [0x409040], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0xc], ecx
mov eax, dword [0x409040]
imul eax, dword [0x409040]
sub eax, 3
mov dword [0x40903c], eax
and dword [ebp - 0x14], 0
jmp 0x403237
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x18]
jae 0x4032aa
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
push 0
push 0
jmp 0x42184f
mov eax, dword [0x409040]
imul eax, dword [0x409040]
sub eax, 3
mov dword [0x40903c], eax
mov eax, dword [0x40903c]
imul eax, eax, 0x63
mov dword [0x40903c], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4032d5
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
add eax, 7
mov dword [0x40903c], eax
mov eax, dword [0x409040]
add eax, 8
mov dword [0x409040], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x14]
jbe 0x4032fe
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
add eax, 7
mov dword [0x40903c], eax
mov eax, dword [0x40903c]
mov ecx, dword [0x409040]
lea eax, [ecx + eax - 9]
mov dword [0x40903c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + eax*4]
mov eax, edx
leave
ret
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
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 0x404e50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404e6b
mov ebx, dword [0x407360]
mov esi, ebx
xor ecx, ecx
jmp 0x404e8e
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e76
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e89
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e71
lea eax, [ecx + 1]
push eax
call fcn.00405590
pop ecx
mov edi, eax
mov dword [0x407298], eax
cmp dword [0x407298], 0
jne 0x404eb5
push 1
call fcn.00404570
pop ecx
mov esi, ebx
jmp 0x404eea
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404ebe
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404ee5
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404ed5
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404eb9
mov byte [edi], 0
cmp ebx, dword [0x407360]
je 0x404f01
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
je 0x4011ab
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x4011a3
pop esi
pop ebp
ret

Function at 0x4011b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, 0x2a
xor byte [eax + str.lCDNxOYE_XIO], cl
inc eax
cmp eax, 0xd
jb 0x4011b4
xor eax, eax
mov cl, 0x74
xor byte [eax + 0x40a010], cl
inc eax
cmp eax, 0xe
jb 0x4011c4
xor eax, eax
mov dl, 0x3e
xor byte [eax + str.rQ_Zl_MQKL__], dl
inc eax
cmp eax, 0xc
jb 0x4011d4
xor eax, eax
mov cl, 0x43
xor byte [eax + 0x40a030], cl
inc eax
cmp eax, 0xc
jb 0x4011e4
xor eax, eax
mov cl, 0x77
xor byte [eax + 0x40a040], cl
inc eax
cmp eax, 0xe
jb 0x4011f4
xor eax, eax
mov cl, 0x76
xor byte [eax + 0x40a050], cl
inc eax
cmp eax, 0x11
jb 0x401204
xor eax, eax
mov cl, 0x45
xor byte [eax + 0x40a064], cl
inc eax
cmp eax, 0xe
jb 0x401214
xor eax, eax
mov cl, 0x51
xor byte [eax + 0x40a074], cl
inc eax
cmp eax, 0x12
jb 0x401224
xor eax, eax
xor byte [eax + 0x40ade4], dl
inc eax
cmp eax, 0x10
jb 0x401232
xor eax, eax
mov edx, 0x14
xor byte [eax + str.Wxgquzpxq], dl
inc eax
cmp eax, 0xb
jb 0x401245
xor eax, eax
mov cl, 0x24
xor byte [eax + str.cAPpLVAE_gKJPAP], cl
inc eax
cmp eax, 0x10
jb 0x401255
xor eax, eax
mov cl, 0x61
xor byte [eax + 0x40a0a8], cl
inc eax
cmp eax, 0xc
jb 0x401265
xor eax, eax
mov cl, 0x2d
xor byte [eax + str.HYyE_HLInBCYHUY], cl
inc eax
cmp eax, 0x10
jb 0x401275
xor eax, eax
mov cl, 0x47
xor byte [eax + 0x40a0cc], cl
inc eax
cmp eax, 0x19
jb 0x401285
xor eax, eax
mov cl, 0x6d
xor byte [eax + 0x40a0e8], cl
inc eax
cmp eax, edx
jb 0x401295
xor eax, eax
mov cl, 0x62
xor byte [eax + 0x40a100], cl
inc eax
cmp eax, 0x12
jb 0x4012a4
ret

Function at 0x401310
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
xor edx, edx
xor edi, edi
xor ecx, ecx
test esi, 0x20000000
je 0x40132b
lea ecx, [eax + 1]
test esi, 0x40000000
je 0x401338
mov edi, 1
test esi, esi
jns 0x401341
mov edx, 1
test ecx, ecx
je 0x401356
test edi, edi
je 0x401374
test edx, edx
je 0x401356
pop edi
mov eax, 0x40
pop esi
pop ebp
ret
test edi, edi
je 0x401374
test edx, edx
je 0x401369
test ecx, ecx
jne 0x401387
pop edi
lea eax, [ecx + 4]
pop esi
pop ebp
ret
test ecx, ecx
jne 0x401387
pop edi
lea eax, [ecx + 2]
pop esi
pop ebp
ret
test edx, edx
jne 0x401383
test ecx, ecx
je 0x401392
pop edi
lea eax, [edx + 0x10]
pop esi
pop ebp
ret
test ecx, ecx
je 0x401392
test edi, edi
je 0x401392
test edx, edx
jne 0x401392
lea eax, [edx + 0x20]
pop edi
pop esi
pop ebp
ret
Function at 0x401780
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x40a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
push esi
push edi
push 0xff
mov dword [ebp - 0x11c], eax
xor edi, edi
lea eax, [ebp - 0x103]
push edi
push eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], edx
mov byte [ebp - 0x104], 0
call fcn.00402280
add esp, 0xc
lea eax, [ebp - 0x104]
xor esi, esi
inc eax
mov cl, al
lea edx, [ebp - 0x104]
inc esi
sub cl, dl
mov byte [eax], cl
cmp esi, 0xff
jl 0x4017d7
mov ecx, edx
mov eax, 1
sub eax, ecx
mov dword [ebp - 0x118], eax
mov eax, 2
sub eax, edx
mov dword [ebp - 0x124], eax
mov eax, 3
xor ebx, ebx
sub eax, ecx
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x120], eax
mov edi, edi
movzx edx, byte [ebp + ebx - 0x104]
lea ecx, [ebp + ebx - 0x104]
mov byte [ebp - 0x105], dl
xor edx, edx
mov eax, ebx
div dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
add ebx, 4
movzx eax, byte [edx + eax]
mov dl, byte [ebp - 0x105]
add eax, edi
movsx esi, dl
add esi, eax
and esi, 0xff
mov al, byte [ebp + esi - 0x104]
mov byte [ebp + esi - 0x104], dl
movzx edx, byte [ecx + 1]
mov byte [ecx], al
mov eax, dword [ebp - 0x118]
add eax, ecx
mov byte [ebp - 0x105], dl
xor edx, edx
div dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
movzx eax, byte [edx + eax]
mov dl, byte [ebp - 0x105]
add eax, esi
movsx edi, dl
add edi, eax
and edi, 0xff
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + edi - 0x104], dl
movzx edx, byte [ecx + 2]
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x124]
add eax, ecx
mov byte [ebp - 0x105], dl
xor edx, edx
div dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
movzx eax, byte [edx + eax]
mov dl, byte [ebp - 0x105]
add eax, edi
movsx esi, dl
add esi, eax
and esi, 0xff
mov al, byte [ebp + esi - 0x104]
mov byte [ebp + esi - 0x104], dl
movzx edx, byte [ecx + 3]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x120]
add eax, ecx
mov byte [ebp - 0x105], dl
xor edx, edx
div dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
movzx eax, byte [edx + eax]
mov dl, byte [ebp - 0x105]
movsx edi, dl
add eax, esi
add edi, eax
and edi, 0xff
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + edi - 0x104], dl
mov byte [ecx + 3], al
cmp ebx, 0x100
jl 0x401820
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
je 0x4019d0
mov esi, dword [ebp - 0x11c]
mov edx, dword [ebp + 8]
sub edx, esi
mov dword [ebp - 0x10c], eax
lea ecx, [ecx]
mov eax, dword [ebp - 0x114]
inc eax
and eax, 0xff
mov cl, byte [ebp + eax - 0x104]
mov dword [ebp - 0x114], eax
lea eax, [ebp + eax - 0x104]
movsx ebx, cl
add edi, ebx
and edi, 0xff
mov bl, byte [ebp + edi - 0x104]
mov byte [eax], bl
mov byte [ebp + edi - 0x104], cl
movsx eax, byte [eax]
movsx ecx, cl
add ecx, eax
and ecx, 0xff
movzx ecx, byte [ebp + ecx - 0x104]
xor cl, byte [edx + esi]
inc esi
dec dword [ebp - 0x10c]
mov byte [esi - 1], cl
jne 0x401970
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 5
pop ebx
call fcn.00402262
mov esp, ebp
pop ebp
ret
Function at 0x402262
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a2c4]
jne 0x40226c
repz ret
jmp fcn.004028b1

Function at 0x404a1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403975
and dword [ebp - 0x14], 0
cmp dword [0x40ba6c], 0
mov dword [ebp - 0x18], eax
jne 0x404ace
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404b76
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x407cfc
push ebx
call edi
test eax, eax
je 0x404b76
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40ba6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40ba70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40ba74], eax
call edi
push eax
call esi
mov dword [0x40ba7c], eax
test eax, eax
je 0x404ace
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40ba78], eax
mov eax, dword [0x40ba78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404b27
cmp dword [0x40ba7c], ecx
je 0x404b27
push eax
call esi
push dword [0x40ba7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404b27
test ebx, ebx
je 0x404b27
call edi
test eax, eax
je 0x404b1e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404b1e
test byte [ebp - 8], 1
jne 0x404b27
or dword [ebp + 0x10], 0x200000
jmp 0x404b5a
mov eax, dword [0x40ba70]
cmp eax, dword [ebp - 0x18]
je 0x404b5a
push eax
call esi
test eax, eax
je 0x404b5a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404b5a
mov eax, dword [0x40ba74]
cmp eax, dword [ebp - 0x18]
je 0x404b5a
push eax
call esi
test eax, eax
je 0x404b5a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40ba6c]
call esi
test eax, eax
je 0x404b76
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404b78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402262
leave
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
mov ecx, 0x6cfa2789
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x54e419bc
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x409300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x46abf0
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.004097a0
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x409406
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004094e0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x4093f9
test ebx, ebx
je 0x409404
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x426668
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406df0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4093b0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x409404
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40944c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
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 0x41ecdc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00415fe2
and dword [ebp - 0x14], 0
cmp dword [0x46c070], 0
mov dword [ebp - 0x18], eax
jne 0x41ed8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ee37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ee37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46c070], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46c074], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46c078], eax
call edi
push eax
call esi
mov dword [0x46c080], eax
test eax, eax
je 0x41ed8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46c07c], eax
mov eax, dword [0x46c07c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ede8
cmp dword [0x46c080], ecx
je 0x41ede8
push eax
call esi
push dword [0x46c080]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ede8
test ebx, ebx
je 0x41ede8
call edi
test eax, eax
je 0x41eddf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41eddf
test byte [ebp - 8], 1
jne 0x41ede8
or dword [ebp + 0x10], 0x200000
jmp 0x41ee1b
mov eax, dword [0x46c074]
cmp eax, dword [ebp - 0x18]
je 0x41ee1b
push eax
call esi
test eax, eax
je 0x41ee1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ee1b
mov eax, dword [0x46c078]
cmp eax, dword [ebp - 0x18]
je 0x41ee1b
push eax
call esi
test eax, eax
je 0x41ee1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46c070]
call esi
test eax, eax
je 0x41ee37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ee39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041071c
leave
ret

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1436410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xbbe000]
push edi
or ebp, 0xffffffff
jmp 0x1436432
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1436439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1436428
mov eax, 1
add ebx, ebx
jne 0x143644b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x143645c
jne 0x143647b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x143647b
dec eax
add ebx, ebx
jne 0x1436468
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1436440
add ebx, ebx
jne 0x1436477
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x14364cd
xor ecx, ecx
sub eax, 3
jb 0x1436493
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1436502
sar eax, 1
mov ebp, eax
jmp 0x143649e
add ebx, ebx
jne 0x143649e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x143646c
inc ecx
add ebx, ebx
jne 0x14364ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x143646c
add ebx, ebx
jne 0x14364b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14364ae
jne 0x14364ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14364ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14364ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14364de
jmp 0x143642e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14364ec
add edi, ecx
jmp 0x143642e
pop esi
mov edi, esi
mov ecx, 0x8b09a7
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1436527
cmp byte [edi], 0x62
jne 0x143650c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x143650a
lea edi, [esi + 0xfd1000]
mov eax, dword [edi]
or eax, eax
je 0x143656f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10637c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10639e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x143652d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10639ec]
or eax, eax
je 0x1436569
mov dword [ebx], eax
add ebx, 4
jmp 0x143654a
call dword [esi + 0x10639e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14365a0
cmp al, 0xef
ja 0x1436593
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1436575
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1436582
mov ebp, dword [esi + 0x10639f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x14365d4
sub esp, 0xffffff80
jmp 0xd54ec8