joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cd80
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.0041a420
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x46cdc9
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x46cdc9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0x4efa78
call fcn.004a89f0
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.004a89a0
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x46cedb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x46cedb
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x46cedb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x46cedb
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x46cedb
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.0041a420
lea eax, [ebp - 4]
mov edi, esp
push eax
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x46cedb
mov ecx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [ecx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call fcn.0041928d
add esp, 8
test eax, eax
je 0x46cedb
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x49b65e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x49b65e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x49b663
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x49b649
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x49b673
test esi, esi
jne 0x49b691
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x49b68f
mov byte [eax + esi - 1], 0
jne 0x49b698
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x4a0df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x4a0e40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4a0e40
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x4a0e45
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x4a0e2b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x4a0e52
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x4af2f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4c84d8
call fcn.0041a128
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004be954
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4af333
call fcn.004be954
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4af341
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4af34f
or eax, 0xffffffff
jmp 0x4af437
mov ecx, esi
call fcn.004af26a
mov dword [ebp - 0x14], eax
call fcn.004b012a
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4af386
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4af386
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004b00de
push dword [ebp - 0x14]
call fcn.004afc0f
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004aef85
cmp eax, edi
je 0x4af3f9
test byte [esi + 0x24], 0x10
je 0x4af3c7
push 4
mov ecx, esi
pop ebx
call fcn.004b2f91
test ah, 1
je 0x4af3bf
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004b267b
cmp dword [esi + 0x1c], edi
je 0x4af3f9
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004b311d
jmp 0x4af3f9
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4af40d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4af426
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4af426
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004af2a4
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4b0622
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b065a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ad99c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ad974
jmp 0x4b0666
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4b2424
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b2466
call fcn.004be954
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b2466
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b245d
xor eax, eax
jmp 0x4b246e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b2474
pop edi
pop esi
pop ebx
ret 4
Function at 0x4c6731
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x4c67af
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x10013320
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 0x10013344
xor eax, eax
jmp 0x100133c4
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 0x1001335b
xor eax, eax
jmp 0x100133c4
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 0x100133a7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x100133a7
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 0x1001337e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x100133b3
xor eax, eax
jmp 0x100133c4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x100133c1
xor eax, eax
jmp 0x100133c4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10015900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x10121004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.100b93f0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10018430
test eax, eax
je 0x10015977
push 0x100f424c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x100159bf
push 1
lea eax, [ebp - 0x424]
push eax
call fcn.100afbc0
add esp, 8
lea ecx, [ebp - 0x424]
call fcn.10008b70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x424]
call fcn.1000f840
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.100b93f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x428], eax
push str._PopMgrStub.log
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0x100f4280
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.1000f2a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x10124d8c
call fcn.10017e90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.1000f840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b06c
mov esp, ebp
pop ebp
ret
Function at 0x10017ac0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x10121004]
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.100b93f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10018430
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x10017b1c
push str.HaloPets
jmp 0x10017b21
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.100b93f0
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 [0x10124d88], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.100b93f0
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 0x100f608c
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 0x10017bd0
sub eax, edx
lea ecx, [ebx + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10013190
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001b06c
mov esp, ebp
pop ebp
ret
Function at 0x10017e90
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x10017ef4
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x10017ee6
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10017ee6
push edx
call fcn.100104f0
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10017edf
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x10017ef3
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.10013190
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017f5a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x10017f5a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10017f41
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x10017f5a
jg 0x10017f52
cmp dword [ebp - 8], 0x40000000
jbe 0x10017f5a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100181a0
Capabilities:
Create thread

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

Function at 0x10018430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10121004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10124d0c]
push edi
xor edi, edi
test esi, esi
je 0x100184ba
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100b93f0
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.HaloPets.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.1001b06c
mov esp, ebp
pop ebp
ret
Function at 0x100196f0
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 0x10019728
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 0x10019750
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 0x1001983f
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10019776
xor ecx, ecx
jmp 0x10019790
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019780
sub ecx, ebx
sar ecx, 1
pop ebx
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10013190
mov edi, dword [ebp + 8]
test edi, edi
je 0x100197be
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100197a6
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.10013190
mov dword [esi + 0x84], 1
mov ecx, esi
push dword [0x10125144]
call fcn.10019670
test ax, ax
jne 0x100197ef
push 0x100f7408
call fcn.100167a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push dword [0x10125144]
mov ecx, esi
call fcn.100196f0
test eax, eax
jne 0x10019815
push 0x100f7418
call fcn.100167a0
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 0x1001983f
push 0
push 0
push esi
push 0x1001a360
push 0
push 0
call fcn.100c0a8d
add esp, 0x18
mov dword [esi + 0x78], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x10019b00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e40a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10121004]
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 0x10019b6b
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 0x10019b64
push edi
push str.times__d__checkcheck_popmgr_wnd_DOES_NOT_exist.
call fcn.100167a0
add esp, 8
push 0xc8
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10019bb5
inc edi
cmp dword [esi + 0x20], 0
je 0x10019b37
push edi
push str.times__d__check_popmgr_wnd_exist.
call fcn.100167a0
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 0x10019c01
cmp dword [esi + 0x88], eax
jne 0x10019bc4
call ebx
mov dword [esi + 0x88], eax
jmp 0x10019bd3
push str.channel_send_thread_quit.
call fcn.100167a0
add esp, 4
jmp 0x10019b79
call ebx
sub eax, dword [esi + 0x88]
cmp eax, 0x2710
jae 0x10019bef
cmp dword [esi + 0x74], 0
jbe 0x10019bef
cmp dword [esi + 0x84], 0
je 0x10019bef
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10019c06
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 0x10019bef
lea ecx, [ebp - 0x28]
call fcn.100a1e40
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 0x10019c79
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10019c2d
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.100a1eb0
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 0x10019c64
mov dword [esi + 0x70], 0
jmp 0x10019c67
inc dword [esi + 0x70]
cmp dword [esi + 0x74], 0
jbe 0x10019c79
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 0x10019c93
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10019dd0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100a1ea0
jmp 0x10019b80
Function at 0x1001cae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4258
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10121004]
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, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x640063
mov dword [ebp - 0x50], 0x320030
mov dword [ebp - 0x4c], 0x300036
mov dword [ebp - 0x48], 0x390034
mov dword [ebp - 0x44], 0x640065
mov dword [ebp - 0x40], 0x660032
mov dword [ebp - 0x3c], 0x660065
mov dword [ebp - 0x38], 0x300061
mov dword [ebp - 0x34], 0x640033
mov dword [ebp - 0x30], 0x340032
mov dword [ebp - 0x2c], 0x380066
mov dword [ebp - 0x28], 0x350061
mov dword [ebp - 0x24], 0x660062
mov dword [ebp - 0x20], 0x370063
mov dword [ebp - 0x1c], 0x630036
mov dword [ebp - 0x18], 0x300035
mov word [ebp - 0x14], ax
call fcn.10011050
mov ecx, eax
test ecx, ecx
je 0x1001cbfb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100104a0
test al, al
jne 0x1001cbdb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001cbc0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10013190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b06c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10010410
int3