joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402927
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.23FC14F6_CBB0_400C_AB0D_D94A864ED2B7
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x40296e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40298c
cmp eax, 0x102
je 0x402969
cmp eax, 0xffffffff
je 0x402961
mov edi, 0x8000ffff
jmp 0x40298c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402979
push 2
pop edi
jmp 0x40298c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402989
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x40298c
xor edi, edi
inc edi
test esi, esi
je 0x402997
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x40299c
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x45534f
call fcn.004369f1
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 8], edi
je 0x4029bd
push str.Shutdown_requested.
push 0x49
call fcn.00402891
mov dword [ebp - 0x10], edi
push str.Global1E6C4F0F_8ABF_4709_AAAD_0341CF2D44A7
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x402a28
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x402a20
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x96
jb 0x4029c0
cmp dword [ebx + 8], edi
je 0x402a19
push str.Exiting_with_timeout
push 0x45
mov ecx, ebx
call fcn.00402891
mov eax, 0x800705b4
jmp 0x402a7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x10], eax
cmp eax, 2
je 0x402a5e
test ecx, ecx
je 0x402a4e
push str.Cannot_open_existing_event.
push 0x49
mov ecx, ebx
call fcn.00402891
mov eax, dword [ebp - 0x10]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x402a70
test ecx, ecx
je 0x402a70
push str.No_event_to_wait_for__exiting_with_S_OK
push 0x49
mov ecx, ebx
call fcn.00402891
test esi, esi
je 0x402a7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004369ba
ret
Function at 0x43c2e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.0043b3a6
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
cld
invalid
jmp [edx - 0x3685a80]
invalid
inc dword [eax]
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
invalid
inc dword [esi]

