joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103eadf
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
call fcn.0100a1c9
push 0x103ed4c
push dword [0x10477e8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x100ebb4
push 0x1020080
push dword [0x10477e8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x103eb24
call fcn.010380b5
push edi
lea ecx, [ebp - 0x1c]
call fcn.0103e5b6
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 8]
stosd dword es:[edi], eax
call fcn.0103e6c3
push 3
pop esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.0103e755
mov dword [ebp + esi*4 - 0x4c], eax
inc esi
cmp esi, 6
jb 0x103eb45
cmp dword [ebp - 4], ebx
je 0x103eb69
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
push 0x26
call esi
test eax, eax
je 0x103eb80
mov dword [ebp + 8], 0x103ed08
jmp 0x103eba0
push 0x1d
call esi
test eax, eax
je 0x103eb99
push 0x22
call esi
test eax, eax
je 0x103ebc5
mov dword [ebp + 8], 0x103ecc0
jmp 0x103eba0
mov dword [ebp + 8], 0x103ec78
mov dword [ebp - 4], ebx
lea edi, [ebp + ebx*4 - 0x4c]
cmp dword [edi], 0
jne 0x103ebbd
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.0103e82d
mov dword [edi], eax
inc ebx
cmp ebx, 6
jb 0x103eba3
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x24]
push eax
call fcn.01016cf7
push 0x26
call esi
neg eax
sbb eax, eax
and eax, 0x28
add eax, 0xe
xor edi, edi
lea esi, [eax + 5]
mov eax, dword [ebp + edi*4 - 0x4c]
cmp eax, ebx
je 0x103ec40
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x1017890
push eax
mov dword [ebp - 0x2c], esi
call fcn.01017a53
test eax, eax
jl 0x103ec40
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x10166bc
call fcn.0102ce3f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
dec esi
cmp edi, 6
jb 0x103ebff
xor esi, esi
pop edi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x103ec4a
lea ecx, [ebp - 0x1c]
call fcn.0103e64a
cmp dword [ebp - 0xc], ebx
pop esi
pop ebx
jl 0x103ec6f
call dword [sym.imp.ole32.dll_CoUninitialize]
leave
ret 4

Function at 0x103ed7f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ecx + 0x74], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 8]
push eax
push 3
push 0x102bec0
push 0x100c990
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
leave
ret
Function at 0x103f25b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x103f284
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x102bec0
push 0x100c990
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
add edi, 0xc
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x103f2cd
mov ecx, esi
mov dword [esi + 0x74], 3
call fcn.0101994f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x10401c9
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x1040228
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x1010488
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4
Function at 0x10003360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100033b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100033b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100033aa
cmp esi, edx
jae 0x100033b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10003398
cmp esi, edx
jae 0x100033b9
cmp word [esi], 0
je 0x100033b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000c080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x1000c097
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
je 0x1000c180
push edi
push 0x1418
call fcn.1006a12b
mov edi, eax
add esp, 4
test edi, edi
je 0x1000c110
mov ecx, dword [ebp + 8]
push esi
push 0x1000
lea esi, [edi + 4]
mov dword [edi], ecx
push 0
push esi
mov dword [edi + 0x1414], 1
call fcn.10075650
push 0x800
push ebx
push esi
call fcn.10084348
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.10075650
mov eax, dword [ebp + 0x10]
add esp, 0x24
test eax, eax
je 0x1000c10d
push 0x208
push eax
push esi
call fcn.10084348
add esp, 0xc
pop esi
jmp 0x1000c112
xor edi, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x1000c1a0
push 0
push 0
mov dword [ebp - 8], 0x1000c1a0
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.100844df
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], vtable.CSimpleThread.0
pop edi
test eax, eax
je 0x1000c174
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
call fcn.1000c360
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1000c320
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1000c345
test byte [ebp - 4], 7
je 0x1000c345
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000c360
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000c412
cmp word [esi], 0
je 0x1000c412
test eax, eax
je 0x1000c3bd
cmp word [eax], 0
je 0x1000c3bd
push 0
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x1000c412
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 8
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10075650
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1000c412
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bdbb
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 esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1000e73b
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000e845
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 0x1000e845
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x58
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommonutil.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
mov byte [ebp - 4], 1
call fcn.100689b0
mov ebx, eax
lea ecx, [ebp - 0xdc]
push 0x203
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov edi, eax
push str.Create_directory_fail__path:
push edi
mov byte [ebp - 4], 2
call fcn.10005a70
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1000e7f9
mov esi, dword [esi]
test esi, esi
mov eax, 0x100a68c0
cmovne eax, esi
push eax
push edi
call fcn.10003800
push str.__errno_
push edi
call fcn.10005a70
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x44]
call fcn.1000e2e0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 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 [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 4
Function at 0x1000f7a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bfbb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.10075650
lea eax, [ebp - 0x21c]
push 1
push eax
call fcn.1005d1b0
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x100a65b8
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f83a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1000f8ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1000f870
movzx eax, ax
mov ecx, esi
push eax
call fcn.10007b90
jmp 0x1000f89e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f880
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002c70
int3
Function at 0x10010240
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.1006a560
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.10075650
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x10010337
test edi, edi
je 0x10010337
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10010337
cmp eax, 0x3fff
ja 0x10010337
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10010337
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x100a71b0
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10010337
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.10075650
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
lea eax, [esi - 1]
push eax
push edi
call fcn.10012790
add esp, 0x2c
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
Function at 0x10012290
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebx], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1001231f
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.10075650
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10012318
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.1008466c
add esp, 8
test eax, eax
je 0x10012332
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100122f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a4da
mov esp, ebp
pop ebp
ret

Function at 0x100148d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b310
mov eax, dword fs:[0]
push eax
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
mov edx, dword [esi + 0xd0]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014916
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x88]
call fcn.10045d50
lea eax, [esi + 0x70]
mov dword [esi + 0x6c], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x64]
call fcn.1002fa70
mov edx, dword [esi + 0x60]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10014952
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x54]
call fcn.10014800
lea ecx, [esi + 0x48]
call fcn.10014800
lea ecx, [esi + 0x3c]
call fcn.10014800
lea ecx, [esi + 0x30]
call fcn.10014800
lea ecx, [esi + 0x24]
call fcn.10014800
lea ecx, [esi + 0x18]
call fcn.10014800
lea ecx, [esi + 0xc]
call fcn.10014800
mov ecx, esi
call fcn.10014800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push str.__hwnd
push dword [ebp + 8]
call fcn.10075a03
mov esi, eax
add esp, 8
test esi, esi
je 0x10014f89
push edi
push 0x10
add esi, 0xe
push 0
push esi
call fcn.10084fb7
add esp, 0xc
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10014f88
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0x100a8cac
push esi
push 0
call ebx
cmp eax, 1
jne 0x10014f87
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x100a8cac
push esi
push 0
call ebx
cmp eax, 1
je 0x10014f60
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x100160a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100160df
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x100160cf
mov ecx, ebx
call fcn.100278c0
push 0x20
push ebx
call fcn.1006a15b
add esp, 8
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x100160b6
mov dword [esi + 8], ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
call fcn.100164e0
lea ecx, [esi + 0x10]
call fcn.100164e0
lea ecx, [esi + 0x18]
call fcn.100164e0
lea ecx, [esi + 0x1c]
call fcn.100164e0
lea ecx, [esi + 0x40]
call fcn.100164e0
lea ecx, [esi + 0x4c]
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], 0x65
mov dword [esi + 0x78], 0x65
call fcn.100164e0
lea ecx, [esi + 0x3c]
call fcn.100164e0
lea ecx, [esi + 0x38]
call fcn.100164e0
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x7c]
cmp edi, ebx
je 0x10016199
mov eax, dword [edi]
or ecx, 0xffffffff
sub eax, 0x10
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001618f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add edi, 4
cmp edi, ebx
jne 0x10016175
mov edi, dword [esi + 0x7c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x80], edi
call fcn.100164e0
lea ecx, [esi + 0x54]
call fcn.100164e0
push 0
push 0x100a65f8
lea ecx, [esi + 0x58]
call fcn.1000a260
pop edi
lea ecx, [esi + 0x70]
pop esi
pop ebx
jmp fcn.100164e0

Function at 0x10016780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ecx + 8]
lea eax, [ebp - 8]
push esi
push 0
push dword [ecx + 0x34]
push eax
call fcn.10017680
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.test_check_repop_timer_seconds
push dword [ebp - 8]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 8]
or eax, 0xffffffff
mov esi, dword [ebp - 4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100167ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
imul eax, esi, 0x3e8
mov ecx, 0x36ee80
pop esi
test eax, eax
cmove eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x10016800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009cbad
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100d07a8]
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, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x22c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1001694f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.10017680
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.10075650
add esp, 0xc
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push str.CloseTime
push dword [ebp - 0x21c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001690e
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100168f0
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10003220
mov esi, dword [ebp - 0x21c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016930
mov ecx, dword [esi]
push esi
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10002c70
int3

Function at 0x10016a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push dword [ecx + 0x34]
lea eax, [ebp - 8]
push eax
call fcn.10017680
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.default_repop_go_on
push dword [ebp - 8]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 8]
or ecx, 0xffffffff
mov esi, dword [ebp - 4]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10016ad7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10016ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009cca1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x100d07a8]
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.10017680
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10075650
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.latest_click
push dword [ebp - 0x21c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10016fd5
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1001705b
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 0x10016f82
movzx eax, ax
mov ecx, esi
push eax
call fcn.10007b90
jmp 0x10016fae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016f90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003220
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 0x1001703c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1001703c
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10017065
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x100a65b8
mov byte [ebp - 4], 2
mov ecx, esi
test eax, 0xffff0000
jne 0x1001700b
movzx eax, ax
push eax
call fcn.10007b90
jmp 0x10017017
push 0
push 0x100a65b8
call fcn.10003220
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 0x1001703c
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.1006a4da
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10002c70
push 0x80004005
call fcn.10002c70
int3