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

Disassembly:
mov eax, 0x1007bfc8
call fcn.1007b960
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 0x10], esp
cmp edx, 0xaf13dd33
jae 0x1000f73c
add dword [0x100825e0], 0x702165d5
mov dword [ebp - 0x14], 0xd82
cmp dword [ebp - 0x14], 0x1050
jle 0x1000f79c
push 0xdc
push 0xcc1
call dword [sym.imp.GDI32.dll_SetMapMode]
xor esi, esi
xor edi, edi
xor ebx, ebx
lea ecx, [ebx + edi]
mov eax, esi
sar eax, cl
mov ecx, 0x10623738
cdq
push edx
push eax
call fcn.10027de2
inc ebx
cmp ebx, 0x4452
jl 0x1000f762
inc edi
cmp edi, 0xcd7
jl 0x1000f760
inc esi
cmp esi, 0x6c05
jl 0x1000f75e
push 0xf0a
call dword [sym.imp.KERNEL32.dll_ExitProcess]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x9fa
jge 0x1000f7d7
mov edx, 0x1000b238
mov ecx, 0x10623738
call fcn.1002cb18
jmp 0x1000f7d7
mov eax, dword [0x1063d47c]
test al, 1
jne 0x1000f7f4
or eax, 1
mov dword [0x1063d47c], eax
call fcn.1002ccef
mov dword [0x1063d44c], eax
jmp 0x1000f7f9
mov eax, dword [0x1063d44c]
mov eax, dword fs:[eax]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi], eax
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100109de
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10010a21
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x7765
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10011763
add esp, 0x18
jmp 0x10010a6d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10010a61
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10010a6d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov esp, ebp
pop ebp
ret

Function at 0x100116d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10011726
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10011710
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001170e
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10011724
push 0
push 0x2408
push 0
push 0xf77
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
jmp 0x10011742
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
call fcn.10011746
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10033c1c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10033c4d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x38c9
push dword [ebp - 8]
push 1
call fcn.10033cad
add esp, 0x10
jmp 0x10033ca9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10033c77
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10033ca9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10033ca9
push 0
push 0x19d2
push 0x4c1
push 0x13cb
push 0x1f48
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esp, ebp
pop ebp
ret
Function at 0x1003a4f6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003a51a
push 0x6007
push 0x2432
push 1
call fcn.1003a593
add esp, 0xc
jmp 0x1003a58f
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003a544
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x1003a58f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003a572
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1003a58f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002809c
mov dword [eax], 1
jmp 0x1003a567
mov esp, ebp
pop ebp
ret