Function at 0x43ccc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0043b38d
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.0043b3c8
out 0x85, al
adc al, 0x25
lea eax, [ebp - 0x6f4]
push eax
call fcn.0043b3d8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043b38d
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x43d46e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x43cf43
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
invalid
invalid
nop
clc
invalid
Function at 0x404831
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409728
cmp edx, dword [eax]
je 0x404853
add eax, 8
inc ecx
cmp eax, 0x4097b8
jl 0x404844
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409728]
jne 0x404981
mov eax, dword [0x409e70]
cmp eax, 1
je 0x40495b
test eax, eax
jne 0x404884
cmp dword [0x409584], 1
je 0x40495b
cmp edx, 0xfc
je 0x404981
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4048bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405ad0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403da0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4048fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403da0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084b4
push edi
call fcn.004026e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405ad0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405ae0
lea eax, [ebp - 0xa0]
push 0x408494
push eax
call fcn.00405ae0
push dword [esi + 0x40972c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405ae0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405ef5
add esp, 0x2c
pop edi
jmp 0x404981
lea eax, [ebp + 8]
lea esi, [esi + 0x40972c]
push 0
push eax
push dword [esi]
call fcn.00403da0
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 0x40f32d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
not edx
add dword [ebp - 0x12e], ebp
mov esi, 0xf8b06121
not ch
call dword [0x68eb]
test esi, ecx
adc ch, 0xf2
sub dword [ebp - 0x12e], ebp
ret
push 0x56ad2a85
call fcn.0040f0d1
not edx
dec ecx
mov dword [ebp + 0x68eb], esi
inc esi
push 0xcb250541
mov ecx, 0xea9304f3
call fcn.0040f0d1
dec edx
inc edi
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], esi
xchg esi, eax
not dl
sub ch, dl
push 0x20
mov edi, dword [esp + 0x4c]
push 8
push esp
call edi
not eax
xchg ecx, eax
call dword [esp + 0x50]
dec byte [esp]
lea edx, [ebx]
jne 0x40f365
sbb dl, bh
and al, 0xff
pop eax
not al
push 1
sbb edx, 0x51a7cc4d
call fcn.0040f43e
inc edx
mov ch, cl
inc edx
pop dword [esi + 0x1c]
mov dword [esi + 0x14], 0xc
lea eax, [ebp + 0x70]
push eax
xchg dl, cl
xor cl, 0x7b
mov dword [esi + 0x18], esi
sub byte [esi + 2], 0xfc
push 4
push 3
lea esi, [esi + 0x14]
and edx, eax
dec ecx
adc edi, edi
push esi
jmp 0x40f0fb
Function at 0x4010bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and byte [ebp - 8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.HeapFree
push str.kernel32.dll
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and byte [ebp - 0x16], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x47
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x48
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x70
call esi
push eax
call edi
push dword [ebp + 8]
push 0
call eax
push eax
call dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4011d1
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x41dce0
call fcn.00409e0c
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], esp
jne 0x40122b
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x1c], esi
cmp dword [esi], 0x4550
jne 0x40122b
mov ebx, 0x2000
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push ebx
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x401232
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x401232
xor eax, eax
jmp 0x401367
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x20]
push 0x423c08
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0x3f
call fcn.00409e2b
mov eax, dword [ebp - 0x1c]
push 4
push 0x1000
push dword [eax + 0x50]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, 0x40128b
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x401376
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x41dcec
call fcn.00409e0c
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x401471
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x401404
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x401463
mov eax, dword [esi + 0xc]
push 4
add eax, dword [ebp - 0x1c]
push 0x1000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0
push eax
mov dword [esi + 8], eax
call fcn.00409e70
add esp, 0xc
jmp 0x401463
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push 0x423c08
push eax
mov dword [ebp - 0x24], 0x55
call fcn.00409e2b
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
push eax
push dword [ebp - 0x20]
call fcn.00409700
add esp, 0xc
mov eax, 0x401453
ret
inc dword [ebp - 0x14]
add esi, 0x28
mov dword [ebp - 0x18], esi
jmp 0x4013ba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4015df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41dcf8
call fcn.00409e0c
sub esp, 0x4c
push ebx
push esi
and byte [ebp - 0x3c], 0
and byte [ebp - 0x4c], 0
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 0x48], 0x49
push eax
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x46], 0x42
mov byte [ebp - 0x45], 0x61
mov byte [ebp - 0x44], 0x64
mov byte [ebp - 0x43], 0x52
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x61
mov byte [ebp - 0x40], 0x64
mov byte [ebp - 0x3f], 0x50
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x72
mov byte [ebp - 0x58], 0x4b
mov byte [ebp - 0x57], 0x45
mov byte [ebp - 0x56], 0x52
mov byte [ebp - 0x55], 0x4e
mov byte [ebp - 0x54], 0x45
mov byte [ebp - 0x53], 0x4c
mov byte [ebp - 0x52], 0x33
mov byte [ebp - 0x51], 0x32
mov byte [ebp - 0x50], 0x2e
mov byte [ebp - 0x4f], 0x64
mov byte [ebp - 0x4e], 0x6c
mov byte [ebp - 0x4d], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [esi]
mov ebx, dword [esi + 4]
add eax, 0x80
mov dword [ebp - 0x24], ebx
cmp dword [eax + 4], 0
jbe 0x4016d8
mov edi, dword [eax]
add edi, ebx
push 0x14
push edi
mov dword [ebp - 0x28], edi
call dword [ebp - 0x2c]
test eax, eax
jne 0x4016d8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4016d8
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x4016d4
mov eax, dword [esi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [esi + 8]
call fcn.0040116f
pop ecx
mov dword [esi + 8], eax
test eax, eax
pop ecx
jne 0x4016ea
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
inc dword [esi + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x401708
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x10]
add eax, ebx
jmp 0x401710
mov eax, dword [edi + 0x10]
add eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4017e4
test eax, 0x80000000
je 0x401757
and eax, 0xffff
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push 0x423c08
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x34], 0x42
call fcn.00409e2b
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push 0x423c08
push eax
mov dword [ebp - 0x30], 0x42
call fcn.00409e2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
add eax, 2
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, 0x40173b
ret
cmp dword [ebp - 0x1c], 0
je 0x4016d8
add edi, 0x14
jmp 0x401693
Function at 0x413f52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41dea0
call fcn.00409e0c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041ad4c
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x413f91
call fcn.0041ad4c
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413f9f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x413fad
or eax, 0xffffffff
jmp 0x414095
mov ecx, esi
call fcn.00413ec8
mov dword [ebp - 0x14], eax
call fcn.00414d84
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x413fe4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x413fe4
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00414d38
push dword [ebp - 0x14]
call fcn.00414869
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00413c60
cmp eax, edi
je 0x414057
test byte [esi + 0x24], 0x10
je 0x414025
push 4
mov ecx, esi
pop ebx
call fcn.00416e51
test ah, 1
je 0x41401d
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041688b
cmp dword [esi + 0x1c], edi
je 0x414057
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00416f37
jmp 0x414057
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x41406b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x414084
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x414084
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00413f02
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x416739
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41677b
call fcn.0041ad4c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41677b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x416772
xor eax, eax
jmp 0x416783
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00416789
pop edi
pop esi
pop ebx
ret 4
Function at 0x41b61f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41b64d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b66b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041b585
jmp 0x41b66b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b66b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041b585
test edi, edi
mov eax, edi
jne 0x41b655
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000692c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx - 0x6c]
mov ecx, esi
call fcn.100077d0
test eax, eax
jne 0x1000694f
mov eax, 0x80070005
jmp 0x10006a17
push esi
mov ecx, esi
call fcn.100077d0
test eax, eax
js 0x10006a15
cmp dword [ebx + 0x44], 0
je 0x10006a15
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x10]
push edi
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.1000a278
mov edi, eax
test edi, edi
je 0x100069a2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [edi + 8], 0
mov dword [edi], vtable.CNameShowContactCardJob.0
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
jmp 0x100069a4
xor edi, edi
test edi, edi
je 0x10006a14
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, dword [ebx + 0x44]
mov dword [ebp + 8], esi
add esi, 0x7c
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
inc dword [esi + 0x18]
push 8
pop ecx
call fcn.1000a278
mov ebx, eax
test ebx, ebx
je 0x10006a04
and dword [ebx], 0
mov dword [ebx + 4], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
test ecx, ecx
je 0x100069ec
mov dword [ecx], ebx
jmp 0x100069f2
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
push dword [eax + 0xa0]
call dword [sym.imp.kernel32.dll_SetEvent]
dec dword [esi + 0x18]
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret 4

