joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410925
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x4207cb
call sub.msvcrt.dll__EH_prolog
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
push eax
push 0x426edc
push 1
push esi
push 0x426fac
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x410a5d
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x426450
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x410a56
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x410a33
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x410a33
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x34]
push edx
push esi
push str.displayName
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.00410c8d
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040f923
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x410a44
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040f923
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x426470
jmp 0x410a3c
push 0x426478
jmp 0x410a3c

Function at 0x411250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x426499
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x42649a
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x412d62
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41e5f2
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040f95a
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040f95a
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040f95a
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0040f95a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x414437
Capabilities:
Create thread

Disassembly:
mov eax, 0x421045
call sub.msvcrt.dll__EH_prolog
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.00413460
test byte [0x63ff28], 1
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
je 0x41446d
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f9e1
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040f9e1
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f9e1
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040f9e1
mov esi, 0x3e8
jmp 0x4144c6
push esi
call dword [0x63ffa4]
cmp dword [0x63ff28], 2
jae 0x4144bf
inc dword [0x63ff28]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x413326
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x4265b2
call fcn.0040f923
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.004134ac
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401061
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], bl
call fcn.0040f98e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415843
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4213d0
call sub.msvcrt.dll__EH_prolog
sub esp, 0x454
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push 0x426884
lea ecx, [ebp + 0x7c]
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], ebx
call fcn.0040fb4d
push eax
call dword [0x640098]
test eax, eax
je 0x41587e
mov edi, esi
push ebx
push 0x426894
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
call dword [0x640098]
test eax, eax
je 0x41589c
mov edi, esi
mov dword [ebp - 0x10], esi
cmp edi, ebx
je 0x4159ac
lea eax, [ebp - 0x78]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x78]
cmp byte [ebp - 0x78], bl
je 0x415a0c
push 0x3e8
lea eax, [ebp - 0x460]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x10], ebx
je 0x415900
cmp eax, 2
jne 0x415900
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x41591c
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x460]
push eax
call fcn.00410eb9
add esp, 0xc
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push edi
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp + 0x70]
call fcn.0040fb4d
push eax
push 0x426572
lea ecx, [ebp + 0xa4]
call fcn.0040fb4d
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.004153f6
add esp, 0x94
push esi
call dword [0x640020]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x4158bc
jmp 0x415a0c
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push ebx
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040fb4d
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea ecx, [ebp + 0x70]
call fcn.0040fb4d
push eax
push 0x426573
lea ecx, [ebp + 0xa4]
call fcn.0040fb4d
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.004153f6
add esp, 0x94
mov eax, dword [ebp + 0xb0]
lea ecx, [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 4], bl
call fcn.00401061
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x70]
call fcn.00412d12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41a8a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e1b0]
jne 0x41a8b1
repz ret
jmp fcn.0041d59f

