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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009de38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d07a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x1002183c
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x40]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x113
jne 0x10021717
push ebx
lea ecx, [esi + 0x40]
mov dword [esi + 0x40], 1
call fcn.1001e940
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x40], 0
mov eax, dword [ebp + 0x1c]
je 0x10021714
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 0x1002183c
mov dword [esi + 0x24], 1
cmp ebx, 0x17d4
jne 0x100217f8
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.10017680
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 0x1002179e
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
push dword [esi + 0x34]
mov ecx, esi
call fcn.1001cad0
test eax, eax
je 0x100217cb
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 0x100217d4
push 0
mov ecx, esi
call fcn.1001cf00
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 0x10021829
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10021829
cmp ebx, 0x17d5
jne 0x1002180e
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
jmp 0x10021822
cmp ebx, 0x17d6
jne 0x10021829
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, esi
call fcn.1001eb40
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x24], 0
jne 0x100216fb
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 0x10022e30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e0bb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100d07a8]
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 - 0x244], ecx
xor ebx, ebx
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10022fd5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], ebx
mov esi, 0x1a
call fcn.100847e1
cdq
idiv esi
lea edi, [edx + 0x61]
call fcn.100847e1
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.100847e1
cdq
mov ecx, 0x1a
idiv ecx
movzx eax, di
push eax
movzx eax, si
add edx, 0x61
push eax
movzx eax, dx
push eax
call fcn.100847e1
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x61
movzx eax, dx
push eax
lea eax, [ebp - 0x240]
push str._c_c_c_c32.exe
push eax
call fcn.10002ef0
add esp, 0x18
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x240]
mov edi, eax
cmp edi, 0xffffffff
je 0x10022f5c
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10075650
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10022f55
nop dword [eax]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1008466c
add esp, 8
test eax, eax
je 0x10022fac
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10022f30
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
push eax
add ecx, 0x40
call fcn.10003470
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10022f90
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x14
jg 0x10022fbe
inc ebx
jmp 0x10022e86
mov ecx, dword [ebp - 0x244]
push 8
add ecx, 0x40
push str.Link.exe
call fcn.10003220
jmp 0x10022f71
push 0x80004005
call fcn.10002c70
int3
Function at 0x10024e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov edx, 1
push esi
push edi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x104
or edx, eax
jge 0x10024e8a
push 0x104
lea ecx, [ebx + 0x30]
call fcn.100030e0
mov ecx, dword [ebx + 0x30]
push 0x104
push ecx
call fcn.1006b880
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x10024ea0
xor ecx, ecx
jmp 0x10024eb6
push dword [eax - 8]
push eax
call fcn.1007b3b9
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10024f4e
mov eax, dword [ebx + 0x30]
cmp ecx, dword [eax - 8]
jg 0x10024f4e
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [ebx + 0x28]
xor edx, edx
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x30]
push edx
push edx
push 1
push edx
mov word [eax + ecx*2], dx
call esi
push 0
push 0
push 1
push 0
mov dword [edi], eax
add ebx, 0x2c
call esi
mov esi, dword [ebp - 0xc]
mov ecx, esi
mov dword [ebx], eax
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 8], 0
call fcn.100249f0
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
mov ecx, esi
call fcn.100249f0
lea eax, [esi + 0x38]
push eax
push 0
push esi
push 0x10025df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x34], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10002c70
int3
Function at 0x10028390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e8af
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100d07a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], vtable.IHttpTaskCallback.0
mov dword [ebx + 0x30], vtable.ConfigCenter::IConfigClientEx.0
mov byte [ebp - 4], 2
mov dword [ebx], vtable.CPopTrayClient.0
mov dword [ebx + 8], vtable.CPopTrayClient.1.0
mov dword [ebx + 0x2c], vtable.CPopTrayClient.2.0
mov dword [ebx + 0x30], vtable.CPopTrayClient.3.0
mov dword [ebx + 0x34], 0
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10028557
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 3
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10028561
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x3c], eax
lea esi, [ebx + 0x48]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
call fcn.10013fd0
push esi
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 5
call fcn.10021a30
push esi
lea ecx, [ebx + 0x17c]
mov byte [ebp - 4], 6
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x178], 1
call fcn.10025e30
push esi
lea ecx, [ebx + 0x1e0]
mov byte [ebp - 4], 7
mov dword [ebx + 0x1dc], 0
call fcn.10042970
push esi
lea ecx, [ebx + 0x228]
mov byte [ebp - 4], 8
call fcn.10034060
lea edi, [ebx + 0x29c]
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 8
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1006a12b
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, ebx
mov dword [edi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002c70
push 0x80004005
call fcn.10002c70
int3
Function at 0x10028fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009de60
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100d07a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi], vtable.CPopTrayClient.0
mov dword [esi + 8], vtable.CPopTrayClient.1.0
mov dword [esi + 0x2c], vtable.CPopTrayClient.2.0
mov dword [esi + 0x30], vtable.CPopTrayClient.3.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10029018
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esi + 0x29c]
call fcn.100289e0
lea ecx, [esi + 0x228]
call fcn.10028820
mov edx, dword [esi + 0x224]
or ebx, 0xffffffff
sub edx, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10029054
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi + 0x21c]
test edi, edi
je 0x1002907d
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1002907d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1002907d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x1002908d
push eax
call fcn.1004bd3c
lea ecx, [esi + 0x17c]
call fcn.10028700
lea ecx, [esi + 0x120]
call fcn.10028650
lea ecx, [esi + 0x48]
call fcn.100148d0
mov edx, dword [esi + 0x3c]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100290c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x38]
sub edx, 0x10
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100290dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x30], vtable.ConfigCenter::IConfigClient.0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100290f1
push eax
call fcn.1004bd3c
test byte [ebp + 8], 1
mov dword [esi], vtable.CTrayClientBase.0
je 0x1002910b
push 0x2d8
push esi
call fcn.1006a15b
add esp, 8
mov eax, esi
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
Function at 0x1002cf80
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x1002d01e
push ebx
push 4
call fcn.1002bdc0
mov ebx, eax
test ebx, ebx
je 0x1002d017
mov ecx, ebx
call fcn.10027b10
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002cfb4
mov ecx, dword [edi + 0x50]
push eax
call fcn.10015040
push esi
mov esi, dword [edi + 0x48]
mov ecx, ebx
call fcn.10027b30
push eax
mov ecx, esi
call fcn.1002d920
call fcn.10024dc0
mov ecx, ebx
mov esi, eax
call fcn.10027b40
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [edi + 4]
mov dword [edi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
pop esi
pop ebx
mov dword [edi + 0x78], 1
xor eax, eax
pop edi
ret 0x10
pop ebx
xor eax, eax
pop edi
ret 0x10
xor eax, eax
pop edi
ret 0x10
Function at 0x1002d690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 0x12345678
jne 0x1002d6e1
cmp dword [edi + 0x24], 0
je 0x1002d882
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002d882
mov esi, dword [edi + 0x24]
test esi, esi
jne 0x1002d6d1
push 0x12345678
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x424
ja 0x1002d807
je 0x1002d7ec
sub eax, 1
je 0x1002d7ad
sub eax, 1
je 0x1002d75b
sub eax, 1
jne 0x1002d882
mov eax, dword [edi + 0x58]
dec dword [edi + 0x68]
sub eax, 2
mov ecx, dword [edi + 0x68]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x64], 1
cmp ecx, eax
jne 0x1002d73f
push 3
push dword [edi + 4]
call esi
push 0
push 0x64
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [edi + 0x68]
test ecx, ecx
jg 0x1002d7cb
push 3
push dword [edi + 4]
call esi
mov dword [edi + 0x64], 0
pop edi
pop esi
pop ebp
ret 4
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x58]
jl 0x1002d7cb
cmp dword [edi + 0x60], 3
jne 0x1002d7cb
mov esi, dword [sym.imp.USER32.dll_KillTimer]
dec eax
push 2
push dword [edi + 4]
mov dword [edi + 0x68], eax
call esi
push 3
push dword [edi + 4]
call esi
cmp dword [edi + 0x44], 0
mov dword [edi + 0x64], 0
je 0x1002d882
push 0
push 0x3e8
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
ret 4
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x58]
jl 0x1002d7cb
cmp dword [edi + 0x60], 3
je 0x1002d7cb
cmp dword [edi + 0x5c], 0
je 0x1002d7d8
mov dword [edi + 0x68], 0
mov ecx, edi
call fcn.1002da50
pop edi
pop esi
pop ebp
ret 4
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
dec dword [edi + 0x68]
pop edi
pop esi
pop ebp
ret 4
push 0x424
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.1002ddf0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x425
je 0x1002d866
cmp eax, 0x1234
jne 0x1002d882
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push eax
push dword [edi + 4]
call esi
push 0x12345678
push dword [edi + 4]
mov dword [edi + 0x24], 0
call esi
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov dword [edi + 0x78], 1
call fcn.10024dc0
mov ecx, dword [edi + 0x48]
push 1
mov edx, dword [eax]
push dword [ecx + 0x1c]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
ret 4
push 0x425
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.1002b9c0
mov ecx, edi
call fcn.1002ddf0
pop edi
pop esi
pop ebp
ret 4
Function at 0x1002ec20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov eax, dword [esi + 4]
je 0x1002eca3
push 0
push 0xc8
push 0x12345678
push eax
mov dword [esi + 0x24], 8
call dword [sym.imp.USER32.dll_SetTimer]
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
xor ecx, ecx
push 0xb
push 0
push 0
cmp dword [eax + 0x30], ecx
push 0
setne cl
push 0
add ecx, 0xfffffffe
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1002ecca
push dword [eax + 0x24]
mov ecx, dword [esi + 0x50]
call fcn.10020b20
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
add eax, 0x40
push eax
call fcn.10017ae0
mov ecx, eax
call fcn.100302c0
pop esi
pop ebp
ret 4
push 0x12345678
push eax
mov dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x10]
pop esi
pop ebp
ret 4
Function at 0x10033770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f890
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d07a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.10033960
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1003390c
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10033949
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov edi, dword [ebx]
mov byte [ebp - 4], 1
jge 0x100337ff
push 0x800
lea ecx, [ebp + 0xc]
call fcn.100030e0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x1003393f
push edi
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push 0x800
push edx
push 0x100a65b8
mov word [eax + 0x1000], cx
push dword [ebp - 0x10]
push str.PopTaskbar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call fcn.1007b3b9
mov edx, eax
add esp, 8
test edx, edx
js 0x1003393f
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x1003393f
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x1003387c
cmp edi, 0x7fe
jne 0x100338df
mov ecx, dword [ebp + 0xc]
mov edx, 1
mov edi, dword [ebx]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x1000
or eax, edx
jge 0x100338a5
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.100030e0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x1003393f
push edi
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push 0x1000
push ecx
push 0x100a65b8
mov word [eax + 0x2000], dx
push dword [ebp - 0x10]
push str.PopTaskbar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.10011ef0
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 0x1003390c
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 0x1003392b
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.10002c70
push 0x80004005
call fcn.10002c70
int3
Function at 0x100408a0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0d40
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100d07a8]
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 edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str.RunDll.exe
push esi
call fcn.1008466c
add esp, 8
test eax, eax
je 0x10040a4b
push str.32.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x10040916
push str.taskpop.exe
push esi
call fcn.1008466c
add esp, 8
test eax, eax
jne 0x10040a4b
push 0x100a8e20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x1004094b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [ebp - 0x428], eax
call esi
mov dword [ebp - 0x424], eax
jmp 0x10040951
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x10040968
test eax, eax
je 0x10040968
lea eax, [ebp - 0x42c]
push eax
call ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [ebp - 0x428], 0
mov dword [ebp - 4], 0
je 0x10040993
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x10040993
push dword [ebp - 0x42c]
call ecx
test esi, esi
je 0x10040a44
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10040a44
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10075650
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075650
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.100847e1
add esi, eax
lea eax, [ebp - 0x420]
push esi
push eax
push str._slds__u.tmp
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100240b0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x218]
add esp, 0x14
push 1
push eax
push edi
call esi
push 4
push 0
test eax, eax
je 0x10040a41
lea eax, [ebp - 0x218]
push eax
call esi
mov eax, 1
jmp 0x10040a4d
push edi
call esi
mov eax, 1
jmp 0x10040a4d
xor eax, 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.1006a4da
mov esp, ebp
pop ebp
ret
Function at 0x10045d50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1440
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100d07a8]
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, ecx
cmp dword [ebx + 8], 0
je 0x10045e9b
cmp dword [ebx + 4], 0
je 0x10045e9b
push 0
push 0
push 0x12
push dword [ebx]
mov dword [ebx + 0xc], 1
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x44], eax
je 0x10045e9b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp - 0x44]
cmp eax, 0x1f4
jae 0x10045dda
push 0xa
call edi
cmp dword [ebx + 8], 0
jne 0x10045dc4
cmp dword [ebx + 8], 0
je 0x10045e9b
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045e9b
push 0x62
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopworkthreadworkthread.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x82
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov esi, eax
push str.CWorkThread::Stop__wait_thread_stop_timeout_
push esi
call fcn.10005a70
add esp, 8
mov ecx, esi
push 0x1f4
call fcn.10005710
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005bc0
lea ecx, [ebp - 0x28]
call fcn.10002b00
lea ecx, [ebp - 0x40]
call fcn.10002b00
mov ecx, dword [ebx + 0x34]
add ebx, 0x10
test ecx, ecx
je 0x10045eba
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
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.1006a4da
mov esp, ebp
pop ebp
ret