joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10081708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.1000a8a0
add esp, 8
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1000a2b6
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000a2f3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp + 0xc], edx
mov edi, dword [ebx + 0x60]
mov ebx, 1
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov byte [ebp - 4], 1
jge 0x1000a1aa
push 0x800
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x1000a2e9
push edi
push 0x800
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push edx
push 0x10061598
push 0x1006292c
mov word [eax + 0x1000], cx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call fcn.1003c752
mov edx, eax
add esp, 8
test edx, edx
js 0x1000a2e9
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x1000a2e9
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x1000a227
cmp edi, 0x7fe
jne 0x1000a289
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x1000
or eax, ebx
mov edi, dword [edi + 0x60]
jge 0x1000a24f
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x1000a2e9
push edi
push 0x1000
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push ecx
push 0x10061598
push 0x1006292c
mov word [eax + 0x2000], dx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.10005b40
mov edx, dword [ebp + 0xc]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a2b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000a2d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.100031a0
push 0x80004005
call fcn.100031a0
int3
Function at 0x1000a300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10081708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000a4e6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [edx - 8]
mov edi, 1
mov esi, dword [ebx + 0x60]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov dword [ebp - 4], 0
jge 0x1000a377
push 0x800
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x800
jl 0x1000a4f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
push esi
push 0x800
push edx
mov dword [edx - 0xc], 0x800
mov eax, dword [ebp - 0x10]
push 0x10061598
push str.notipreferskeys
push 0x10061b08
mov word [eax + 0x1000], cx
call ebx
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.1003c752
mov edx, eax
add esp, 8
test edx, edx
js 0x1000a4f0
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x1000a4f0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x1000a3f8
cmp esi, 0x7fe
jne 0x1000a45a
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + 0x60]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x1000
or eax, ecx
jge 0x1000a422
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x1000
jl 0x1000a4f0
push esi
push 0x1000
push edx
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push 0x10061598
push str.notipreferskeys
push 0x10061b08
mov word [eax + 0x2000], cx
call ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x1000a4f0
mov ecx, dword [eax - 8]
sub edi, dword [eax - 4]
sub ecx, esi
or ecx, edi
jge 0x1000a480
push esi
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.100462f8
mov eax, dword [ebp - 0x10]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000a4f0
push dword [ebp + 8]
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x10]
push eax
call fcn.10005b40
mov edx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a4d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100031a0
push 0x80070057
call fcn.100031a0
int3
Function at 0x1000a6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc01
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0
mov dword [ebp - 0x228], esi
push dword [ecx + 0x34]
push eax
call fcn.1000a500
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10037300
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.repop_time_slot
push dword [ebp - 0x21c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000a805
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000a88b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x1000a7b2
movzx eax, ax
mov ecx, esi
push eax
call fcn.10005780
jmp 0x1000a7de
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a7c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003730
mov edi, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000a86c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1000a86c
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000a895
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x10061598
mov byte [ebp - 4], 2
mov ecx, esi
test eax, 0xffff0000
jne 0x1000a83b
movzx eax, ax
push eax
call fcn.10005780
jmp 0x1000a847
push 0
push 0x10061598
call fcn.10003730
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a86c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
int3
Function at 0x1000aa80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10081708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000ac66
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [edx - 8]
mov edi, 1
mov esi, dword [ebx + 0x60]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov dword [ebp - 4], 0
jge 0x1000aaf7
push 0x800
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x800
jl 0x1000ac70
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
push esi
push 0x800
push edx
mov dword [edx - 0xc], 0x800
mov eax, dword [ebp - 0x10]
push 0x10061598
push str.notipkey
push str.PopTaskbar
mov word [eax + 0x1000], cx
call ebx
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.1003c752
mov edx, eax
add esp, 8
test edx, edx
js 0x1000ac70
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x1000ac70
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x1000ab78
cmp esi, 0x7fe
jne 0x1000abda
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + 0x60]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x1000
or eax, ecx
jge 0x1000aba2
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x1000
jl 0x1000ac70
push esi
push 0x1000
push edx
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push 0x10061598
push str.notipkey
push str.PopTaskbar
mov word [eax + 0x2000], cx
call ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x1000ac70
mov ecx, dword [eax - 8]
sub edi, dword [eax - 4]
sub ecx, esi
or ecx, edi
jge 0x1000ac00
push esi
lea ecx, [ebp - 0x10]
call fcn.100035f0
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.100462f8
mov eax, dword [ebp - 0x10]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000ac70
push dword [ebp + 8]
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x10]
push eax
call fcn.10005b40
mov edx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ac52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100031a0
push 0x80070057
call fcn.100031a0
int3
Function at 0x1000dda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e258
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10081708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push 0
mov edi, 0x12c
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x493e0
mov dword [ebx + 4], 0
push dword [eax + 0x34]
push ecx
mov ecx, eax
call fcn.1000a500
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 4
push eax
push str.auto_elapse
push dword [ebp - 0x1c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jle 0x1000de4d
mov eax, ecx
cdq
mov dword [ebx], eax
mov eax, 0x10624dd3
mov dword [ebx + 4], edx
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000df85
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.mininews.exe
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x1000de85
movzx eax, ax
push eax
call fcn.10005780
jmp 0x1000de91
push 0xc
push str.mininews.exe
call fcn.10003730
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.1000e5b0
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000dec8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000df3a
mov ecx, dword [ebp - 0x14]
call fcn.10009b60
mov ecx, edx
mov dword [ebp + 8], eax
push ecx
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push dword [eax + 0x34]
push str._mini_utils_from__d___elapseColseTime__d
push eax
call fcn.1000f420
mov eax, edi
add esp, 0x14
cdq
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
cmp eax, edx
jg 0x1000df71
mov ecx, dword [ebp + 8]
jl 0x1000df09
cmp ecx, dword [ebp - 0x14]
jae 0x1000df71
test eax, eax
jl 0x1000df71
jg 0x1000df13
test ecx, ecx
je 0x1000df71
push 0
imul eax, edi, 0x3e8
push 0x3e8
push dword [ebp - 0x18]
push ecx
cdq
mov esi, eax
mov edi, edx
call fcn.1002bf90
sub esi, eax
mov dword [ebx], esi
sbb edi, edx
or esi, 0xffffffff
mov dword [ebx + 4], edi
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1000df5b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx], 0
mov edi, 1
mov dword [ebx + 4], 0
jmp 0x1000df3c
push 0x80004005
call fcn.100031a0
int3
Function at 0x1000e5b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e34b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10081708]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push eax
push 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.10004c80
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e65c
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.10037300
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000e660
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1000e6cb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24c], eax
nop dword [eax]
cmp eax, dword [ebp - 0x234]
je 0x1000e6a6
mov esi, dword [ebp - 0x248]
cmp esi, dword [ebp - 0x244]
je 0x1000e6a6
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call fcn.10044517
add esp, 8
test eax, eax
je 0x1000e6bf
add esi, 4
cmp esi, dword [ebp - 0x244]
jne 0x1000e686
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000e6c4
mov eax, dword [ebp - 0x24c]
jmp 0x1000e670
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.10007e10
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.1002bf51
mov esp, ebp
pop ebp
ret
Function at 0x1000f420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e426
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
je 0x1000f55e
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.10037300
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push 0x1ff
push eax
call fcn.100038f0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.1003c5e3
or edi, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, edi
test eax, eax
js 0x1000f4b0
cmp eax, 0x1ff
ja 0x1000f4b0
jne 0x1000f4b6
xor eax, eax
mov word [ebp - 0x12], ax
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000f579
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x414], eax
mov eax, 0x10062114
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x414]
test eax, 0xffff0000
jne 0x1000f4f7
movzx eax, ax
push eax
call fcn.10005780
jmp 0x1000f503
push 0xd
push 0x10062114
call fcn.10003730
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f513
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x414]
call fcn.10008660
mov esi, dword [ebp - 0x414]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1000f55e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100031a0
int3
Function at 0x100110d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e6e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10081708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x1001127c
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x40]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x113
jne 0x10011157
push ebx
lea ecx, [esi + 0x40]
mov dword [esi + 0x40], 1
call fcn.1000f5a0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x40], 0
mov eax, dword [ebp + 0x1c]
je 0x10011154
mov dword [esi + 0x40], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
cmp ecx, 0x113
jne 0x1001127c
mov dword [esi + 0x24], 1
cmp ebx, 0x17d4
jne 0x10011238
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push ebx
push dword [esi + 4]
call edi
push 0
push dword [esi + 0x34]
lea eax, [ebp + 0x1c]
mov dword [ebp + 0xc], 0
push eax
mov ecx, esi
call fcn.1000a500
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], 4
push eax
push str.auto_elapse
push dword [ebp + 0x1c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x100111de
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
push dword [esi + 0x34]
mov ecx, esi
call fcn.1000e2c0
test eax, eax
je 0x1001120b
push 0x17d6
push dword [esi + 4]
call edi
push 0
push dword [esi + 0x38]
push 0x17d6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x10011214
push 0
mov ecx, esi
call fcn.1000e730
mov edx, dword [ebp + 0x1c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011269
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10011269
cmp ebx, 0x17d5
jne 0x1001124e
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
jmp 0x10011262
cmp ebx, 0x17d6
jne 0x10011269
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, esi
call fcn.1000f7a0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x24], 0
jne 0x1001113b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10011730
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e730
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x10081708]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x62c], ebx
call fcn.10037300
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1008350c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
mov eax, dword [ebx]
xor esi, esi
cmp dword [eax - 0xc], esi
jl 0x10011917
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.100375cd
add esp, 8
test eax, eax
je 0x10011917
mov edi, dword [ebx]
sub eax, edi
sar eax, 1
js 0x10011917
push 0x10063ec0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x10011813
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [ebp - 0x634], eax
call esi
mov dword [ebp - 0x630], eax
jmp 0x10011819
mov eax, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x634]
test ecx, ecx
je 0x10011830
test eax, eax
je 0x10011830
lea eax, [ebp - 0x638]
push eax
call ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [ebp - 0x634], 0
mov dword [ebp - 4], 0
je 0x1001185b
mov ecx, dword [ebp - 0x630]
test ecx, ecx
je 0x1001185b
push dword [ebp - 0x638]
call ecx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1001190c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001190c
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10037300
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10037300
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.1004468c
add esi, eax
lea eax, [ebp - 0x628]
push esi
push eax
push str._slds__u.tmp
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10012a00
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x420]
add esp, 0x14
push 1
push eax
push edi
call esi
push 4
push 0
test eax, eax
je 0x10011909
lea eax, [ebp - 0x420]
push eax
jmp 0x1001190a
push edi
call esi
mov ebx, dword [ebp - 0x62c]
mov esi, 1
push esi
push dword [ebx]
push str.Delete_LinkFile:_s_result:_d
call fcn.100133d0
add esp, 0xc
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.1002bf51
mov esp, ebp
pop ebp
ret 4