Function at 0x41dd76
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e1b0]
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.0041a1ca
and dword [ebp - 0x14], 0
cmp dword [0x640d7c], 0
mov dword [ebp - 0x18], eax
jne 0x41de29
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ded1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ded1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x640d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x640d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x640d84], eax
call edi
push eax
call esi
mov dword [0x640d8c], eax
test eax, eax
je 0x41de29
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x640d88], eax
mov eax, dword [0x640d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41de82
cmp dword [0x640d8c], ecx
je 0x41de82
push eax
call esi
push dword [0x640d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41de82
test ebx, ebx
je 0x41de82
call edi
test eax, eax
je 0x41de79
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41de79
test byte [ebp - 8], 1
jne 0x41de82
or dword [ebp + 0x10], 0x200000
jmp 0x41deb5
mov eax, dword [0x640d80]
cmp eax, dword [ebp - 0x18]
je 0x41deb5
push eax
call esi
test eax, eax
je 0x41deb5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41deb5
mov eax, dword [0x640d84]
cmp eax, dword [ebp - 0x18]
je 0x41deb5
push eax
call esi
test eax, eax
je 0x41deb5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x640d7c]
call esi
test eax, eax
je 0x41ded1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ded3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a8a7
leave
ret
Function at 0x401b8f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040dfc0
push edx
call fcn.0040de80
pop edx
push eax
push 2
push 0
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040de80
pop edx
push eax
call fcn.00409698
call fcn.00405182
add dword [esp], edx
call sub.KERNEL32.dll_LoadLibraryExW
call fcn.004051a0
mov dword [esp], eax
push 0
lea eax, [0x402109]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_EnumResourceTypesW
push dword [esp]
call sub.KERNEL32.dll_FreeLibrary
push dword [0x4180b0]
call fcn.0040a443
mov ebx, eax
and ebx, ebx
jle 0x401e1b
push dword [0x4180b0]
call fcn.0040a44d
push dword [0x4180b0]
call fcn.0040a462
or eax, eax
je 0x401ca0
mov ebp, dword [0x4180b4]
mov edx, dword [ebp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
lea eax, [esp + 8]
push eax
call fcn.0040dec0
push dword [esp + 4]
call fcn.00405de0
mov ebx, eax
cmp ebx, 0xa
jle 0x401c7f
mov edx, dword [esp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
mov edx, dword [esp + 8]
push edx
call fcn.0040e020
lea eax, [esp + 0xc]
push eax
call fcn.0040dec0
jmp 0x401c9b
mov edx, dword [esp + 4]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
lea eax, [esp + 0x10]
push eax
call fcn.0040dec0
jmp 0x401c17
push dword [0x4180b0]
call fcn.0040a496
push edx
call fcn.0040de80
pop edx
push eax
push edx
jmp section..htext
jmp 0x4011a0

Function at 0x401fa9
Capabilities:
Delete directory

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.0040dfc0
mov ebx, dword [esp]
cmp ebx, 1
jne 0x401fd4
push dword [0x418018]
call fcn.004053c7
and eax, eax
je 0x401fd4
push dword [0x418018]
call fcn.00405436
push dword [0x418070]
call fcn.0040a7e7
push dword [0x418060]
call fcn.0040a7e7
call fcn.004034d1
push dword [0x418040]
call fcn.0040a7e7
push dword [0x41802c]
call sub.KERNEL32.dll_RemoveDirectoryW
push dword [0x418078]
call sub.KERNEL32.dll_RemoveDirectoryW
push dword [esp + 0xc]
jmp 0x4011a5
Function at 0x402022
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x402029
call fcn.0040dfc0
mov edx, dword [esp + 0x5c]
lea ecx, [esp]
call fcn.00405060
mov edx, dword [esp + 0x60]
lea ecx, [esp + 4]
call fcn.00405060
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
call fcn.00405060
lea eax, [esp + 0xc]
lea ebp, [esp + 0xc]
mov dword [ebp], 0x3c
mov dword [ebp + 4], 0x140
mov dword [ebp + 0x1c], 0
mov eax, str.open
push eax
pop eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp]
push eax
pop eax
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 8]
push eax
pop eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 4]
push eax
pop eax
mov dword [ebp + 0x18], eax
lea eax, [esp + 0xc]
push eax
call sub.SHELL32.DLL_ShellExecuteExW
mov dword [esp + 0x48], eax
push 0x19
call fcn.00405532
lea eax, [esp + 0x4c]
push eax
lea ebp, [esp + 0x10]
push dword [ebp + 0x38]
call sub.KERNEL32.dll_GetExitCodeProcess
and eax, eax
je 0x4020dd
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x103
je 0x4020dd
jmp 0x4020df
jmp 0x4020b0
mov eax, dword [esp + 0x4c]
jmp 0x4020e7
push dword [esp]
call fcn.0040df50
push dword [esp + 4]
call fcn.0040df50
push dword [esp + 8]
call fcn.0040df50
add esp, 0x50
pop ebx
pop ebp
ret 0xc
Function at 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x859768], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x859764]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x859768], 0x3eb
mov dword [0x859764], eax
mov eax, dword [0x8591f0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x8591f0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x859760], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x859768], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.focomonebizihaxinecarimecuweguzubelimibezavotacaxariyetanovuvecogoyifikoxawivikasimuruwudoxasofuye
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d337
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aeb
mov dword [ebp - 0x14], eax
cmp dword [0x813efc], esi
jne 0x40d42a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d50a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d50a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d50a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813efc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813f00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813f04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f0c], eax
test eax, eax
je 0x40d427
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f08], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d44f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d442
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d464
push 4
pop eax
jmp 0x40d50c
cmp dword [ebp - 0x14], esi
je 0x40d464
push dword [0x813efc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d449
mov eax, dword [0x813f08]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4c2
cmp dword [0x813f0c], edi
je 0x40d4c2
push eax
call ebx
push dword [0x813f0c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4c2
test eax, eax
je 0x40d4c2
call ecx
test eax, eax
je 0x40d4b7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4b7
test byte [ebp - 8], 1
jne 0x40d4c2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4f2
mov eax, dword [0x813f00]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
call eax
mov esi, eax
test esi, esi
je 0x40d4ef
mov eax, dword [0x813f04]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813efc]
call ebx
test eax, eax
je 0x40d50a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d50c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404010
mov esp, ebp
pop ebp
ret
Function at 0x40d908
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edx + 0x20]
mov ecx, dword [ecx + 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x30]
cmp ecx, dword [ebp - 0x18]
jbe 0x40d951
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x30]
sub ecx, dword [ebp - 0x18]
dec ecx
jmp 0x40d95a
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x2c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax*4 + 0x416934]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x416934]
mov dword [ebp - 0x24], ecx
cmp ebx, 0x14
jae 0x40d992
dec dword [ebp - 0x14]
mov ecx, ebx
mov al, byte [esi]
inc esi
and eax, 0xff
add ebx, 8
shl eax, cl
or edx, eax
cmp ebx, 0x14
jb 0x40d979
mov ecx, dword [ebp - 0x20]
and ecx, edx
shl ecx, 3
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
xor eax, eax
mov al, byte [ecx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40d9d2
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx + 1]
mov ecx, eax
and eax, 0xff
shr edx, cl
mov ecx, dword [ebp - 0xc]
sub ebx, eax
mov al, byte [ecx + 4]
mov ecx, dword [ebp - 0x18]
mov byte [ecx], al
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jmp 0x40dd59
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 1]
mov ecx, eax
and eax, 0xff
shr edx, cl
sub ebx, eax
test byte [ebp - 0x10], 0x10
je 0x40dc2d
and dword [ebp - 0x10], 0xf
mov ecx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x416934]
and ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x10]
shr edx, cl
cmp ebx, 0xf
jae 0x40da2e
dec dword [ebp - 0x14]
mov cl, byte [esi]
inc esi
mov edi, ecx
mov ecx, ebx
and edi, 0xff
add ebx, 8
shl edi, cl
or edx, edi
cmp ebx, 0xf
jb 0x40da12
mov ecx, dword [ebp - 0x24]
and ecx, edx
shl ecx, 3
add ecx, dword [ebp + 0x10]
invalid

Function at 0x40e398
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [esi + eax*8 - 0x7b]
mov ebp, 0x55fffffc
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040dad9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040da8e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
invalid
invalid
movsd dword es:[edi], dword [esi]
int3
Function at 0x40e4bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040dad9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040da8e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0040dac9
add esi, ebp
loop 0x40e504
daa
cld
invalid
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0040dad9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040da8e
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0040dac9
inc edi
salc
and dword [eax - 0x80], 0xfff99ca5
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
invalid
invalid
pushfd
stc