joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
or eax, 0x20019
push eax
push ecx
xor ebx, ebx
push edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], 1
call fcn.1000b3a0
test eax, eax
je 0x1000b8e7
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000b8a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b8bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b8de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push ebx
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x1000b920
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1000b914
cmp eax, 2
jne 0x1000b920
mov eax, dword [ebp + 8]
shr eax, 1
cmp eax, ebx
jne 0x1000b920
mov byte [ebp - 1], bl
cmp esi, ebx
je 0x1000b92b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x1000b94b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b96a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000b980
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
or eax, 0x20006
push eax
push ecx
xor ebx, ebx
push edx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.1000b3a0
test eax, eax
je 0x1000ba03
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x1000b9bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b9db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b9fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp - 0xc]
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x1000ba24
push esi
call ebx
xor esi, esi
test edi, edi
sete byte [ebp + 0xb]
test esi, esi
je 0x1000ba31
push esi
call ebx
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
test ecx, ecx
jg 0x1000ba52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ba71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp + 0xb]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bd10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100257a3
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x100365e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
push eax
push 0x1002e598
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.10001980
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
or eax, 0x20019
push eax
push ecx
push edi
lea ecx, [ebp - 0x41c]
call fcn.1000b3a0
test eax, eax
je 0x1000bdc8
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x1000bd9b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000bdc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x1000be71
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x41c]
push 0x200
lea ecx, [ebp - 0x410]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1000be10
test esi, esi
je 0x1000bdf4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1000bdb5
lea eax, [ebp - 0x410]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000be20
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x410]
push ecx
mov ecx, ebx
call fcn.10001980
test esi, esi
je 0x1000be49
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000be6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.10012e4f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000be90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100257e3
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100365e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x414], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x420], 0x100
mov dword [ebp - 0x418], 0x200
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
push ebx
push 0x1002e59c
mov byte [ebp - 4], 1
call fcn.10001980
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
or ecx, 0x20019
push ecx
push edx
push edi
lea ecx, [ebp - 0x42c]
call fcn.1000b3a0
test eax, eax
je 0x1000bf6a
mov eax, dword [ebp - 0x42c]
cmp eax, ebx
je 0x1000bf3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000bf63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x1000c042
mov esi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp + 0x10]
push ebx
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x210]
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1000bfaa
cmp esi, ebx
je 0x1000bf3d
push esi
jmp 0x1000bf37
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000bfb3
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.10001980
mov eax, dword [ebp - 0x430]
dec eax
mov ecx, dword [ebp - 0x414]
je 0x1000c003
mov eax, dword [ebp - 0x418]
push eax
lea edx, [ebp - 0x410]
push edx
push eax
call fcn.10001550
push eax
call fcn.100133b0
add esp, 0xc
jmp 0x1000c00f
lea eax, [ebp - 0x410]
push eax
call fcn.10002040
cmp esi, ebx
je 0x1000c01a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c040
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.10012e4f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000cff0
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100365e8]
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 dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x1000d18d
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x1000d063
push 0
lea ecx, [ebp + 8]
call fcn.10001470
mov edx, dword [ebp + 8]
push 0x2c
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x1000d07f
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1000d18d
lea ecx, [ebp - 0x3c]
push ecx
push 0x24
lea edx, [ebp - 0x34]
push edx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x1000d0a2
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 1
jne 0x1000d0ae
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 3
jne 0x1000d127
mov eax, 0xcccccccd
mul dword [ebp - 0x1c]
shr edx, 3
cmp edx, 0x3e8
jae 0x1000d0ce
mov edx, 0x3e8
jmp 0x1000d0db
cmp edx, 0x2710
jbe 0x1000d0db
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x3c]
push eax
push 0x24
lea ecx, [ebp - 0x34]
push ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1000d0ff
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 1
jne 0x1000d10b
push esi
call edi
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
cmp eax, 0x7530
jbe 0x1000d121
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 3
je 0x1000d0b4
lea edx, [ebp - 0x34]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1000d13e
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 1
je 0x1000d18d
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x3c]
push ecx
push 0x24
lea edx, [ebp - 0x34]
push edx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1000d16b
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 1
je 0x1000d18d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
cmp eax, 0x7530
jbe 0x1000d187
push esi
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 1
jne 0x1000d144
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d1b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.10012e4f
mov esp, ebp
pop ebp
ret
Function at 0x1000dce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025adb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100365e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10038a40], 0
jne 0x1000de42
push 0x400
push 0
push 0x10038640
call fcn.10013ff0
push 0x800
push 0
push 0x10037e40
call fcn.10013ff0
push 0x2c
call fcn.100129eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1000dd61
push 0
push 3
push str.HIDE
mov ecx, eax
call fcn.10004450
jmp 0x1000dd63
xor eax, eax
mov edi, dword [ebp + 8]
push 0xa
push 0x8e
push edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10038a44], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1000de42
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1000de42
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000de42
push edi
call fcn.1001330e
add esp, 4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call fcn.100133b0
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1000de2f
mov eax, dword [esi]
mov edi, dword [esi + 4]
push edi
mov dword [ebp - 0x10], eax
add esi, 8
call fcn.1001330e
push edi
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.100133b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add esp, 0x10
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
mov ecx, 0x10038a48
add esi, edi
lea ebx, [ebx + edi + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
call fcn.1000dc60
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x10038a48
call fcn.1000d980
cmp ebx, dword [ebp - 0x18]
jb 0x1000ddd7
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100130f8
add esp, 4
mov byte [0x10038a40], 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
Function at 0x10010dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002627b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100365e8]
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]
xor esi, esi
push esi
lea ecx, [ebp - 0x219]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
mov edi, 0x1000
call fcn.1000de60
push 0x62ec
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], esi
call fcn.1000df00
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x22c], ebx
lea ecx, [ebp - 0x219]
cmp ebx, esi
jne 0x10010e66
mov dword [ebp - 4], 0xffffffff
call fcn.10001110
or eax, 0xffffffff
jmp 0x10011002
push 0x62ed
call fcn.1000df00
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x10010eab
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 0xffffffff
call fcn.10001110
lea eax, [esi - 2]
jmp 0x10011002
mov esi, dword [ebp - 0x228]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10010ee8
lea ecx, [ebp - 0x234]
push ecx
push edi
push ebx
push 5
call esi
mov esi, eax
test esi, esi
je 0x10010ef4
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0xc0000004
jne 0x10010eef
add edi, edi
cmp edi, 0x80000
jb 0x10010ea5
jmp 0x10010ef4
mov esi, 0xfffffffd
jmp 0x10010ef4
mov esi, 0xfffffffc
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x10010fee
mov edi, ebx
jmp 0x10010f10
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10010f8c
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10014a37
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.100125ac
add esp, 0x14
test eax, eax
jne 0x10010f8c
mov esi, 1
mov dword [ebp - 0x220], esi
cmp dword [ebp + 0xc], esi
jne 0x10010f9e
mov eax, dword [edi + 0x44]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10010f8c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x10010f7d
mov dword [ebp - 0x224], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
test eax, eax
je 0x10010f99
add edi, eax
jmp 0x10010f10
mov esi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x220], 0
jne 0x10010fc7
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 0xffffffff
call fcn.10001110
mov eax, 0xfffffffb
jmp 0x10011002
cmp dword [ebp + 0xc], esi
jne 0x10010fee
cmp dword [ebp - 0x224], 0
jne 0x10010fee
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 0xffffffff
call fcn.10001110
mov eax, 0xfffffffa
jmp 0x10011002
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 0xffffffff
call fcn.10001110
mov eax, esi
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.10012e4f
mov esp, ebp
pop ebp
ret
Function at 0x10011070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001108b
test al, 0x10
jne 0x1001108b
mov bl, 1
jmp 0x1001108d
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100110ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop ebp
ret

Function at 0x100110c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
test ebx, ebx
jle 0x100110f4
nop
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x10011104
inc esi
cmp esi, ebx
jge 0x100110f4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jl 0x100110d0
mov ecx, dword [ebp + 8]
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10011123
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10012e4f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100365e8]
jne 0x10012e59
repz ret
jmp fcn.10018d3c

Function at 0x1001e89c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100365e8]
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.10015efa
and dword [ebp - 0x14], 0
cmp dword [0x10039764], 0
mov dword [ebp - 0x18], eax
jne 0x1001e94f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001e9f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001e9f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10039764], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10039768], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1003976c], eax
call edi
push eax
call esi
mov dword [0x10039774], eax
test eax, eax
je 0x1001e94f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10039770], eax
mov eax, dword [0x10039770]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1001e9a8
cmp dword [0x10039774], ecx
je 0x1001e9a8
push eax
call esi
push dword [0x10039774]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1001e9a8
test ebx, ebx
je 0x1001e9a8
call edi
test eax, eax
je 0x1001e99f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001e99f
test byte [ebp - 8], 1
jne 0x1001e9a8
or dword [ebp + 0x10], 0x200000
jmp 0x1001e9db
mov eax, dword [0x10039768]
cmp eax, dword [ebp - 0x18]
je 0x1001e9db
push eax
call esi
test eax, eax
je 0x1001e9db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001e9db
mov eax, dword [0x1003976c]
cmp eax, dword [ebp - 0x18]
je 0x1001e9db
push eax
call esi
test eax, eax
je 0x1001e9db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10039764]
call esi
test eax, eax
je 0x1001e9f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001e9f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012e4f
leave
ret
Function at 0x40b582
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x170
mov eax, 0x6d094f
call fcn.00579a84
mov esi, ecx
mov dword [ebp - 0x17c], esi
xor ebx, ebx
mov dword [ebp - 0x17c], esi
push 0xf
pop edi
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x11c], edi
cmp byte [ebp + 8], bl
je 0x40b6a1
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x130]
test eax, eax
js 0x40b739
lea eax, [ebp - 0x118]
push eax
call fcn.0040257a
mov dword [ebp - 0x148], ebx
lea ecx, [ebp - 0x148]
push str.JiSu
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], edi
mov byte [ebp - 0x148], bl
call fcn.0040257a
push 0x786c10
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.0040e9bc
pop ecx
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x160]
call fcn.004029a7
mov byte [ebp - 4], 3
push str.Application
lea ecx, [ebp - 0x160]
call fcn.004023e9
push eax
mov ecx, esi
call fcn.0040240f
lea ecx, [ebp - 0x160]
call fcn.00402554
lea ecx, [ebp - 0x178]
call fcn.00402554
lea ecx, [ebp - 0x148]
call fcn.00402554
lea ecx, [ebp - 0x130]
call fcn.00402554
jmp 0x40b748
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 4
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x130]
test eax, eax
js 0x40b739
lea eax, [ebp - 0x118]
push eax
call fcn.0040257a
mov dword [ebp - 0x148], ebx
lea ecx, [ebp - 0x148]
push str.JiSu
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], edi
mov byte [ebp - 0x148], bl
call fcn.0040257a
push 0x786c10
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x178]
call fcn.0040e9bc
pop ecx
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 6
push ecx
push eax
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x160]
call fcn.004029a7
mov byte [ebp - 4], 7
jmp 0x40b658
call fcn.00402554
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov byte [esi], bl
mov eax, esi
call fcn.00579a33
ret