joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a379
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10017dd0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10017dd0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10017dd0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10017df0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.COleScript.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.COleScript.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.COleScript.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], vtable.COleScript.3.0
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.10017d90
mov dword [ebp - 4], 0
call fcn.10017f40
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0x800
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov edi, dword [ebp - 0x10]
add edi, 0x60
mov ecx, 8
mov esi, 0x1006d684
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add edi, 0x80
mov ecx, 8
mov esi, 0x1006d684
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001a7b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a71bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], ecx
push 0x180
push 0x8000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
call fcn.10008e80
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1001a7ee
call fcn.1003a9f0
jmp 0x1001a879
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.1004b6a1
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [edx + 0x1524], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.10045760
mov dword [ebp - 0x50], esp
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.1004c327
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x3c]
jne 0x1001a848
mov dword [ebp - 0x48], 0
jmp 0x1001a84f
mov dword [ebp - 0x48], 0x80070026
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1001a86a
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.10018f20
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x38]
push edx
call fcn.1004b804
add esp, 4
mov eax, dword [ebp - 0x44]
lea esp, [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100454bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a900
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x100a71bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x1001a923
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x340], ecx
cmp dword [ebp - 0x340], 0
je 0x1001aa76
cmp dword [ebp - 0x340], 1
je 0x1001a947
jmp 0x1001aab1
mov edx, dword [ebp + 8]
mov dword [0x100a7e88], edx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100a8910], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100a8370], eax
mov eax, dword [ebp + 8]
push eax
call fcn.1001f1e0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x1001a9b6
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x10e
lea eax, [ebp - 0x330]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x114]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x1001a9cc
push 0x104
lea edx, [ebp - 0x330]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x334], 0
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0
jl 0x1001aa70
mov dword [ebp - 0x338], 0
lea eax, [ebp - 0x338]
push eax
push 0
mov ecx, dword [ebp - 0x334]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x334]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x334]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x33c], 0
jl 0x1001aa70
push 0x100a8374
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x338]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x1001aab1
cmp dword [0x100a8374], 0
je 0x1001aa93
mov edx, dword [0x100a8374]
mov eax, dword [edx]
mov ecx, dword [0x100a8374]
push ecx
mov edx, dword [eax + 8]
call edx
call fcn.100220e0
mov eax, dword [0x100a8370]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [0x100a8910]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100454bc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001e980
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0
mov eax, dword [0x100a8370]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1001e9b8
push 1
mov ecx, dword [ebp - 4]
call fcn.10022e20
mov dword [ebp - 0x10], eax
jmp 0x1001e9bf
mov dword [ebp - 0x10], 0
mov esp, ebp
pop ebp
ret

Function at 0x1001e9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a483
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x30]
call edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.100238b0
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x58]
call edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10022850
mov dword [ebp - 4], 0
push 0
push 0x30
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x40]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1001ea75
push 0
push 6
mov ecx, dword [ebp - 0x10]
call fcn.1001edf0
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x58]
call ecx
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0x10]
call fcn.10022f90
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10022a50
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f900
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a50e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x34
call fcn.100454cd
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x1001f950
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10022880
mov dword [ebp - 0x18], eax
jmp 0x1001f957
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1001f977
xor eax, eax
jmp 0x1001fa07
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x100a8370]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x1001f8a0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x81
mov edx, dword [ebp + 8]
push edx
call fcn.1001e7f0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1001fa04
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x1001f9fd
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.10022e20
mov dword [ebp - 0x2c], eax
jmp 0x1001fa04
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10022a70
Capabilities:
Access peb ldr_data
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a330
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x30]
call edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x10022ac9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.100238b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0
mov eax, dword [0x100a8370]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.100229b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10027b60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a7f9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10027b9d
mov eax, dword [ebp - 0x14]
jmp 0x10027c04
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 4]
je 0x10027bb3
xor eax, eax
jmp 0x10027c04
jmp 0x10027bc8
mov dword [ebp - 4], 0xffffffff
jmp 0x10027bdd
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x100a8910]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp + 0xc], 0
je 0x10027c01
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14dc], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10029bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.10029971
jecxz 0x10029bb7
add dword [esi - 0x75], esp
inc edi
push es
cmp ax, bx
jbe 0x10029bcb
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10029bc5
inc ecx
add al, 0x8b
xor dword [ebx], eax
invalid
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10029bb6
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
test eax, 0x58aa45c6
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10029971
jecxz 0x10029c30
mov esi, 0xa8458d24
push eax
call fcn.10029981
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10029936
add esp, 0x10
les edx, [eax]
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10029c5f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10029971
ret
Function at 0x1002a240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3335b], al
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10029981
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10029936
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
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.10029981
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10029936
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10029971
loop 0x1002a3a4
test dword [esi], esp
cld
invalid
cmp esp, eax
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.10029981
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10029936
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10029971
or eax, 0x8038a89c
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid
Function at 0x1002b970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x1002b9bb
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x1002b9c0
jmp 0x1002b313
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1002ba07
lea eax, [ebp - 0x714]
push eax
call fcn.10029981
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10029936
invalid
invalid

Function at 0x1002bb10
Capabilities:
Access peb ldr_data

Disassembly:
pushal
mov ebp, esp
add ebp, 0x24
push esp
call fcn.10029971
stosd dword es:[edi], eax
and byte [eax - 0x5c], ah
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x1002bb35
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.10029971
outsd dx, dword [esi]
invalid
Function at 0x1002d310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a9ff
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100a71bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push fcn.1003f860
push fcn.1003f800
push 0x15
push 0x18
mov eax, dword [ebp - 0x10]
add eax, 0x90
push eax
call fcn.10045be4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
cmp dword [ebp + 0xc], 0
je 0x1002d3c2
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004525e
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1c], 0
je 0x1002d3a7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
jmp 0x1002d3c2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
push 0
push 0x8007000e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.10039dd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc40]
mov dword [edx + 4], eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x2c], cx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0xffffffff
mov ecx, 0xffff
mov edx, dword [ebp - 0x10]
mov word [edx + 0xc], cx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0xffffffff
mov ecx, 0xffff
mov edx, dword [ebp - 0x10]
mov word [edx + 0x14], cx
mov eax, 0xffff
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x16], ax
mov edx, 0xffff
mov eax, dword [ebp - 0x10]
mov word [eax + 0x18], dx
push 0x50
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x28c
push ecx
call fcn.10065850
add esp, 0xc
push 0x54
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x30
push edx
call fcn.10065850
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x288], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x2e0], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2e4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10031d40
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x10031d81
call fcn.10031c30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10031d61
xor eax, eax
jmp 0x10031e23
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10031e0a
cmp dword [ebp + 0x10], 0
jne 0x10031dc0
mov eax, dword [ebp + 8]
push eax
call fcn.10031ce0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10031da3
xor eax, eax
jmp 0x10031e23
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10031e0a
mov ecx, dword [ebp + 8]
push ecx
call fcn.10031ce0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10031dd9
xor eax, eax
jmp 0x10031e23
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x10031e19
mov dword [ebp - 0x14], 1
jmp 0x10031e20
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret