joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be0d1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1010739c]
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, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100031dc
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10003210
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x10007fb0
push 0
push 0
call fcn.10095900
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x10003210
xor bl, bl
jmp 0x100032f5
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push edi
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.10003df0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 1
push eax
call fcn.100038c0
add esp, 8
mov byte [ebp - 4], 4
mov eax, 1
mov dword [ebp - 0x20], eax
and eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.10005180
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x1000327f
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x20]
call fcn.100036f0
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x100032c5
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x100032c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x100032c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x100032f2
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x100032f2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x100032f2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov al, bl
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.100512b9
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be6b0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000e675
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000e663
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 0x1000e6b2
nop dword [eax]
cmp esi, edx
jae 0x1000e663
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000e6a0
cmp esi, edx
jae 0x1000e663
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013e00
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax + 4]
mov esi, dword [edi]
push dword [esi + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013eab
push dword [esi + 0x1c]
call fcn.1004a200
add esp, 4
test eax, eax
je 0x10013eab
mov edi, dword [edi]
cmp dword [edi], 0
jne 0x10013e90
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10013eab
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
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10013e90
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x10013eab
cmp dword [edi + 4], 0
je 0x10013eab
cmp dword [edi + 0xc], 0
je 0x10013eab
pop edi
mov eax, 1
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10017120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c197b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [edi], vtable.TaskBarMainWindow.0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 5
xor eax, eax
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x48]
call fcn.100144d0
mov byte [ebp - 4], 7
lea esi, [edi + 0x84]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10050f0a
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 0xa
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov byte [ebp - 4], 0xb
mov byte [edi + 0xa4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100178e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1001793e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x10017900
mov eax, dword [edi]
jmp 0x10017a29
cmp eax, 0x4e0
jb 0x10017a29
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10017960
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x100179b0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10025aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3c66
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
push 0x404
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.1008f970
add esp, 0xc
mov dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x10025b66
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x10025b66
call fcn.10023ef0
mov esi, eax
jmp 0x10025c56
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10025b89
call fcn.10023ef0
jmp 0x10025c49
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x10025ba7
call fcn.10023ef0
jmp 0x10025c49
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10025bc8
mov esi, 0x8007000e
jmp 0x10025c4b
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x420]
call fcn.10023dc0
mov dword [ebp - 4], 1
jmp 0x10025c00
mov eax, dword [ebp - 0x420]
test eax, eax
jne 0x10025c11
mov esi, 0x8007000e
jmp 0x10025c4b
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10025c2c
call fcn.10023ef0
jmp 0x10025c49
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x1c]
call fcn.10025900
mov esi, eax
test edi, edi
je 0x10025c56
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x10025c73
lea ecx, [ebp - 0x420]
call fcn.10024380
mov dword [ebp - 4], 0xffffffff
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 - 0x14]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100277c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bef60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10027803
lea eax, [edx + 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, edx
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027810
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10029630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c453c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
lea esi, [edi + 0x28]
mov dword [edi], vtable.RunTaskInUiThread.0
mov ecx, esi
mov dword [edi + 0x24], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10011360
mov dword [esi], eax
mov byte [ebp - 4], 7
lea eax, [edi + 0x34]
push 2
push eax
mov dword [edi + 0x30], 1
mov dword [ebp - 0x14], eax
call fcn.10044fc6
add esp, 8
mov byte [ebp - 4], 9
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002be60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4be2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
je 0x1002bed0
lea eax, [edi + 0x78]
mov dword [edi], 0x100d83d0
mov dword [edi + 0x10], 0x100d83d8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 1
push 0
lea esi, [edi + 0x18]
mov ecx, edi
push esi
call fcn.1002bfd0
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_fstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.1002c0e0
mov byte [ebp - 4], 3
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esi + 0x48], 0
mov byte [esi + 0x3e], 0
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov dword [esi + 0x4c], 0
mov ecx, dword [0x1010cca4]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x1010cca8]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002d2a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4edd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1010739c]
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
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], 0
call fcn.1008f970
add esp, 0xc
call fcn.10024f70
push 0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.1005daf0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x100d6bb8
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002d363
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10009130
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100055d0
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.100512b9
mov esp, ebp
pop ebp
ret

Function at 0x1002d6e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5002
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x1010739c]
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]
xor eax, eax
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], 0
push 0x208
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x38], 0x4f0053
mov dword [ebp - 0x34], 0x540046
mov dword [ebp - 0x30], 0x410057
mov dword [ebp - 0x2c], 0x450052
mov dword [ebp - 0x28], 0x43005c
mov dword [ebp - 0x24], 0x6d006f
mov dword [ebp - 0x20], 0x61004d
mov dword [ebp - 0x1c], 0x740073
mov dword [ebp - 0x18], 0x720065
call fcn.1008f970
lea eax, [ebp - 0x240]
push eax
push 0x100d6bf0
lea eax, [ebp - 0x38]
push eax
push 0x80000002
call fcn.10079020
add esp, 0x1c
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x240]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d7b0
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009130
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], 1
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.100512b9
mov esp, ebp
pop ebp
ret
Function at 0x1002e9f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c53f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002e930
add esp, 4
mov dword [ebp - 4], 0
mov ecx, eax
push 1
push 0x100d7010
call fcn.100123d0
mov ecx, str.cache_scr.xua
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1002ea43
sub ecx, esi
sar ecx, 1
push ecx
push str.cache_scr.xua
mov ecx, eax
call fcn.100123d0
push eax
lea ecx, [ebp - 0x28]
call fcn.10004130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.100055d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100055d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret
Function at 0x100307f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c58f2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x228], esi
push 0
mov dword [ebp - 0x224], 0
push eax
mov dword [ebp - 0x220], 1
call fcn.1008f970
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], 1
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100d726c
push 0x100d727c
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100308d5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100308b7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100123d0
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.100512b9
mov esp, ebp
pop ebp
ret
Function at 0x10032d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10032ddf
cmp byte [esi + 0x3e], 0
je 0x10032ddf
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x10032d95
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10032da7
sub eax, 1
je 0x10032dab
sub eax, 2
je 0x10032ddf
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10032dc8
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1009a8d0
add esp, 0x10
cmp edi, eax
jne 0x10032d95
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100512b9
mov esp, ebp
pop ebp
ret
Function at 0x10037510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x10037545
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x10037583
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x10037583
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10037661
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x100375ad
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100375e6
push dword [esi + 0x4c]
push edi
call fcn.10099a54
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x10037666
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 4
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x10037661
cmp eax, 1
jle 0x10037634
cmp eax, 3
jne 0x10037661
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1002af20
add esp, 8
test al, al
movzx eax, di
jne 0x10037666
jmp 0x10037661
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x10037651
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.1009a8d0
add esp, 0x10
cmp ebx, eax
jne 0x10037661
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x1003756d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100512b9
mov esp, ebp
pop ebp
ret 4