joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486590
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.00485700
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x4865b2
call fcn.00485730
test byte [ebx + 0x20], 0x30
jne 0x4865cc
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x48660d
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x48664d
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x486602
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x486616
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.004854d0
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x48660d
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x486661
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x48662e

Function at 0x486670
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4f599c]
test eax, eax
jne 0x486680
xor eax, eax
ret
sub esp, 0x1c
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4866c0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x4866b0
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x4866a4
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x4866a6
call fcn.004855b0
test eax, eax
jne 0x48669d
jmp 0x4866a4

Function at 0x4866d0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x486710
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x486700
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.004855b0
test eax, eax
jne 0x4866ed
add esp, 0x1c
ret
Function at 0x486810
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x486880
test byte [ebx + 0x20], 0xc
jne 0x486840
mov eax, dword [0x4f599c]
test eax, eax
jne 0x486850
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.00484710
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x486872
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x486872
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x486891
mov dword [esp], esi
call fcn.00484a50
add esp, 0x14
pop ebx
pop esi
ret
call fcn.004855b0
mov ebx, eax
test eax, eax
jne 0x486831
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4868b1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.00484a50
call fcn.00486720
nop
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x486940
mov dword [esp], eax
call fcn.00484450
mov edi, eax
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
sbb eax, edx
jb 0x486980
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov esi, edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4869e0
test edi, edi
je 0x48695a
call fcn.00486810
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4869b8
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00484560
call fcn.00486810
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4869d0
call fcn.00486810
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.00486810
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.004854f0
mov eax, dword [0x4aa7e4]
mov esi, 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x486912
call fcn.004855b0
mov ebx, eax
jmp 0x486912
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x48692e
call fcn.004855b0
jmp 0x48695a
call fcn.004855b0
mov ebx, eax
jmp 0x48690e
Function at 0x49fc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
cmp esi, edi
je 0x49fd4c
lea eax, [esi + 0x14]
cmp eax, edi
je 0x49fd4c
mov ebx, eax
jmp 0x49fcec
mov eax, dword [ebx + 4]
cmp esi, ebx
mov edx, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
je 0x49fcc7
mov dword [esp + 4], esi
mov ecx, ebx
mov eax, 0x14
mov dword [esp + 0x4c], edx
sub ecx, esi
mov dword [esp + 8], ecx
sub eax, ecx
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edx, dword [esp + 0x4c]
mov dword [esi], edx
mov eax, dword [esp + 0x3c]
add ebx, 0x14
cmp edi, ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x10], eax
je 0x49fd4c
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x10], eax
call ebp
test al, al
jne 0x49fc80
mov dword [esp], ebx
add ebx, 0x14
mov dword [esp + 4], ebp
call fcn.004a0bb0
cmp edi, ebx
jne 0x49fcec
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4013da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409004]
jne 0x4013e4
repz ret
jmp fcn.00401589

