joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10062698]
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
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.10009420
push dword [ebp - 0x80]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100091c2
xor esi, esi
jmp 0x1000934e
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x80]
call fcn.100041f0
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [str.45476F8083D74BA28A2DD8ED399737B7]
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
lea edx, [ecx + 1]
mov byte [ebp - 4], 2
movaps xmm0, xmmword [0x1004c840]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009230
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000c470
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100139f0
mov edx, dword [ebp - 0x68]
add esp, 0xc
mov byte [ebp - 4], 2
mov edi, eax
cmp edx, 0x10
jb 0x10009298
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000928e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000938d
push edx
push ecx
call fcn.1001b13d
add esp, 8
test edi, edi
je 0x100092bc
sub esp, 0x18
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.10008370
lea ecx, [esi + 0x98]
call fcn.10006e00
mov esi, 1
jmp 0x100092be
xor esi, esi
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100092f6
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100092ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009392
push edx
push ecx
call fcn.1001b13d
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000933c
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009397
push edx
push ecx
call fcn.1001b13d
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov edi, dword [ebp - 0x80]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10009370
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 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.1001b4ae
mov esp, ebp
pop ebp
ret
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
int3
Function at 0x1000ed30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100473cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x10062698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x1c], 0
lea edi, [ebx - 0xc]
mov esi, dword [ebx + 0x24]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
jne 0x1000ee96
mov eax, dword [ebp + 0xc]
cmp eax, 0x1401
jne 0x1000ee5b
mov ecx, edi
call fcn.1000eef0
call fcn.10016840
test eax, eax
je 0x1000ee0a
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000ee0a
mov ecx, dword [ebx + 0x5c]
mov eax, 0x2e8ba2e9
sub ecx, dword [ebx + 0x58]
imul ecx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.10016840
lea ecx, [ebp - 0xb0]
mov ebx, eax
call fcn.10002be0
mov esi, eax
push str.config_ready__sequential_count_
push esi
mov dword [ebp - 4], 0
call fcn.10002760
add esp, 8
mov ecx, esi
push edi
call fcn.10008cc0
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xb0]
call fcn.10003760
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x5c]
mov eax, 0x2e8ba2e9
sub ecx, dword [ebx + 0x58]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000ee4b
cmp dword [ebx + 0x64], 0
jne 0x1000ee4b
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
push 0
push edi
push 0x1000f130
push 0
push 0
call fcn.100330f7
add esp, 0x18
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
jmp 0x1000ee98
cmp eax, 0x113
jne 0x1000ee96
cmp dword [ebp + 0x10], 0x7d1
mov dword [ebx + 0x24], 1
jne 0x1000ee87
push 0x7d1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.1000eef0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebx + 0x24], 0
jne 0x1000ee54
xor eax, eax
mov dword [ebx + 0x24], 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 0x18
Function at 0x1000f7e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10062698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 0x10], 0
jne 0x1000f847
push dword [ebp - 0x210]
lea esi, [ebx + 0xc]
lea eax, [esi + 0x20]
push eax
push 0x10061338
push 0x10061210
push 0x10063f38
call fcn.10007940
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x210], edi
test eax, eax
jne 0x1000f86b
call fcn.10011c87
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1000f86b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1000f904
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b4ae
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push eax
call fcn.10011d89
test di, di
je 0x1000f847
lea edi, [esi + 8]
test edi, edi
je 0x1000fa03
test esi, esi
je 0x1000fa03
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10061214
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1006122c]
mov dword [edi + 8], eax
push 0x10061214
mov dword [0x1006122c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1006129c]
mov eax, dword [0x100612a4]
mov edx, dword [0x10061298]
sub eax, ecx
push 0
push dword [0x10063f3c]
push 0
push 0
push eax
mov eax, dword [0x100612a0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x210]
push ecx
push edx
push SysReAllocStringLen
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1000f847
call fcn.100093a0
push 0x208
mov edi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023e50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.netcurl.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f9b4
cmp dword [edi], 0
jne 0x1000f9b4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1000f9b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000f9b4
call eax
mov dword [edi + 0xc], eax
mov ecx, ebx
call fcn.1000d7c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1003158c
add esp, 4
call fcn.1003156b
cdq
mov ecx, 0x64
idiv ecx
push 0
push 0
push 1
push 0
mov dword [ebx + 0x38], edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 0x74], eax
xor ecx, ebp
pop esi
mov eax, 1
pop ebx
call fcn.1001b4ae
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.100019c0
int3
Function at 0x100101d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x4c], 0x450043
push edi
mov dword [ebp - 0x48], 0x300043
mov dword [ebp - 0x44], 0x310039
mov dword [ebp - 0x40], 0x390030
mov dword [ebp - 0x3c], 0x43002d
mov dword [ebp - 0x38], 0x350035
mov dword [ebp - 0x34], 0x2d0041
mov dword [ebp - 0x30], 0x390034
mov dword [ebp - 0x2c], 0x410038
mov dword [ebp - 0x28], 0x41002d
mov dword [ebp - 0x24], 0x330042
mov dword [ebp - 0x20], 0x2d0036
mov dword [ebp - 0x1c], 0x350043
mov dword [ebp - 0x18], 0x460041
mov dword [ebp - 0x14], 0x310030
mov dword [ebp - 0x10], 0x340045
mov dword [ebp - 0xc], 0x410039
mov dword [ebp - 8], 0x310034
mov word [ebp - 4], ax
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x100102b8
mov eax, dword [ecx]
push 2
push 0x24
call dword [eax]
test eax, eax
je 0x100102c2
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x24
jl 0x100102ae
mov dword [eax - 0xc], 0x24
xor eax, eax
mov ecx, dword [esi]
push 0x24
mov word [ecx + 0x48], ax
lea eax, [ebp - 0x4c]
push eax
push 0x24
push dword [esi]
call fcn.10001b40
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10001ab0
push 0x80004005
call fcn.10001ab0
call fcn.10001d70
int3
Function at 0x100113c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100102d0
Function at 0x10016e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047a8b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10062698]
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 0x10016e7b
mov esi, dword [esi]
push 0x180
push 0x40
push 0x8101
lea ebx, [edi + 0x24]
push esi
push ebx
call fcn.100347c4
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x10016f4c
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10023e50
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.10015990
push 0x100500f0
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.10002760
add esp, 8
push eax
call fcn.10002760
add esp, 8
push eax
call fcn.10002760
add esp, 8
mov ecx, eax
call fcn.10008b10
push eax
call fcn.10002760
add esp, 8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.10016f90
cmp dword [eax + 0x14], 8
jb 0x10016f2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.10006ca0
lea ecx, [ebp - 0xa8]
call fcn.10003760
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x10016f65
push 2
push 0
push eax
call fcn.10034bed
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x10016f6c
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.1001b4ae
mov esp, ebp
pop ebp
ret
Function at 0x100172d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047b88
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10062698]
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 0x100174b2
cmp eax, 1
jne 0x100174ca
cmp byte [edi + 8], 0
je 0x10017326
call fcn.10016e40
mov byte [edi + 8], 0
cmp dword [edi + 4], 0x40000000
jle 0x10017362
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x10017347
push eax
call fcn.1003488e
add esp, 4
mov dword [edi + 0x24], 0xffffffff
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x10017352
mov eax, dword [eax]
push eax
call fcn.10033eb6
add esp, 4
mov ecx, edi
call fcn.10016e40
cmp dword [edi + 0x28], 0
jne 0x100173fd
push 0
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.10017050
add esp, 0xc
push 2
push 0x10050130
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100058b0
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 0x100173e2
push dword [ebp - 0x38]
push eax
push ecx
call fcn.100351a3
add esp, 0xc
jmp 0x100173e5
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
call fcn.100033e0
lea ecx, [ebp - 0x60]
call fcn.100033e0
jmp 0x100174a6
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.10017050
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [edi + 0x2c]
push ecx
push eax
call fcn.10013e40
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.100033e0
test esi, esi
jne 0x10017458
push 0xd
push str.write_failed.
lea ecx, [ebp - 0x28]
call fcn.1000c470
push 0x10050130
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10015170
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x10017478
mov eax, dword [eax]
mov ecx, dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x1001748d
push edx
push eax
push ecx
call fcn.100351a3
add esp, 0xc
jmp 0x10017490
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
call fcn.100033e0
lea ecx, [ebp - 0x28]
call fcn.100033e0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x100174b2
add dword [edi + 4], eax
jmp 0x100174ca
cmp dword [esi + 0x14], 8
jb 0x100174ba
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x10050128
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.1001b4ae
mov esp, ebp
pop ebp
ret 4
Function at 0x100179c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10062698]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x21c], esi
call fcn.100113f0
add esp, 4
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 0x10]
push eax
call fcn.10002a30
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x10017a8d
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x10017bc7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x1004af74
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10003bf0
test al, al
jne 0x10017a5f
push 0
push 0x1004af74
mov ecx, esi
call fcn.10005170
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 0x10017baa
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10017baa
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10023e50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017ae9
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x10017bd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x21c]
call fcn.10003bf0
test al, al
jne 0x10017b52
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017b30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10005170
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10017670
mov edx, dword [ebp - 0x21c]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017b88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10017baa
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.1001b4ae
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001ab0
push 0x80004005
call fcn.10001ab0
int3
Function at 0x100180e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047d3e
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10062698]
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 + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x10018314
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 1
call fcn.100113f0
add esp, 4
lea ecx, [ebp - 0x224]
mov eax, dword [eax + 0xc]
push eax
call fcn.10002a30
mov dword [ebp - 4], 1
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x1001831e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x100503ec
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.10003bf0
test al, al
jne 0x100181bb
push 3
push 0x100503ec
lea ecx, [ebp - 0x21c]
call fcn.10005170
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
push 0x20219
push dword [ebp - 0x224]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
push SysReAllocStringLen
call fcn.10018540
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x238]
test eax, eax
jne 0x100182ae
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10023e50
add esp, 0xc
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100182ae
mov eax, dword [ebp - 0x22c]
cmp eax, 1
je 0x1001825f
cmp eax, 2
jne 0x100182ae
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1001827c
test al, 1
jne 0x100182ae
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x10018285
jmp 0x100182ae
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018290
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10005170
test edi, edi
je 0x100182b9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100182d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x100182f6
mov ecx, dword [eax]
push eax
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.1001b4ae
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001ab0
push 0x80004005
call fcn.10001ab0
int3
Function at 0x10018370
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x10062698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x10018504
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10023e50
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x228]
push eax
call edi
test esi, esi
jle 0x100183df
lea eax, [ebp - 0x228]
push eax
call edi
sub esi, 1
jne 0x100183d1
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x63c], 0
push eax
call fcn.100113d0
mov ecx, dword [ebp - 0x63c]
mov edi, eax
add esp, 4
mov esi, edi
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, edi
cmp edi, ecx
je 0x10018504
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.10023e50
add esp, 0xc
lea eax, [ebp - 0x228]
push dword [esi + 8]
push eax
lea eax, [ebp - 0x638]
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi]
test eax, eax
jne 0x1001852a
cmp ecx, 2
jne 0x100184eb
push 0x208
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.10023e50
add esp, 0xc
mov dword [ebp - 0x20], 0x61004d
lea eax, [ebp - 0x430]
mov dword [ebp - 0x1c], 0x740073
mov dword [ebp - 0x18], 0x720065
mov dword [ebp - 0x14], 0x440050
push 0
push 0x1a
push eax
push 0
mov dword [ebp - 0x10], 0x440046
mov dword [ebp - 0xc], 0x740061
mov dword [ebp - 8], 0x61
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10018517
mov eax, dword [ebp - 0x63c]
add esi, 0x50
lea eax, [eax + eax*4]
shl eax, 4
add eax, edi
cmp esi, eax
jne 0x10018420
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b4ae
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b4ae
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.1001b4ae
mov esp, ebp
pop ebp
ret

Function at 0x1001d840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001d3b0