joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499ac5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049993b

Function at 0x49d737
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049d3b4

Function at 0x4a66e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x4a681a
mov ecx, dword [ebp - 4]
lea ecx, [ecx*4 + 4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4a681a
xor ebx, ebx
cmp dword [ebp - 4], ebx
jle 0x4a67bc
sub eax, esi
mov dword [ebp - 0xc], eax
mov edi, edi
push dword [esi]
call sub.SDL2.dll_SDL_wcslen
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push str.UTF_16LE
push str.UTF_8
call sub.SDL2.dll_SDL_iconv_string
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4a681a
push edi
call sub.SDL2.dll_SDL_strlen
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + esi], eax
test eax, eax
je 0x4a681a
push dword [ebp - 0x10]
push edi
push eax
call sub.SDL2.dll_SDL_memcpy
push edi
call sub.SDL2.dll_SDL_free
inc ebx
add esp, 0x10
add esi, 4
cmp ebx, dword [ebp - 4]
jl 0x4a6740
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
push esi
mov dword [edi + ebx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
call sub.SDL2.dll_SDL_SetMainReady
push edi
push dword [ebp - 4]
call fcn.0041e220
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 4], esi
jle 0x4a6804
jmp 0x4a67f0
push dword [edi + esi*4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
inc esi
cmp esi, dword [ebp - 4]
jl 0x4a67f0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x4b6df0
push str.Fatal_Error
push 0x10
call sub.SDL2.dll_SDL_ShowSimpleMessageBox
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1005b920
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x1005b939
mov esi, edi
mov edi, eax
jmp 0x1005b93b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x1005b94b
mov eax, ebx
jmp 0x1005b955
push eax
push ebx
call fcn.100088e0
add esp, 8
test eax, eax
jne 0x1005b95d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x1005b979
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x1005b964
cmp eax, dword [esi + 4]
jge 0x1005b990
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x1005b980
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x1005b9b1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1005b9ae
dec eax
test eax, eax
jg 0x1005b9a0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10063240
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
test eax, eax
je 0x10063315
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10063315
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10063284
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100632a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100632dd
cmp dword [ebp + 8], 0
jne 0x100632dd
push ebx
mov ecx, edi
call fcn.100627a0
test eax, eax
je 0x100632dd
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push ebx
push dword [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100632ed
mov ecx, edi
call fcn.10062250
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x10063309
mov ecx, edi
call fcn.10062250
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10065150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100adb80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100aef48], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x58], ebx
jne 0x1006517a
jmp 0x10065178
cmp esi, 0x20
ja 0x100652a5
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1006c980
mov eax, 0x44
sub eax, esi
push eax
lea eax, [ebp - 0x48]
add eax, esi
push 0
push eax
call fcn.1006c120
lea eax, [esi + 7]
mov ecx, 2
sar eax, 3
add esp, 0x18
cmp eax, ecx
cmovl eax, ecx
xor edi, edi
mov dword [ebp - 0x4c], eax
add ebx, 0x1004
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [edi + 1]
push eax
call fcn.100655a0
push dword [ebp - 0x4c]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push edi
rol esi, 8
call fcn.100655a0
add eax, esi
lea ebx, [ebx + 8]
mov dword [ebx - 0xc], eax
add edi, 2
add eax, esi
add esp, 0x18
rol eax, 9
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x4c]
cmp edi, 0x28
jl 0x100651c1
lea ecx, [ebp - 0x48]
lea ecx, [ecx + eax*8]
lea edx, [ebp - 0x48]
cmp ecx, edx
jbe 0x10065284
lea edi, [ebp - 0x1d]
mov dword [ebp - 0x50], edi
sub ecx, 8
mov dword [edi - 0xb], 0
lea edx, [edi - 8]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ecx]
mov dword [edi - 7], eax
mov eax, dword [ecx + 4]
mov dword [edi - 3], eax
mov eax, edi
cmp edi, edx
jbe 0x10065274
mov edi, edx
mov dh, byte [eax]
xor byte [eax - 4], dh
mov bl, dh
movzx esi, dh
mov dl, dh
mov ecx, esi
shr dl, 1
shr ecx, 7
and esi, 1
add bl, bl
xor bl, byte [ecx*4 + 0x100ac168]
xor dl, byte [esi*4 + 0x100ac170]
xor byte [eax - 2], bl
xor dl, bl
xor byte [eax - 1], dl
xor byte [eax - 3], dl
dec eax
cmp eax, edi
ja 0x10065238
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
add edi, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], edi
cmp ecx, eax
ja 0x10065212
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100652b0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
jmp 0x100652a5
Function at 0x10013f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.100b8390
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.10009170
push eax
push 0
push str.delay
push 0x10103438
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xdbba0
cmp dword [ebp - 4], 0
je 0x10013f5c
imul ecx, dword [ebp - 4], 0x3e8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0xc]
call fcn.100133e0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1001a540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001a564
xor eax, eax
jmp 0x1001a5e4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001a57b
xor eax, eax
jmp 0x1001a5e4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x1001a5c7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x1001a5c7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x1001a59e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x1001a5d3
xor eax, eax
jmp 0x1001a5e4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x1001a5e1
xor eax, eax
jmp 0x1001a5e4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10021120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f21c6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x284
mov eax, dword [0x10135134]
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 dword [ebp - 0x250], ecx
mov dword [ebp - 0x258], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
je 0x10021356
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x10021349
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x248]
call fcn.1001da10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.10009170
push eax
lea ecx, [ebp - 0x248]
call fcn.10020d80
test eax, eax
jne 0x10021319
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.10020eb0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x260]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10020c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.100133e0
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x100212fb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.10020df0
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x270], eax
push 0
call fcn.10021a10
add esp, 4
sub eax, dword [ebp - 0x274]
sbb edx, dword [ebp - 0x270]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x100212eb
mov dword [ebp - 4], 0
jmp 0x100212fb
mov dword [ebp - 0x258], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100133e0
jmp 0x10021349
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100133e0
jmp 0x100211a1
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
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.10027da5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10022390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10135134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10139240]
push edi
xor edi, edi
test esi, esi
je 0x1002241a
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100c7670
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
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.Halowp.exe
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
mov ecx, 1
cmovne edi, ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10027da5
mov esp, ebp
pop ebp
ret
Function at 0x10022430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2318
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x10135134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 0
mov esi, dword [ebp + 8]
je 0x1002247f
push dword [esi]
call fcn.10029390
add esp, 4
test eax, eax
jne 0x1002247f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x60]
movlpd qword [ebp - 0x5c], xmm0
push eax
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
mov dword [ebp - 0x34], 1
xorps xmm0, xmm0
mov word [ebp - 0x30], ax
movups xmmword [ebp - 0x1c], xmm0
call fcn.10019080
mov ecx, eax
test ecx, ecx
je 0x100225bd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x10022516
push eax
push dword [esi]
lea eax, [ebp + 0x14]
push str.__s___s
push eax
call fcn.100222d0
add esp, 0x10
jmp 0x1002251f
push esi
lea ecx, [ebp + 0x14]
call fcn.10020c70
mov esi, dword [ebp + 0x14]
cmp dword [esi - 4], 1
jle 0x10022536
push dword [esi - 0xc]
lea ecx, [ebp + 0x14]
call fcn.1001e340
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [ebp + 0x14], edi
test edi, edi
je 0x1002258b
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x1002257e
cmp dword [ebp + 0x10], 0
je 0x1002257b
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10022588
push eax
call edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100225aa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x80004005
call fcn.100139f0
int3
Function at 0x10023790
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x10135134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
call fcn.100c7670
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10022390
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x100237ec
push str.Halowp
jmp 0x100237f1
push str.S_9DAD19F1_152D_4144_AEE5_2B4B4259C8BF
push eax
call edi
push esi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100c7670
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.LogPopMgr.log.on
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x208
mov dword [0x101392f0], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.100c7670
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str._popmgr.log
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0x101093ec
lea eax, [ebp - 0x20c]
push eax
call edi
push esi
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
pop esi
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100238a0
sub eax, edx
lea ecx, [ebx + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1001f280
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10027da5
mov esp, ebp
pop ebp
ret
Function at 0x10023c80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x10023ca4
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x10023d10
push 0
push 0
call fcn.100cf19d
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x10024eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 1
mov eax, dword [esi + 0x1c]
push 1
push 0
push 0
push 0xcf0000
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x10024ee8
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x10024f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10024fff
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10024f36
xor ecx, ecx
jmp 0x10024f50
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024f40
sub ecx, ebx
sar ecx, 1
pop ebx
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1001f280
mov edi, dword [ebp + 8]
test edi, edi
je 0x10024f7e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024f66
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1001f280
mov dword [esi + 0x84], 1
mov ecx, esi
push dword [0x10139834]
call fcn.10024e30
test ax, ax
jne 0x10024faf
push 0x1010a680
call fcn.10021fe0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push dword [0x10139834]
mov ecx, esi
call fcn.10024eb0
test eax, eax
jne 0x10024fd5
push 0x1010a690
call fcn.10021fe0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [esi + 0x78], 0
mov dword [esi + 0x20], eax
jne 0x10024fff
push 0
push 0
push esi
push 0x10025b20
push 0
push 0
call fcn.100cf19d
add esp, 0x18
mov dword [esi + 0x78], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x100252c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2658
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10135134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x1002532b
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov eax, dword [esi]
push eax
push eax
call ebx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x10025324
push edi
push str.times__d__checkcheck_popmgr_wnd_DOES_NOT_exist.
call fcn.10021fe0
add esp, 8
push 0xc8
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10025375
inc edi
cmp dword [esi + 0x20], 0
je 0x100252f7
push edi
push str.times__d__check_popmgr_wnd_exist.
call fcn.10021fe0
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x80]
push 0xffffffffffffffff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x100253c1
cmp dword [esi + 0x88], eax
jne 0x10025384
call ebx
mov dword [esi + 0x88], eax
jmp 0x10025393
push str.channel_send_thread_quit.
call fcn.10021fe0
add esp, 4
jmp 0x10025339
call ebx
sub eax, dword [esi + 0x88]
cmp eax, 0x2710
jae 0x100253af
cmp dword [esi + 0x74], 0
jbe 0x100253af
cmp dword [esi + 0x84], 0
je 0x100253af
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100253c6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x100253af
lea ecx, [ebp - 0x28]
call fcn.100a8710
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x48]
push edi
mov dword [ebp - 4], 0
call dword [eax]
cmp dword [esi + 0x74], 0
jbe 0x10025439
mov eax, dword [esi + 0x64]
test eax, eax
je 0x100253ed
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [esi + 0x70]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x28]
call fcn.100a8780
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
dec ecx
and ecx, dword [esi + 0x70]
push 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax]
add dword [esi + 0x74], 0xffffffff
jne 0x10025424
mov dword [esi + 0x70], 0
jmp 0x10025427
inc dword [esi + 0x70]
cmp dword [esi + 0x74], 0
jbe 0x10025439
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 8], 0
jbe 0x10025453
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10025590
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100a8770
jmp 0x10025340