joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4231e3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push ebx
push ebp
mov eax, dword [eax]
xor ebx, ebx
mov ecx, dword [ecx]
mov ebp, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov eax, dword [eax]
push edi
mov esi, dword [esi]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
mov byte [eax + ecx], bl
mov eax, dword [esp + 0x10]
add eax, esi
movsx edi, byte [eax]
test edi, edi
je 0x4233d2
cmp edi, 0x22
je 0x4233ba
cmp edi, 0x27
je 0x4233ba
cmp edi, 0x20
jle 0x4233b7
push edi
call fcn.0041ce12
test eax, eax
jne 0x4233b7
push edi
call fcn.00405396
test eax, eax
je 0x423270
mov eax, dword [esp + 0x10]
push ebx
push ebx
add eax, esi
push eax
call fcn.00422d8e
jmp 0x4233c0
cmp edi, 0x23
jne 0x42327c
mov eax, dword [esp + 0x10]
inc eax
jmp 0x423261
push 0x40
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
add eax, esi
push eax
call fcn.00422d8e
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push 5
push eax
push dword [esp + 0x78]
call fcn.0042361d
mov edi, eax
test edi, edi
je 0x4233b1
push dword [esp + 0x18]
call fcn.00423fda
mov edx, eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], edx
mov cl, byte [edx]
cmp byte [eax], bl
je 0x4232e6
test cl, cl
je 0x4233cf
cmp cl, 0x28
jne 0x4233b1
push 0x29
push edx
call fcn.0040682c
test eax, eax
js 0x4233cf
push ebp
call fcn.00403dae
push 0x3ec
push dword [edi + 0x14]
call fcn.0040294f
mov ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x4233b1
mov eax, dword [edi + 0x10]
cmp byte [eax], bl
je 0x423344
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x3c]
call fcn.00422861
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
jmp 0x423348
mov eax, dword [esp + 0x18]
mov edi, eax
sub edi, esi
sub edi, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov eax, ecx
sub eax, edi
add ebp, eax
lea eax, [ebp + 1]
cmp dword [esp + 0x1c], eax
jge 0x42338f
push 0x3ed
lea eax, [ecx + 1]
push eax
lea eax, [ebp + 0x1000]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406477
test eax, eax
je 0x4233b1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push edi
add eax, esi
push eax
call fcn.00423ea6
mov dword [esp + 0x20], ebp
jmp 0x4233c6
mov esi, dword [esp + 0x18]
jmp 0x4233c2
inc esi
jmp 0x4233c6
push eax
call fcn.0041ea6c
mov esi, eax
sub esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x423219
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
push ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
call fcn.00403dae
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x5c
ret 0x20
Function at 0x10002fc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7444
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100fe39c]
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 - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x1000300c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push edi
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.10003c50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 1
push eax
call fcn.10003720
add esp, 8
mov byte [ebp - 4], 4
mov eax, 1
mov dword [ebp - 0x28], eax
and eax, 0xfffffffe
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.10005430
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x100030a4
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x100030a4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x100030a4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x100030c0
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x20]
call fcn.10003550
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10003103
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10003103
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x10003103
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [esi + 0x18], 0
jne 0x1000312a
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x10007de0
push 0
push 0
call fcn.1008e013
add esp, 0x18
mov dword [esi + 0x18], eax
mov byte [ebp - 0x19], 1
jmp 0x1000312e
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10003157
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10003157
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10003157
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x19]
mov dword [ebp - 0x2c], 0
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.1004f51c
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7a20
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100fe39c]
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 0x1000e4b5
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 0x1000e4a3
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 0x1000e4f2
nop dword [eax]
cmp esi, edx
jae 0x1000e4a3
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000e4e0
cmp esi, edx
jae 0x1000e4a3
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 0x10016c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100babeb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100fe39c]
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 + 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.100141d0
mov byte [ebp - 4], 7
lea esi, [edi + 0x80]
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.1004f16d
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 + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov byte [ebp - 4], 0xb
mov byte [edi + 0xa0], 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 0x100173d0
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 0x1001742e
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 0x100173f0
mov eax, dword [edi]
jmp 0x10017519
cmp eax, 0x4e0
jb 0x10017519
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 0x10017450
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 0x100174a0
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 0x10024c00
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bceb1
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x100fe39c]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10087da0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10024c81
lea eax, [ebp - 0x218]
push eax
call ebx
sub esi, 1
jne 0x10024c73
push str.netul.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.1000b000
mov ecx, eax
test ecx, ecx
je 0x10024de3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000ae40
test al, al
jne 0x10024cf8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024cd6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000bca0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10024d14
mov bl, 1
jmp 0x10024d22
push esi
call fcn.10049b90
add esp, 4
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10024d41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x10024dc3
cmp dword [edi], 0
jne 0x10024daa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10024dc3
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 0x10024daa
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x10024dc3
cmp dword [edi + 4], 0
je 0x10024dc3
cmp dword [edi + 0xc], 0
je 0x10024dc3
mov eax, 1
jmp 0x10024dc5
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.1004f51c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000ae20
int3
Function at 0x10025920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcfd6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100fe39c]
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.10087da0
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 0x100259e6
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x100259e6
call fcn.10023c50
mov esi, eax
jmp 0x10025ad6
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10025a09
call fcn.10023c50
jmp 0x10025ac9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x10025a27
call fcn.10023c50
jmp 0x10025ac9
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 0x10025a48
mov esi, 0x8007000e
jmp 0x10025acb
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x420]
call fcn.10023b20
mov dword [ebp - 4], 1
jmp 0x10025a80
mov eax, dword [ebp - 0x420]
test eax, eax
jne 0x10025a91
mov esi, 0x8007000e
jmp 0x10025acb
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 0x10025aac
call fcn.10023c50
jmp 0x10025ac9
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.10025780
mov esi, eax
test edi, edi
je 0x10025ad6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x10025af3
lea ecx, [ebp - 0x420]
call fcn.100240e0
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.1004f51c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10027640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b82d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100fe39c]
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 0x10027683
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 0x10027690
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 0x10029330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd80c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100fe39c]
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 [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100111d0
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.10044d38
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 0x1002bb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdeb2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100fe39c]
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 0x1002bbd0
lea eax, [edi + 0x78]
mov dword [edi], 0x100d03f4
mov dword [edi + 0x10], 0x100d03fc
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.1002bcb0
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.1002bdc0
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 [0x10103834]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x10103838]
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 0x1002cf80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be1ad
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x100fe39c]
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.10087da0
add esp, 0xc
call fcn.10024df0
push 0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.1005bea0
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 0x100cec28
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 0x1002d043
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10008f70
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10005430
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.1004f51c
mov esp, ebp
pop ebp
ret

Function at 0x1002d3c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100fe39c]
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.10087da0
lea eax, [ebp - 0x240]
push eax
push 0x100cec60
lea eax, [ebp - 0x38]
push eax
push 0x80000002
call fcn.10071450
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 0x1002d490
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10008f70
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.1004f51c
mov esp, ebp
pop ebp
ret