Function at 0x4033db
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402331
and dword [ebp - 0x14], 0
cmp dword [0x40a86c], 0
mov dword [ebp - 0x18], eax
jne 0x40348e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403536
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403536
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40a86c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40a870], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40a874], eax
call edi
push eax
call esi
mov dword [0x40a87c], eax
test eax, eax
je 0x40348e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40a878], eax
mov eax, dword [0x40a878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4034e7
cmp dword [0x40a87c], ecx
je 0x4034e7
push eax
call esi
push dword [0x40a87c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4034e7
test ebx, ebx
je 0x4034e7
call edi
test eax, eax
je 0x4034de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4034de
test byte [ebp - 8], 1
jne 0x4034e7
or dword [ebp + 0x10], 0x200000
jmp 0x40351a
mov eax, dword [0x40a870]
cmp eax, dword [ebp - 0x18]
je 0x40351a
push eax
call esi
test eax, eax
je 0x40351a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40351a
mov eax, dword [0x40a874]
cmp eax, dword [ebp - 0x18]
je 0x40351a
push eax
call esi
test eax, eax
je 0x40351a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40a86c]
call esi
test eax, eax
je 0x403536
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403538
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013da
leave
ret
Function at 0x101addd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006ee8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101ae35
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004d40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101ae28
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101ae37
xor eax, eax
pop esi
leave
ret 4

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x422240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x42225a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422250
mov eax, 1
add ebx, ebx
jne 0x422273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422268
jne 0x422284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422268
xor ecx, ecx
sub eax, 3
jb 0x422298
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42230a
mov ebp, eax
add ebx, ebx
jne 0x4222a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4222b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4222d4
inc ecx
add ebx, ebx
jne 0x4222c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4222b5
jne 0x4222d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4222b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4222f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4222e5
jmp 0x422256
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4222f4
add edi, ecx
jmp 0x422256
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422312
cmp byte [edi], 9
jne 0x422312
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x422317
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x42238f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x237bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2389c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422344
mov ecx, edi
jns 0x422373
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x238a4]
or eax, eax
je 0x422389
mov dword [ebx], eax
add ebx, 4
jmp 0x422361
call dword [esi + 0x238a0]
mov ebp, dword [esi + 0x238a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4223c3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x78273acb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xef137fc
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100014fe
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x1001c2a7
call fcn.1000b779
lea eax, [ebp - 0x1c]
push eax
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
xor ebx, ebx
push 0x1001d350
inc ebx
push 0x80000002
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x100013cd
mov eax, 0x80004005
jmp 0x100014f8
mov esi, 0x10029248
push esi
lea ecx, [ebp - 0x14]
call fcn.10002c4c
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.10002c4c
push dword [section..data]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10001265
push dword [str.fO:e]
lea ecx, [ebp - 0x10]
call fcn.10001265
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ecx
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call esi
push dword [0x10024008]
lea ecx, [ebp - 0x14]
call fcn.10001265
push dword [0x1002400c]
lea ecx, [ebp - 0x10]
call fcn.10001265
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call esi
push dword [0x10024010]
lea ecx, [ebp - 0x14]
call fcn.10001265
push dword [0x10024014]
lea ecx, [ebp - 0x10]
call fcn.10001265
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call esi
push dword [0x10024018]
lea ecx, [ebp - 0x14]
call fcn.10001265
lea eax, [ebp - 0x10]
push eax
call fcn.10001f4b
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call esi
push dword [0x1002401c]
lea ecx, [ebp - 0x14]
call fcn.10001265
lea eax, [ebp - 0x10]
push eax
call fcn.100012c2
test eax, eax
pop ecx
je 0x100014d7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001032
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001032
xor eax, eax
call fcn.1000b851
ret
jmp 0x10001387
Function at 0x10001b60
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x10024ee0]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push esi
mov esi, dword [ebp + 0x5a8]
push edi
push 0x5c
push esi
mov dword [ebp - 0x80], esi
call fcn.1000c290
test eax, eax
pop ecx
pop ecx
jne 0x10001d04
xor edi, edi
cmp word [0x100271b0], di
mov ebx, 0x100271b0
jne 0x10001c1f
mov esi, 0x400
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
call fcn.1000bac0
cmp eax, edi
pop ecx
pop ecx
je 0x10001bc9
mov word [eax + 2], di
push esi
push 0x100269b0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
jbe 0x10001bf4
add eax, eax
lea ecx, [eax + 0x100269b0]
cmp word [ecx - 2], 0x5c
je 0x10001bf4
mov word [ecx], 0x5c
mov word [eax + 0x100269b2], di
push esi
push 0x100261b0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, edi
jbe 0x10001c1f
add eax, eax
lea ecx, [eax + 0x100261b0]
cmp word [ecx - 2], 0x5c
je 0x10001c1f
mov word [ecx], 0x5c
mov word [eax + 0x100261b2], di
mov esi, 0x206
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.1000b910
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.1000b910
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.1000b910
push ebx
mov esi, 0x103
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1000c224
push 0x100269b0
lea eax, [ebp + 0x394]
push esi
push eax
call fcn.1000c224
push 0x100261b0
lea eax, [ebp + 0x18c]
push esi
push eax
call fcn.1000c224
add esp, 0x48
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push esi
push eax
call 0x1000c1aa
push dword [ebp - 0x80]
lea eax, [ebp + 0x394]
push esi
push eax
call 0x1000c1aa
push dword [ebp - 0x80]
lea eax, [ebp + 0x18c]
push esi
push eax
call 0x1000c1aa
mov esi, dword [sym.imp.ole32.dll_CoLoadLibrary]
add esp, 0x24
push dword [ebp + 0x5ac]
lea eax, [ebp + 0x394]
push eax
call esi
mov ebx, eax
cmp ebx, edi
jne 0x10001d4a
push dword [ebp + 0x5ac]
lea eax, [ebp + 0x18c]
push eax
call esi
mov ebx, eax
cmp ebx, edi
jne 0x10001d4a
push dword [ebp + 0x5ac]
lea eax, [ebp - 0x7c]
push eax
call esi
mov ebx, eax
jmp 0x10001d4a
lea eax, [ebp + 0x49c]
push esi
lea ecx, [ebp + 0x498]
mov dword [ebp + 0x498], eax
call fcn.100019d7
push dword [ebp + 0x5ac]
push dword [ebp + 0x498]
call dword [sym.imp.ole32.dll_CoLoadLibrary]
mov ebx, eax
lea eax, [ebp + 0x49c]
cmp dword [ebp + 0x498], eax
je 0x10001d4a
push dword [ebp + 0x498]
call fcn.1000bb7b
pop ecx
mov ecx, dword [ebp + 0x59c]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1000b76a
add ebp, 0x5a0
leave
ret