Function at 0x100077d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100077df
pop dword [ebp - 0x44]
mov eax, 0xb2f62061
sub eax, 0xa2f5a882
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x39a52
push 0
mov eax, 0x5bc4b371
sub eax, 0x4bc3e275
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xce03f675
sub ecx, 0xce03a900
mov ebx, eax
mov esi, 0x10016200
add esi, dword [ebp - 0x44]
mov edi, 0xb87d50d2
add edi, 0xdab02834
xor dword [ebp - 4], eax
mov edx, dword [esi]
sub dword [ebp - 0x2c], 0xd85442f7
add edx, edi
mov dword [ebx], edx
mov dword [ebp - 0x28], 0x2f099010
add ebx, 0xb808eb8
add ebx, 0xf47f714c
add esi, 0x42df7bdf
sub esi, 0x42df7bdb
loop 0x10007838
add eax, 0x30cd2f2f
add eax, 0xcf33f978
mov ebx, eax
add eax, 0xfd718b6f
sub eax, 0xfd718b6a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1000a87d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x1000cae0
call fcn.1000c97c
mov ebx, ecx
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
push 0x20019
push ecx
push 0x1000e218
mov dword [ebp - 4], ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push SysReAllocString
mov dword [ebp - 0x14], ecx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000a925
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
and dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call edi
push 4
pop ebx
test eax, eax
jne 0x1000a917
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.InsecureQI
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000a917
cmp dword [ebp - 0x18], ebx
jne 0x1000a917
mov edi, dword [ebp - 0x1c]
cmp edi, 3
ja 0x1000a917
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], eax
je 0x1000a927
push dword [ebp - 0x10]
call esi
jmp 0x1000a927
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10], 0
je 0x1000a925
push dword [ebp - 0x10]
call esi
xor edi, edi
mov dword [ebp - 4], 5
cmp dword [ebp - 0x14], 0
je 0x1000a939
push dword [ebp - 0x14]
call esi
mov eax, edi
call fcn.1000c95c
ret
Function at 0x1000ac2d
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x1000cb4c
call fcn.1000c97c
cmp byte [0x1001207c], 0
je 0x1000ac4c
mov eax, dword [0x10012080]
jmp 0x1000ad22
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
mov dword [ebp - 4], esi
push SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ac9c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x10012080
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ac9c
cmp dword [ebp - 0x14], 4
je 0x1000acf5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x1000acad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000acfd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x10012080
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000acfd
cmp dword [ebp - 0x14], 4
jne 0x1000acfd
mov esi, dword [0x10012080]
jmp 0x1000ad03
mov dword [0x10012080], esi
mov al, 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], 0
mov byte [0x1001207c], al
je 0x1000ad20
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.1000c95c
ret