joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4780e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x4780f6
mov eax, dword [0x47c738]
mov eax, dword [eax]
call fcn.0046231c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x15e
jb 0x4780ea
pop ebx
ret

Function at 0x479bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
xor eax, eax
push ebp
push 0x479c7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404b8c
mov eax, edi
call fcn.00404e4c
test al, al
jbe 0x479c65
mov byte [ebp - 1], al
mov bl, 1
lea eax, [ebp - 8]
xor edx, edx
mov dl, bl
mov dl, byte [edi + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00404d74
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.00404e54
mov eax, dword [ebp + 8]
xor eax, eax
mov al, bl
movzx eax, byte [edi + eax - 1]
add esi, eax
imul esi, dword [ebp + 0x10]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 1]
jne 0x479c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c82
lea eax, [ebp - 8]
call fcn.00404b8c
ret
Function at 0x100073a0
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 0x100073f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100073f9
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 0x100073ea
cmp esi, edx
jae 0x100073f9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100073d8
cmp esi, edx
jae 0x100073f9
cmp word [esi], 0
je 0x100073f9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10007a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10007a47
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
je 0x10007b30
push edi
push 0x1418
call fcn.100618cd
mov edi, eax
add esp, 4
test edi, edi
je 0x10007ac0
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.10081e40
push 0x800
push ebx
push esi
call fcn.10090233
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.10081e40
mov eax, dword [ebp + 0x10]
add esp, 0x24
test eax, eax
je 0x10007abd
push 0x208
push eax
push esi
call fcn.10090233
add esp, 0xc
pop esi
jmp 0x10007ac2
xor edi, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x10007b50
push 0
push 0
mov dword [ebp - 8], 0x10007b50
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.100903ca
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], vtable.CSimpleThread.0
pop edi
test eax, eax
je 0x10007b24
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.10007d40
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10007d00
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 0x10007d25
test byte [ebp - 4], 7
je 0x10007d25
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 0x10007d40
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10007df2
cmp word [esi], 0
je 0x10007df2
test eax, eax
je 0x10007d9d
cmp word [eax], 0
je 0x10007d9d
push 0
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10007df2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061c7c
mov esp, ebp
pop ebp
ret 8
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10081e40
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 0x10007df2
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.10061c7c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10061c7c
mov esp, ebp
pop ebp
ret 8

Function at 0x1000a3f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a986b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100db688]
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.10081e40
lea eax, [ebp - 0x21c]
push 1
push eax
call fcn.1005c1d0
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x100b3628
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 0x1000a48a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1000a50a
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 0x1000a4c0
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000ab30
jmp 0x1000a4ee
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a4d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007260
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.10061c7c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006cd0
int3
Function at 0x1000a520
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.10061d00
mov eax, dword [0x100db688]
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.10081e40
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x1000a617
test edi, edi
je 0x1000a617
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1000a617
cmp eax, 0x3fff
ja 0x1000a617
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000a617
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x100b3948
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000a617
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.10081e40
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.1000d1d0
add esp, 0x2c
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061c7c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10061c7c
mov esp, ebp
pop ebp
ret
Function at 0x1000b290
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x1c], ax
mov word [ebp - 8], ax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 4
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], 0x4f0053
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x540046
push eax
push SysReAllocString
mov dword [ebp - 0x34], 0x410057
mov dword [ebp - 0x30], 0x450052
mov dword [ebp - 0x2c], 0x4c005c
mov dword [ebp - 0x28], 0x640075
mov dword [ebp - 0x24], 0x730061
mov dword [ebp - 0x20], 0x690068
mov dword [ebp - 0x18], 0x6f0070
mov dword [ebp - 0x14], 0x5f0070
mov dword [ebp - 0x10], 0x650074
mov dword [ebp - 0xc], 0x740073
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 0x40]
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061c7c
mov esp, ebp
pop ebp
ret
Function at 0x10010620
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9730
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100db688]
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 0x10010666
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x88]
call fcn.10043cd0
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.1002e070
mov edx, dword [esi + 0x60]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100106a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x54]
call fcn.10010550
lea ecx, [esi + 0x48]
call fcn.10010550
lea ecx, [esi + 0x3c]
call fcn.10010550
lea ecx, [esi + 0x30]
call fcn.10010550
lea ecx, [esi + 0x24]
call fcn.10010550
lea ecx, [esi + 0x18]
call fcn.10010550
lea ecx, [esi + 0xc]
call fcn.10010550
mov ecx, esi
call fcn.10010550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push str.__hwnd
push dword [ebp + 8]
call fcn.100820e1
mov esi, eax
add esp, 8
test esi, esi
je 0x10011b09
push edi
push 0x10
add esi, 0xe
push 0
push esi
call fcn.10092067
add esp, 0xc
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10011b08
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0x100b4efc
push esi
push 0
call ebx
cmp eax, 1
jne 0x10011b07
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 0x100b4efc
push esi
push 0
call ebx
cmp eax, 1
je 0x10011ae0
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x10012bc0
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 0x10012bff
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x10012bef
mov ecx, ebx
call fcn.100275d0
push 0x20
push ebx
call fcn.100618fd
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 0x10012bd6
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.100131e0
lea ecx, [esi + 0x10]
call fcn.100131e0
lea ecx, [esi + 0x18]
call fcn.100131e0
lea ecx, [esi + 0x1c]
call fcn.100131e0
lea ecx, [esi + 0x40]
call fcn.100131e0
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.100131e0
lea ecx, [esi + 0x3c]
call fcn.100131e0
lea ecx, [esi + 0x38]
call fcn.100131e0
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x7c]
cmp edi, ebx
je 0x10012cb9
mov eax, dword [edi]
or ecx, 0xffffffff
sub eax, 0x10
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10012caf
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add edi, 4
cmp edi, ebx
jne 0x10012c95
mov edi, dword [esi + 0x7c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x80], edi
call fcn.100131e0
lea ecx, [esi + 0x54]
call fcn.100131e0
push 0
push 0x100b37c4
lea ecx, [esi + 0x58]
call fcn.1000bdb0
pop edi
lea ecx, [esi + 0x70]
pop esi
pop ebx
jmp fcn.100131e0

Function at 0x100135b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 8]
sub esp, 0x14
lea ecx, [ebp - 1]
mov eax, dword [eax + 0x34]
cmp eax, 1
jne 0x100135cb
call fcn.10011220
jmp 0x100135e8
cmp eax, 2
jne 0x100135d7
call fcn.100114c0
jmp 0x100135e8
cmp eax, 3
jne 0x100135e3
call fcn.10010dc0
jmp 0x100135e8
call fcn.10011060
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.10006990
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
push str.test_check_repop_timer_seconds
push dword [ebp - 0xc]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0xc]
or eax, 0xffffffff
mov esi, dword [ebp - 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10013644
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 0x10013660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa4bd
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x100137e1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
cmp eax, 1
jne 0x100136e6
call fcn.10011220
jmp 0x10013703
cmp eax, 2
jne 0x100136f2
call fcn.100114c0
jmp 0x10013703
cmp eax, 3
jne 0x100136fe
call fcn.10010dc0
jmp 0x10013703
call fcn.10011060
push eax
lea ecx, [ebp - 0x224]
call fcn.10006990
mov dword [ebp - 0x220], 3
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.10081e40
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push str.CloseTime
push dword [ebp - 0x224]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100137a0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013782
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10007260
mov esi, dword [ebp - 0x224]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100137c2
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.10061c7c
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10006cd0
int3

Function at 0x10013900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x34]
sub esp, 0x14
lea ecx, [ebp - 1]
cmp eax, 1
jne 0x10013918
call fcn.10011220
jmp 0x10013935
cmp eax, 2
jne 0x10013924
call fcn.100114c0
jmp 0x10013935
cmp eax, 3
jne 0x10013930
call fcn.10010dc0
jmp 0x10013935
call fcn.10011060
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.10006990
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
push str.default_repop_go_on
push dword [ebp - 0xc]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0xc]
or ecx, 0xffffffff
mov esi, dword [ebp - 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10013991
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 0x10013f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa5e1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100db688]
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]
mov dword [ebp - 0x22c], esi
mov eax, dword [ecx + 0x34]
lea ecx, [ebp - 0x219]
cmp eax, 1
jne 0x10013fab
call fcn.10011220
jmp 0x10013fc8
cmp eax, 2
jne 0x10013fb7
call fcn.100114c0
jmp 0x10013fc8
cmp eax, 3
jne 0x10013fc3
call fcn.10010dc0
jmp 0x10013fc8
call fcn.10011060
push eax
lea ecx, [ebp - 0x220]
call fcn.10006990
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10081e40
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.latest_click
push dword [ebp - 0x220]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100140c5
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1001414b
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 0x1001406f
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000ab30
jmp 0x1001409e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014080
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007260
mov edi, dword [ebp - 0x220]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001412c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1001412c
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10014155
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x100b3628
mov byte [ebp - 4], 2
mov ecx, esi
test eax, 0xffff0000
jne 0x100140fb
movzx eax, ax
push eax
call fcn.1000ab30
jmp 0x10014107
push 0
push 0x100b3628
call fcn.10007260
mov edx, dword [ebp - 0x220]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001412c
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.10061c7c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
int3
Function at 0x10014380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa640
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100db688]
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.10015260
add esp, 8
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x10014526
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10014563
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 0x1001441a
push 0x800
lea ecx, [ebp + 0xc]
call fcn.10007120
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x10014559
push edi
push 0x800
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push edx
push 0x100b3628
push 0x100b4bf8
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.100887e2
mov edx, eax
add esp, 8
test edx, edx
js 0x10014559
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x10014559
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x10014497
cmp edi, 0x7fe
jne 0x100144f9
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 0x100144bf
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.10007120
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x10014559
push edi
push 0x1000
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push ecx
push 0x100b3628
push 0x100b4bf8
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.1000b130
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 0x10014526
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 0x10014545
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.10006cd0
push 0x80004005
call fcn.10006cd0
int3