Function at 0x1003c2b4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003c357
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003c335
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003c316
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1003c333
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002809c
mov dword [eax], 7
jmp 0x1003c30b
jmp 0x1003c355
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003c355
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1003c35f
push 0
call fcn.1003d874
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003d698
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003d724
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003d70a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1003d708
push 0x299f
push 0x3dd1
push 0x7eba
push 1
push 0x4c18
push 0x3046
push 0x1329
push 0x700c
push 1
push 1
push 0x44ef
call fcn.10038cb2
add esp, 0x2c
jmp 0x1003d722
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003d722
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x1003d74a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x4cda
push dword [ebp - 0x1c]
push 1
push 0x52d1
call fcn.10030e63
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10045733
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.1004570f
pop ecx
movzx eax, al
test eax, eax
je 0x10045796
push dword [ebp + 0xc]
call fcn.1004570f
pop ecx
movzx eax, al
test eax, eax
je 0x10045796
push dword [ebp + 0x10]
call fcn.1004570f
pop ecx
movzx eax, al
test eax, eax
je 0x10045796
push dword [ebp + 0x14]
call fcn.1004570f
pop ecx
movzx eax, al
test eax, eax
je 0x10045796
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x1000c3f4
call fcn.100636ff
add esp, 0x14
push 0
call fcn.1006469d
pop ebp
ret
Function at 0x100460f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10046170
lea eax, [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1004614d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004614b
push 0xca9
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1004616b
mov byte [ebp - 0x12], 0
push 0x3f61
push 0x4d5f
push 1
lea eax, [ebp - 0x12]
push eax
push 0
call fcn.1003c2b4
add esp, 0x14
jmp 0x10046297
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0x7743
mov dword [ebp - 0x30], 0x1000c418
cmp dword [ebp - 0x24], 0x7798
jle 0x10046239
push 0x2643
call dword [sym.imp.USER32.dll_GetSysColor]
and dword [ebp - 0x18], 0
jmp 0x100461c1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x651d
jge 0x10046239
and dword [ebp - 0x1c], 0
jmp 0x100461d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6ffe
jge 0x10046237
and dword [ebp - 0x20], 0
jmp 0x100461ed
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xeec
jge 0x10046235
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.1000e3f2
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10027c01
push eax
call fcn.100636ff
pop ecx
lea ecx, [ebp - 0x68]
call fcn.10027bf7
jmp 0x100461e6
jmp 0x100461d0
jmp 0x100461ba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x75d3
jge 0x10046255
push dword [ebp - 0x30]
call fcn.100636ff
pop ecx
jmp 0x10046271
or dword [ebp - 4], 0xffffffff
jmp 0x1004627b
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.100337aa
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10050f9f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10050ff2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10050fcf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x10050ff0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10050ff0
push 0
push 0
call fcn.1005157f
pop ecx
pop ecx
jmp 0x1005103f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1005101c
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1005103f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1005103f
push 0
push 0xc0a
call dword [sym.imp.USER32.dll_RemovePropA]
mov esp, ebp
pop ebp
ret
Function at 0x100556b1
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10055795
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10055771
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1005576f
lea eax, [ebp - 0x5c]
push eax
call fcn.1004868c
pop ecx
mov esi, eax
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.1004b90c
mov dword [ebp - 0x28], eax
push 0x66d6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 4]
push 0x58e5
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call fcn.100557af
add esp, 0x1c
jmp 0x10055793
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10055793
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x100557a9
push 0
push 0x4140
push 0x4219
call fcn.1004e4e9
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100594ea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10059575
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10059528
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10059573
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10059556
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10059573
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002809c
mov dword [eax], 0x3ae35568
jmp 0x1005954b
jmp 0x10059591
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
call fcn.100594c8
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1005a6eb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1005a82a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1005a816
mov dword [ebp - 0x20], 0x132a
mov dword [ebp - 0x38], 0x1000cc5c
cmp dword [ebp - 0x20], 0x1690
jle 0x1005a7c1
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [ebp - 0x18], 0
jmp 0x1005a765
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3fc
jge 0x1005a7c1
and dword [ebp - 0x1c], 0
jmp 0x1005a77b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x73b5
jge 0x1005a7bf
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.1000e3f2
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.10027c01
push eax
call fcn.100636ff
pop ecx
lea ecx, [ebp - 0x80]
call fcn.10027bf7
jmp 0x1005a774
jmp 0x1005a75e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x1063
jge 0x1005a7dd
push dword [ebp - 0x38]
call fcn.100636ff
pop ecx
jmp 0x1005a7f9
or dword [ebp - 4], 0xffffffff
jmp 0x1005a803
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x1005a828
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
and dword [eax], 0
jmp 0x1005a895
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1005a875
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
jmp 0x1005a895
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1005a895
push 0x3e4a
push 0
push 0x49fe
call fcn.1005a9b6
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100778f9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10081760]
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.10067f18
mov dword [ebp - 0x14], eax
cmp dword [0x1062485c], esi
jne 0x100779ec
push 0x800
push esi
push 0x1000b00c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10077979
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077acc
push esi
push esi
push 0x1000b00c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077acc
push 0x1000b024
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077acc
push eax
call ebx
push 0x1000b030
push edi
mov dword [0x1062485c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000b040
push edi
mov dword [0x10624860], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000b054
push edi
mov dword [0x10624864], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1062486c], eax
test eax, eax
je 0x100779e9
push 0x1000b070
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10624868], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10077a11
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077a04
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10077a26
push 4
pop eax
jmp 0x10077ace
cmp dword [ebp - 0x14], esi
je 0x10077a26
push dword [0x1062485c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077a0b
mov eax, dword [0x10624868]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10077a84
cmp dword [0x1062486c], edi
je 0x10077a84
push eax
call ebx
push dword [0x1062486c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077a84
test eax, eax
je 0x10077a84
call ecx
test eax, eax
je 0x10077a79
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 0x10077a79
test byte [ebp - 8], 1
jne 0x10077a84
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077ab4
mov eax, dword [0x10624860]
cmp eax, edi
je 0x10077ab1
push eax
call ebx
test eax, eax
je 0x10077ab1
call eax
mov esi, eax
test esi, esi
je 0x10077ab1
mov eax, dword [0x10624864]
cmp eax, edi
je 0x10077ab1
push eax
call ebx
test eax, eax
je 0x10077ab1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1062485c]
call ebx
test eax, eax
je 0x10077acc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10077ace
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006527e
mov esp, ebp
pop ebp
ret
Function at 0x4049e0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501706
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x548730]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x404a1c
xor eax, eax
jmp 0x404a85
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004d90a0
add esp, 0xc
call fcn.00405570
push 0x50b8c4
test al, al
lea eax, [ebp - 0x218]
push esi
push eax
je 0x404aa1
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x21c]
call fcn.00406690
push edi
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
push str.ADBlockMasterTray
lea ecx, [ebp - 0x21c]
call fcn.00407bb0
lea ecx, [ebp - 0x21c]
mov ebx, eax
call fcn.004070d0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004989d0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404a83
mov dword [ebp - 4], 1
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x404bbe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x218]
test edi, edi
je 0x404b16
push edi
push eax
lea eax, [ebp - 0x21c]
push str.__s___s
push eax
call fcn.00405060
add esp, 0x10
jmp 0x404b2b
push eax
lea eax, [ebp - 0x21c]
push str.__s_
push eax
call fcn.00405060
add esp, 0xc
mov esi, dword [ebp - 0x21c]
mov edi, dword [esi - 0xc]
add edi, edi
cmp dword [esi - 4], 1
jle 0x404b50
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00404fd0
mov esi, dword [ebp - 0x21c]
push edi
push esi
push 1
push 0
push str.ADBlockMasterTray
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.004dc638
add esp, 8
test eax, eax
js 0x404bb4
cmp eax, dword [esi - 8]
jg 0x404bb4
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404a83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x404a83
push 0x80070057
call fcn.00404d00
push 0x80004005
call fcn.00404d00
int3