joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f86b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100650ae
call fcn.10064730
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x5df3
cmp dword [ebp - 0x14], 0x61bd
push edi
mov dword [ebp - 0x10], esp
jle 0x1001f8c1
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1060df18
xor eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.1001b196
inc ebx
cmp ebx, 0x3e07
jl 0x1001f893
inc edi
cmp edi, 0x7a3c
jl 0x1001f891
inc esi
cmp esi, 0x6253
jl 0x1001f88f
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x5cc8
jge 0x1001f8dd
mov edx, 0x10008e08
mov ecx, 0x1060df18
call fcn.1001d6a1
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001f90a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100650b8
call fcn.10064730
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x5ae8
cmp dword [ebp - 0x1c], 0x5c75
push edi
mov dword [ebp - 0x10], esp
jle 0x1001f98d
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov edi, edx
xor esi, esi
mov eax, esi
mov ecx, 0x1060df18
and eax, ebx
xor eax, edi
cdq
push edx
push eax
call fcn.1001b196
inc esi
cmp esi, 0x346b
jl 0x1001f94a
inc ebx
cmp ebx, 0x1bef
jl 0x1001f948
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x3e86
jl 0x1001f93f
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x1046
jl 0x1001f93a
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5765
jge 0x1001f9a9
mov edx, 0x10008e84
mov ecx, 0x1060df18
call fcn.1001d6a1
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001f9d6
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x100650c2
call fcn.10064730
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x56f
cmp dword [ebp - 0x14], 0x8c5
push edi
mov dword [ebp - 0x10], esp
jle 0x1001fa27
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x1060df18
or eax, esi
cdq
push edx
push eax
call fcn.1001b196
inc edi
cmp edi, 0x31b0
jl 0x1001f9fc
inc esi
cmp esi, 0x15a6
jl 0x1001f9fa
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x212
jge 0x1001fa43
mov edx, 0x10008ec8
mov ecx, 0x1060df18
call fcn.1001d6a1
fldz
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001faee
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100650cc
call fcn.10064730
sub esp, 0x14
push ebx
push esi
mov dword [ebp - 0x1c], 0x37b1
cmp dword [ebp - 0x1c], 0x38ca
push edi
mov dword [ebp - 0x10], esp
jle 0x1001fb6a
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, edi
xor ebx, ebx
and eax, esi
mov dword [ebp - 0x20], eax
mov esi, eax
xor edi, edi
lea eax, [edi + ebx]
mov ecx, 0x1060df18
xor eax, esi
cdq
push edx
push eax
call fcn.1001b196
inc edi
cmp edi, 0xb6b
jl 0x1001fb28
inc ebx
cmp ebx, 0x78f7
jl 0x1001fb26
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6fa6
jl 0x1001fb1b
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x35ce
jl 0x1001fb16
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x3748
jge 0x1001fb86
mov edx, 0x10008f78
mov ecx, 0x1060df18
call fcn.1001d6a1
fldz
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001fbb3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov dword [esp + 4], 0x7935
cmp dword [esp + 4], 0x7c2b
push esi
push edi
jle 0x1001fc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
mov eax, edi
sar eax, cl
lea ecx, [esp + 0x10]
xor eax, esi
cdq
push edx
push eax
call fcn.1000defa
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001fbff
mov eax, dword [eax]
push eax
call fcn.1004f7a6
pop ecx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.1001b817
inc ebx
cmp ebx, 0x6eec
jl 0x1001fbe1
inc edi
cmp edi, 0x3c73
jl 0x1001fbdf
inc esi
cmp esi, 0x294f
jl 0x1001fbdd
push 0xc84
push 0
push 0xd9d
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0xc], 0x77fc
jge 0x1001fc55
push 0x1000900c
call fcn.1004f7a6
pop ecx
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100254e7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10025547
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002553a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
jmp 0x10025545
push 0x12ef
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10025563
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x24]
call fcn.100254a1
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10025d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065281
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10025f33
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0x5f2b
mov dword [ebp - 0x30], 0x10009808
cmp dword [ebp - 0x28], 0x61b4
jle 0x10025e69
and dword [ebp - 0x20], 0
jmp 0x10025dcc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6b3d
jge 0x10025e69
and dword [ebp - 0x18], 0
jmp 0x10025de6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x12c1
jge 0x10025e64
and dword [ebp - 0x1c], 0
jmp 0x10025dfc
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf49
jge 0x10025e5f
and dword [ebp - 0x24], 0
jmp 0x10025e12
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6be5
jge 0x10025e5d
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
and edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0x78]
call fcn.1001b16c
jmp 0x10025e0b
jmp 0x10025df5
jmp 0x10025ddf
jmp 0x10025dc5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x5ecf
jge 0x10025e85
push dword [ebp - 0x30]
call fcn.1004f7a6
pop ecx
jmp 0x10025ea1
or dword [ebp - 4], 0xffffffff
jmp 0x10025eab
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10025ee6
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10025ee4
push 0x16e9
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x10025f31
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10025f14
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x10025f31
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.1001b465
mov dword [eax], 1
jmp 0x10025f09
jmp 0x10025f64
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
push 0x2e88
push 0x360
push 0x2d8d
push dword [ebp - 0x58]
push 0xb32
push 0x4db4
push 0
push 0x324d
call fcn.1002d865
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002db5d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002dbdb
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002dbb7
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 0x1002dbb5
push 0xc84
push 0
push 0xd9d
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1002dbd9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
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 ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002dbf7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
call fcn.1002f1bc
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1002fd3e
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002ff2d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x790c
mov dword [ebp - 0x54], 0x1000a4e8
cmp dword [ebp - 0x3c], 0x7a81
jle 0x1002fdfc
and dword [ebp - 0x1c], 0
jmp 0x1002fd9c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x776e
jge 0x1002fdfc
and dword [ebp - 0x20], 0
jmp 0x1002fdb2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5714
jge 0x1002fdfa
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x84]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0x84]
call fcn.1001b16c
jmp 0x1002fdab
jmp 0x1002fd95
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1002fecf
mov dword [ebp - 0x6c], 0xfffffffe
mov dword [ebp - 0x68], 0xfffffffe
mov dword [ebp - 0x64], 0xfffffffe
mov dword [ebp - 0x60], 0xfffffffe
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x24], 0x1cb4e76a
mov dword [ebp - 0x28], 0x5a9864ba
mov dword [ebp - 0x14], 3
jmp 0x1002fe4b
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002fecd
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x1002fe7b
mov dword [ebp - 0x2c], 1
jmp 0x1002fe7f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jg 0x1002fe90
mov dword [ebp - 0x30], 1
jmp 0x1002fe94
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xffffffff
jl 0x1002fea3
mov dword [ebp - 0x34], 1
jmp 0x1002fea7
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jle 0x1002febb
mov dword [ebp - 0x38], 1
jmp 0x1002febf
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
jmp 0x1002fe44
jmp 0x1002feef
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1002feef
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x784b
jge 0x1002ff05
push dword [ebp - 0x54]
call fcn.1004f7a6
pop ecx
jmp 0x1002ff21
or dword [ebp - 4], 0xffffffff
jmp 0x1002ff2b
jmp 0x1002ff35
push 1
call fcn.100254be
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ff46
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002ff84
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x1378
push 1
push dword [ebp - 8]
push 0x3ad8
push 0x5542
call fcn.10030008
add esp, 0x18
jmp 0x10030004
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002ffe6
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 - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1001b465
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x10030004
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10030004
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x1003cac8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100657a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003cb4e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x34], eax
push 0x2684
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.1003cc92
add esp, 0x28
jmp 0x1003cc81
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1003cb71
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1003cc81
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0xefe
mov dword [ebp - 0x58], 0x1000b448
cmp dword [ebp - 0x24], 0x118c
jle 0x1003cc18
and dword [ebp - 0x14], 0
jmp 0x1003cb9f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x85e
jge 0x1003cc18
and dword [ebp - 0x18], 0
jmp 0x1003cbb5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4bc4
jge 0x1003cc16
and dword [ebp - 0x1c], 0
jmp 0x1003cbcb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3b60
jge 0x1003cc14
and dword [ebp - 0x20], 0
jmp 0x1003cbe1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x955
jge 0x1003cc12
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x1060df18
call fcn.1001b196
jmp 0x1003cbda
jmp 0x1003cbc4
jmp 0x1003cbae
jmp 0x1003cb98
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1003cc41
push 0x819
push 0x1a42
push 0
push 0x25b7
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0xc84
jge 0x1003cc5b
mov edx, dword [ebp - 0x58]
mov ecx, 0x1060df18
call fcn.1001d6a1
jmp 0x1003cc77
or dword [ebp - 4], 0xffffffff
jmp 0x1003cc81
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003fa5c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006583d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003fbec
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1003fade
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003fad9
push 0
push 0x111a
push 0x1323
push 0x1f03
call dword [sym.imp.KERNEL32.dll_RaiseException]
jmp 0x1003fbea
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0x4e12
mov dword [ebp - 0x4c], 0x1000b8b8
cmp dword [ebp - 0x20], 0x4e45
jle 0x1003fb72
and dword [ebp - 0x18], 0
jmp 0x1003fb0e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7c6a
jge 0x1003fb68
and dword [ebp - 0x1c], 0
jmp 0x1003fb24
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5ed7
jge 0x1003fb66
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0x74]
call fcn.1001b16c
jmp 0x1003fb1d
jmp 0x1003fb07
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003fb94
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x1003fbae
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1001b465
and dword [eax], 0
jmp 0x1003fb89
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x4b9a
jge 0x1003fbc4
push dword [ebp - 0x4c]
call fcn.1004f7a6
pop ecx
jmp 0x1003fbe0
or dword [ebp - 4], 0xffffffff
jmp 0x1003fbea
jmp 0x1003fc12
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
push 0x6205
push 0x5494
push dword [ebp - 0x50]
push 0
push dword [ebp - 0x54]
call fcn.100387e9
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004266b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100426a1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push 0x71f9
push dword [ebp - 8]
push 1
push 0x437b
push dword [ebp - 0xc]
call fcn.100426eb
add esp, 0x14
jmp 0x100426e7
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100426cc
push 0
push 0
push 0
push 0
push 0
push 0
push 0x21bd
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100426e7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100426e7
push 0x922
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esp, ebp
pop ebp
ret

Function at 0x10043eff
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0x7340
mov dword [ebp - 0x28], 0x1000c0b4
cmp dword [ebp - 0x20], 0x762d
jle 0x10043fad
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 0x18], 0
jmp 0x10043f53
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2477
jge 0x10043fad
and dword [ebp - 0x1c], 0
jmp 0x10043f69
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x34d
jge 0x10043fab
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0x48]
call fcn.1001b16c
jmp 0x10043f62
jmp 0x10043f4c
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10043fe4
push 0x7565
push 1
push 0x20a5
push 1
push 0x936
push 0x5e9f
push 0x6c87
push 0x21f9
push 0x499b
call fcn.1003f7c2
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x6f91
jge 0x10043ffa
push dword [ebp - 0x28]
call fcn.1004f7a6
pop ecx
jmp 0x10044016
or dword [ebp - 4], 0xffffffff
jmp 0x10044020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret