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

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
call fcn.10007470
mov ecx, eax
call fcn.10005130
push dword [eax]
push 0xffffffffffffffff
push 0x100501c8
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 4]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100114d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011820
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b221
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10068224]
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 ecx, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x244], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001189f
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10026b00
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100118a6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10011a3e
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x10011a5a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov eax, str.explorer.exe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
test eax, 0xffff0000
jne 0x100118e7
movzx eax, ax
push eax
call fcn.100054a0
jmp 0x100118f1
push str.explorer.exe
call fcn.10012500
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
call fcn.10012650
mov dword [ebp - 0x24c], eax
mov esi, dword [ebp - 0x240]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10031578
add esp, 8
test eax, eax
jne 0x100119d5
push dword [ebp - 0x234]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100119cf
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x10011992
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x100119d5
lea eax, [ebp - 0x254]
push eax
call fcn.10011420
mov ecx, dword [ebp - 0x244]
add esp, 4
push dword [ebp - 0x244]
mov dword [ecx], eax
lea eax, [ebp - 0x274]
push ecx
push 0
push eax
lea ecx, [ebp - 0x24c]
call fcn.100111c0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x100119d5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10011930
push ebx
call edi
cmp dword [ebp - 0x248], 0
jbe 0x10011a10
mov eax, dword [ebp - 0x24c]
mov ebx, 1
mov ecx, dword [ebp - 0x244]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x10011a12
xor ebx, ebx
lea ecx, [ebp - 0x24c]
call fcn.10011320
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10011a3c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019d88
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003c10
int3
Function at 0x10011a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10068224]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.10007470
mov ecx, eax
call fcn.10005130
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10050194
push 0x10050198
push 0x10050118
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x210]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011aed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.100365fc
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.10019d88
mov esp, ebp
pop ebp
ret

Function at 0x10011d10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10068224]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.10007470
mov ecx, eax
call fcn.10005130
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10050194
push str.mtime
push 0x10050118
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x210]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011d8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.10036626
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.10019d88
mov esp, ebp
pop ebp
ret
Function at 0x10015eb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x10015ebf
pop ebp
jmp fcn.100167a0
xor eax, eax
pop ebp
ret 0xc
Function at 0x100167a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10068224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x34]
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x100167e0
mov eax, dword [edi]
push edi
call dword [eax]
cmp dword [esi + 0x24], 0
mov dword [ebp - 4], 0
jl 0x100167f7
mov esi, 1
jmp 0x10016944
mov ebx, dword [ebp + 8]
mov dword [esi + 0x24], ebx
test ebx, ebx
jns 0x10016808
xor esi, esi
jmp 0x10016944
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10016818
push eax
lea ecx, [esi + 0x30]
call fcn.10006a70
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1001682a
push eax
lea ecx, [esi + 0x2c]
call fcn.10006a70
jmp 0x10016863
lea eax, [ebp + 8]
push ebx
push eax
call fcn.1001b560
add esp, 8
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.10003810
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016863
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.10016ad0
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.1001b1c0
add esp, 8
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push 0
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x10016920
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10037463
add esp, 4
call fcn.10037442
cdq
mov ecx, 0x64
idiv ecx
inc edx
mov dword [esi + 0x1c], edx
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1001696b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push dword [esi + 0x1c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push 0x1004d3a8
push eax
call fcn.10008d90
mov esi, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 0x10]
push esi
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016920
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov esi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016944
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
test edi, edi
je 0x10016955
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
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 0xc
push 0x80004005
call fcn.10003c10
int3
Function at 0x10016980
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b673
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10068224]
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
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x10016a25
cmp word [esi], di
je 0x10016a25
test eax, eax
je 0x100169e1
cmp word [eax], di
je 0x100169e1
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10016a25
jmp 0x10016a20
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x10016a25
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10016a9c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x10016a87
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x10016a55
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x10016a76
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x10016abc
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x10016a87
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10016a9c
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.10019d88
mov esp, ebp
pop ebp
ret 0x30
call fcn.10012986
int3
Function at 0x100191c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b9ab
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10068224]
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, ecx
cmp dword [edi + 0x20], 8
lea esi, [edi + 0xc]
jb 0x100191fb
mov esi, dword [esi]
push 0x180
push 0x40
push 0x8101
lea ebx, [edi + 0x24]
push esi
push ebx
call fcn.1003806a
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x100192cc
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.10017d40
push 0x10054c98
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push esi
push str.open
push eax
call fcn.1000bde0
add esp, 8
push eax
call fcn.1000bde0
add esp, 8
push eax
call fcn.1000bde0
add esp, 8
mov ecx, eax
call fcn.1000c7d0
push eax
call fcn.1000bde0
add esp, 8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.10019310
cmp dword [eax + 0x14], 8
jb 0x100192af
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.100066b0
lea ecx, [ebp - 0xa8]
call fcn.10006ca0
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100192e5
push 2
push 0
push eax
call fcn.10038493
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x100192ec
mov dword [edi + 4], 0xffffffff
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.10019d88
mov esp, ebp
pop ebp
ret
Function at 0x10019650
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004baa8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10068224]
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, ecx
mov eax, dword [edi + 0x44]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
cmp eax, 2
je 0x10019832
cmp eax, 1
jne 0x1001984a
cmp byte [edi + 8], 0
je 0x100196a6
call fcn.100191c0
mov byte [edi + 8], 0
cmp dword [edi + 4], 0x40000000
jle 0x100196e2
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x100196c7
push eax
call fcn.10038134
add esp, 4
mov dword [edi + 0x24], 0xffffffff
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x100196d2
mov eax, dword [eax]
push eax
call fcn.1003775c
add esp, 4
mov ecx, edi
call fcn.100191c0
cmp dword [edi + 0x28], 0
jne 0x1001977d
push 0
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.100193d0
add esp, 0xc
push 2
push 0x10054cec
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10007870
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [edi + 0x24]
cmovae eax, dword [ebp - 0x48]
cmp ecx, 0xffffffff
je 0x10019762
push dword [ebp - 0x38]
push eax
push ecx
call fcn.10038a49
add esp, 0xc
jmp 0x10019765
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
call fcn.10006660
lea ecx, [ebp - 0x60]
call fcn.10006660
jmp 0x10019826
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.100193d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [edi + 0x2c]
push ecx
push eax
call fcn.10014b00
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.10006660
test esi, esi
jne 0x100197d8
push 0xd
push str.write_failed.
lea ecx, [ebp - 0x28]
call fcn.10007b80
push 0x10054cec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10017520
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x100197f8
mov eax, dword [eax]
mov ecx, dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x1001980d
push edx
push eax
push ecx
call fcn.10038a49
add esp, 0xc
jmp 0x10019810
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
call fcn.10006660
lea ecx, [ebp - 0x28]
call fcn.10006660
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x10019832
add dword [edi + 4], eax
jmp 0x1001984a
cmp dword [esi + 0x14], 8
jb 0x1001983a
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x10054ce4
call 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.10019d88
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c890
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x10068224]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x1001c9fc
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
test esi, esi
jle 0x1001c8ff
lea eax, [ebp - 0x20c]
push eax
call edi
sub esi, 1
jne 0x1001c8f1
mov eax, dword [0x10069d38]
mov esi, dword [eax]
cmp esi, eax
je 0x1001c9fc
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x1001ca23
cmp ecx, 8
jne 0x1001c9b4
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x1a
push eax
push 0
call edi
push str.MasterPDFData
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1001ca0f
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1001c9da
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001c9d6
cmp esi, dword [eax + 8]
jne 0x1001c9d6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001c9c6
mov esi, eax
jmp 0x1001c9f0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001c9f0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001c9e4
cmp esi, dword [0x10069d38]
jne 0x1001c920
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019d88
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019d88
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10019d88
mov esp, ebp
pop ebp
ret
Function at 0x1001caf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001cb61
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1001cb2f
cmp eax, 2
jne 0x1001cb4b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1001cb5b
test ecx, ecx
je 0x1001cb56
test cl, 1
jne 0x1001cb4b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1001cb5b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1001efa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x1001f067
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x1001efb5
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100206b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c293
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10068224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x100682b8]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.10020600
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x10020891
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10026b00
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x10057324
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10020891
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x10020785
cmp eax, 2
jne 0x10020891
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x100207a6
test cl, 1
jne 0x10020891
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x100207ac
jmp 0x10020891
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x10020891
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x100208bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.1001eb80
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x1005732c
push eax
call fcn.10004f40
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.1001efa0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x10020875
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10020816
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.100208d0
push dword [0x100682c0]
lea eax, [ebp - 0x74]
push dword [0x100682bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x10020852
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002086e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10020893
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10020891
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1002089e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.10019d88
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003c10
int3