Function at 0x1000564d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x100056a3
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x100056b9
push 0x80004005
call fcn.1000101a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100056bc
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10005cf2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x10024ee0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.10005618
mov edi, eax
cmp edi, esi
je 0x10005d5a
lea ecx, [ebp - 0x70]
call fcn.100055b3
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b76a
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10005d72
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.10005cf2
cmp eax, esi
jne 0x10005da5
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x10005d62
lea ecx, [ebp - 0x70]
call fcn.100055b3
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.100055b3
mov eax, esi
jmp 0x10005d40
Function at 0x10007a1f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x10024ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x5c
push esi
mov dword [ebp - 0x620], esi
call fcn.1000c290
test eax, eax
pop ecx
pop ecx
jne 0x10007bc5
xor edi, edi
cmp word [0x10028a30], di
push ebx
mov ebx, 0x10028a30
jne 0x10007ad6
mov esi, 0x400
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
call fcn.1000bac0
cmp eax, edi
pop ecx
pop ecx
je 0x10007a80
mov word [eax + 2], di
push esi
push 0x10028230
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
jbe 0x10007aab
add eax, eax
lea ecx, [eax + 0x10028230]
cmp word [ecx - 2], 0x5c
je 0x10007aab
mov word [ecx], 0x5c
mov word [eax + 0x10028232], di
push esi
push 0x10027a30
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, edi
jbe 0x10007ad6
add eax, eax
lea ecx, [eax + 0x10027a30]
cmp word [ecx - 2], 0x5c
je 0x10007ad6
mov word [ecx], 0x5c
mov word [eax + 0x10027a32], di
mov esi, 0x206
push esi
lea eax, [ebp - 0x61a]
push edi
push eax
mov word [ebp - 0x61c], di
call fcn.1000b910
push esi
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.1000b910
push esi
lea eax, [ebp - 0x412]
push edi
push eax
mov word [ebp - 0x414], di
call fcn.1000b910
push ebx
mov esi, 0x103
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.1000c224
push 0x10028230
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1000c224
push 0x10027a30
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.1000c224
add esp, 0x48
push dword [ebp - 0x620]
lea eax, [ebp - 0x61c]
push esi
push eax
call 0x1000c1aa
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push esi
push eax
call 0x1000c1aa
push dword [ebp - 0x620]
lea eax, [ebp - 0x414]
push esi
push eax
call 0x1000c1aa
mov esi, dword [sym.imp.ole32.dll_CoLoadLibrary]
add esp, 0x24
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, edi
pop ebx
jne 0x10007bcf
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push eax
call esi
cmp eax, edi
jne 0x10007bcf
push dword [ebp + 0xc]
lea eax, [ebp - 0x61c]
push eax
call esi
jmp 0x10007bcf
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ole32.dll_CoLoadLibrary]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000b76a
leave
ret

Function at 0x1000b76a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024ee0]
jne 0x1000b774
repz ret
jmp fcn.1001177c