joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e7653
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b46ae
call fcn.00640244
mov eax, dword [0x7e3708]
sub esp, 0x1c
test eax, eax
je 0x5e7677
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5e771e
cmp byte [0x7e36e0], 0
jne 0x5e7696
push 0x719e64
push 0x7e36e4
call fcn.0046b3a5
mov byte [0x7e36e0], 1
push 0x2ac
call fcn.0063ffa4
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5e76b5
mov ecx, eax
call fcn.005e63b1
jmp 0x5e76b7
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push 0xf8
mov dword [0x7e3708], eax
call fcn.0058f250
call fcn.00494723
push eax
push 0x708
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5e76f3
mov eax, dword [eax]
push eax
mov eax, dword [0x7e3708]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004281f2
mov eax, dword [0x7e3708]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5e7f03
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [eax], ecx
je 0x5e7f21
push 5
push ecx
push ecx
add eax, 0x7c
push eax
push 0x6c15d4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 4
Function at 0x5e95b8
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x30]
cmp eax, 1
je fcn.005e78f2
test eax, eax
jne 0x5e95c9
inc eax
push 0
push 3
push eax
mov dword [ecx + 0x30], eax
call fcn.005e95ee
ret 4

Function at 0x5eb5ba
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
push ebx
push ebx
or dword [esi], 0xffffffff
push 3
push ebx
push 3
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5eb5e7
xor eax, eax
jmp 0x5eb61b
push ebx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x5eb60c
mov eax, dword [ebp - 8]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
cmp dword [esi], 0xffffffff
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5ed4e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x5ed511
xor al, al
jmp 0x5ed5ee
push edi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x5ed53b
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x5ed542
xor al, al
jmp 0x5ed5ed
push ebp
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x5ed5ea
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
xor ebp, ebp
test eax, eax
je 0x5ed5de
push edi
push ebx
push eax
call fcn.00658b30
add esp, 0xc
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x5ed5d5
push ebp
push dword [esp + 0x20]
call fcn.005ed3fa
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5ed5d5
mov eax, dword [ecx + 8]
mov dword [ecx + 8], ebp
mov ecx, dword [esi + 4]
test eax, eax
jne 0x5ed5c8
call fcn.005b9a13
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
call fcn.005b8d37
mov dword [esi + 0xc], eax
mov al, 1
jmp 0x5ed5ec
test ecx, ecx
je 0x5ed5d2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebp
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 0x10], ebp
xor al, al
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x5ed7ed
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
sub esp, 0x18
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x78], edi
cmp dword [ebp + 8], edi
je 0x5ed852
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00429973
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
mov ecx, esi
call fcn.005bfc1c
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.004281f2
cmp dword [esi + 0xc4], edi
je 0x5ed849
lea eax, [esi + 0xb4]
cmp dword [eax + 0x14], 8
jb 0x5ed842
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push edi
push 0x801e
jmp 0x5ed859
push esi
push edi
push 0x8023
push dword [0x7e2568]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5ed877
Capabilities:
Delete file

Disassembly:
mov eax, 0x6b4d62
call fcn.00640244
sub esp, 0x3f0
push ebx
push esi
push 7
mov ebx, ecx
xor eax, eax
pop edx
xor ecx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], ax
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x8c], eax
jne 0x5ed9bb
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x7b1a24
call fcn.0042a5be
mov eax, dword [ebp - 0x14]
add eax, 8
push 8
pop esi
cmp dword [eax + 0x14], esi
jb 0x5ed8d7
mov eax, dword [eax]
push edi
lea edi, [ebx + 0xb4]
cmp dword [edi + 0x14], esi
jb 0x5ed8e7
mov ecx, dword [edi]
jmp 0x5ed8e9
mov ecx, edi
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.005ec059
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
jne 0x5ed92a
push 0x6c111c
lea ecx, [ebp - 0x44]
call fcn.00438eb2
test eax, eax
jne 0x5ed92a
push 0x6c111c
lea ecx, [ebp - 0x2c]
call fcn.00438eb2
test eax, eax
je 0x5ed99d
push 0x100
lea eax, [ebp - 0x3fc]
push eax
push dword [ebp - 0x10]
call fcn.0046249e
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x5ed949
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], esi
jae 0x5ed954
lea eax, [ebp - 0x44]
cmp dword [edi + 0x14], esi
jb 0x5ed95b
mov edi, dword [edi]
push ecx
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x3fc]
push eax
push edi
lea eax, [ebp - 0x5c]
push str.The_install_of__s_failed._n__s__d_.___s____s_
push eax
call fcn.004654e1
add esp, 0x1c
cmp dword [eax + 0x14], esi
jb 0x5ed980
mov eax, dword [eax]
push 0
push 0
push eax
push dword [0x7bdc9c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004281f2
lea ecx, [ebp - 0x1fc]
call fcn.005ec430
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004281f2
pop edi
jmp 0x5ed9d7
push 8
lea eax, [ebx + 0x7c]
pop esi
cmp dword [eax + 0x14], esi
jb 0x5ed9c8
mov eax, dword [eax]
push ecx
push ecx
push eax
push dword [0x7bdc9c]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebx + 0xe4], 0
jne 0x5ed9f4
lea eax, [ebx + 0xb4]
cmp dword [eax + 0x14], esi
jb 0x5ed9ed
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebx + 0xe6], 0
pop esi
pop ebx
je 0x5eda04
call fcn.0048560b
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov al, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5f0802
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6b24e7
call fcn.00640244
sub esp, 0x48
push esi
mov esi, ecx
cmp dword [esi + 0x44], 2
jne 0x5f089c
push edi
push 1
xor edi, edi
push edi
push edi
push str.www.bittorrent.com_speed_
push 0x6c15d4
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.action
lea ecx, [ebp - 0x24]
call fcn.0040eeff
push edi
push str.LearnMore
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0046a515
push edi
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040f52f
push str.HelperTip
lea ecx, [ebp - 0x3c]
call fcn.0040eeff
push edi
push edi
push edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push eax
push 0x40
call fcn.00488d2d
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f52f
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [0x7e13ed], 1
call fcn.0040f52f
pop edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f761b
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x464
push esi
push 0
push 2
mov dword [esp + 0x3c], 0x22c
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x5f7726
lea eax, [esp + 0x34]
push eax
push esi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x5f7659
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5f7726
and dword [esp + 4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebp
push edi
mov edi, dword [esp + 0x47c]
add edi, 0x208
lea eax, [esp + 0x64]
push eax
call fcn.005f75e5
test eax, eax
jne 0x5f7701
push dword [esp + 0x48]
push eax
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x5f769e
push eax
call ebx
jmp 0x5f7701
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
lea eax, [esp + 0x270]
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_QueryFullProcessImageNameW]
test eax, eax
lea eax, [esp + 0x26c]
push 0x104
jne 0x5f76d0
lea eax, [esp + 0x68]
push eax
lea eax, [edi - 0x208]
push eax
call fcn.00429389
push 0x28
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.KERNEL32.DLL_K32GetProcessMemoryInfo
neg eax
push ebp
sbb eax, eax
and eax, dword [esp + 0x28]
mov dword [edi], eax
call ebx
inc dword [esp + 0x10]
add edi, 0x20c
lea eax, [edi + 4]
cmp eax, dword [esp + 0x478]
jae 0x5f7720
lea eax, [esp + 0x40]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x5f7674
push esi
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x464
ret 8
Function at 0x5fa1ef
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6b5644
call fcn.00640244
push ecx
push esi
push 0x64
call fcn.0063ffa4
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x5fa21e
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.005f9bdb
mov esi, eax
mov eax, dword [esi + 0x30]
mov ecx, esi
or dword [ebp - 4], 0xffffffff
push dword [eax + 4]
push 0xf
call fcn.0058e90b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6051e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
push dword [esp + 0x14]
mov esi, ecx
mov byte [esp + 0xf], 0
push dword [esp + 0x14]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x60520b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor al, al
jmp 0x60527f
push ebx
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x605220
xor al, al
jmp 0x60527e
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebp, eax
test ebp, ebp
je 0x605272
cmp dword [esp + 0x20], 0
push edi
push dword [esi + 0x24]
jne 0x605247
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x60526d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jl 0x605272
push ecx
push ebp
push dword [esp + 0x28]
call fcn.00658b30
add esp, 0xc
mov byte [esp + 0x13], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov al, byte [esp + 0x13]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 0x10

Function at 0x60560a
Capabilities:
Hide graphical window

Disassembly:
push 0x6b0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x6056a3
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov eax, dword [edx + 8]
cmp eax, 0x6b0
je 0x605719
cmp eax, 0x6b1
je 0x6056d0
cmp eax, 0x6b3
je 0x6056d0
mov ecx, 0x748
cmp eax, ecx
je 0x6056f4
jbe 0x60573c
cmp eax, 0x74b
ja 0x60573c
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x60573c
cmp dword [ecx + 8], 0x701
jne 0x60573c
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
mov dword [esi + 0x5c], eax
jmp 0x60573c
mov eax, dword [edx + 0xc]
test eax, eax
je 0x60573c
cmp dword [eax + 8], 0xfffffffe
jne 0x60573c
push 5
xor ecx, ecx
add eax, 0x7c
push ecx
push ecx
push eax
push 0x6c15d4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x60573c
mov eax, dword [edx + 0xc]
test eax, eax
je 0x60573c
cmp dword [eax + 8], 0xfffffffe
jne 0x60573c
xor ecx, ecx
mov dword [esi + 0x54], 2
push ecx
push ecx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret 4
Function at 0x607b29
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b60fe
call fcn.00640244
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x607c66
mov eax, 0x76c
cmp esi, 2
jbe 0x607b5d
cmp esi, eax
jne 0x607c66
xor ebx, ebx
inc ebx
cmp esi, eax
jne 0x607c0f
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x24], cl
mov eax, dword [edi + 0x7c]
mov byte [ebp - 4], bl
sub eax, ecx
je 0x607b96
sub eax, ebx
jne 0x607baf
push str.lrecBadAd
call fcn.0040f10e
pop ecx
push eax
push str.lrecBadAd
jmp 0x607ba7
push str.ftBadAd
call fcn.0040f10e
pop ecx
push eax
push str.ftBadAd
lea ecx, [ebp - 0x24]
call fcn.0040ee87
push str.BAdSendBtn
lea ecx, [ebp - 0x3c]
call fcn.0040eeff
push 0
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004965b6
push 0
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0040f52f
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x14
call fcn.00488d2d
push 0
push ebx
lea ecx, [ebp - 0x54]
call fcn.0040f52f
push 0
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0040f52f
xor ecx, ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0
push 0
call fcn.0060804f
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x607c2f
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 8], eax
call fcn.00428460
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [edi + 0x80]
call fcn.00438cfb
lea eax, [edi + 0x80]
cmp dword [eax + 0x14], 8
jb 0x607c56
mov eax, dword [eax]
push eax
push esi
push dword [edi + 0x34]
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x607c75
xor ebx, ebx
mov ecx, edi
inc ebx
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00607619
push 0
push ebx
lea ecx, [ebp + 0x10]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x608291
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b6175
call fcn.00640244
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0058e7a8
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x40]
mov dword [esi], 0x730ec8
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], ebx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x6082dd
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push dword [ebp + 0x18]
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 1
call fcn.0040eeff
push dword [ebp + 0x10]
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
call fcn.00429973
lea eax, [esi + 0xbc]
mov dword [esi + 0xb8], ebx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
jb 0x60831e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, esi
or dword [esi + 0x10], 0x84
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 4
mov dword [esi + 0xd4], eax
mov byte [esi + 0xd8], bl
call fcn.0058e90b
push 0x200
push ebx
push dword [esi + 4]
call fcn.0058e8c6
push dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
call fcn.0040eeff
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.005a8d4d
push 0
push 1
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.0040f52f
test bl, bl
je 0x608387
mov byte [esi + 0xd8], 1
cmp byte [ebp + 0x20], 0
je 0x60839a
cmp byte [esi + 0xd8], 0
jne 0x60839a
push 5
jmp 0x60839c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x61453d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, ecx
cmp dword [edi], 5
je 0x61455b
push eax
call fcn.00607378
jmp 0x614651
lea ebx, [edi + 0x1c]
push 0x716488
mov ecx, ebx
call fcn.00438eb2
test eax, eax
jne 0x614599
cmp dword [edi + 0x58], eax
je 0x614599
sub esp, 0x18
mov byte [0x7e146c], 1
lea eax, [edi + 0x48]
mov ecx, esp
push eax
call fcn.00427b8e
push dword [esi + 4]
mov ecx, esi
push 2
call fcn.00614685
jmp 0x614651
push str.cmpRequired
mov ecx, ebx
call fcn.00438eb2
test eax, eax
jne 0x6145d9
cmp byte [esi + 0x7c], al
jne 0x6145d9
movzx eax, byte [esi + 0x74]
push eax
push dword [esi + 4]
push dword [esi + 0x78]
call fcn.0060804f
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x7bdc9c]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x614651
push str.cmpClosed
mov ecx, ebx
call fcn.00438eb2
test eax, eax
jne 0x614651
xor ebx, ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push ebx
push ebx
call fcn.0060804f
add edi, 0x48
mov byte [esi + 0x7c], bl
mov byte [0x7e146c], 1
cmp dword [edi + 0x14], 8
jb 0x614613
mov edi, dword [edi]
push edi
call fcn.00428460
pop ecx
push eax
push edi
mov ecx, 0x7e1470
call fcn.00438cfb
mov al, 1
mov ecx, 0x7e1488
xchg byte [ecx], al
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x78], ebx
je 0x614646
push ebx
push ebx
push 0x80ed
push dword [esi + 0x78]
call edi
push ebx
push 1
push dword [esi + 0x34]
push dword [esi + 0x78]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x615a3d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, 0x7e8024
push dword [ebp + 8]
mov dword [0x7e8020], eax
call fcn.005b3097
mov al, byte [ebp + 0x10]
mov byte [0x7e8030], al
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push 0x7e8020
push 0x6160f4
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x7e800c], eax
pop ebp
ret 0xc

Function at 0x616b42
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [eax + 4], 0x784
jne 0x616b77
push 5
xor ecx, ecx
add eax, 0x7c
push ecx
push ecx
push eax
push 0x6c15d4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
pop ecx
cmp eax, 0x20
jg 0x616b74
cmp dword [esi + 0x34], ecx
je 0x616b74
xor ecx, ecx
inc ecx
mov dword [esi + 0x34], ecx
pop esi
ret 4

Function at 0x617389
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
push 0x254
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
push eax
push dword [esi + 0x58]
push dword [esi + 0x54]
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret
Function at 0x61d3e4
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6baa5c
call fcn.00640244
sub esp, 0x84
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1c], 0
je 0x61d532
lea edi, [esi + 0x24]
cmp dword [edi + 0x10], 0
je 0x61d532
push ebx
lea ebx, [esi + 0xc]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00427b8e
and dword [ebp - 4], 0
push 0x6c1910
call fcn.00428460
pop ecx
push eax
push 0x6c1910
lea ecx, [ebp - 0x3c]
call fcn.004282ce
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x3c]
call fcn.0042823e
and dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 1
cmp dword [esi + 0x4c], eax
je 0x61d495
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042835e
mov edi, 0x6c0ca0
push edi
call fcn.00428460
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004282ce
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042823e
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
pop edi
push edi
push 0
push eax
call fcn.0065ab80
or dword [esi + 0x54], 0xffffffff
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x90], edi
jb 0x61d4c5
mov ebx, dword [ebx]
cmp dword [ebp - 0x10], 8
mov ecx, dword [ebp - 0x24]
jae 0x61d4d1
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x61d4dd
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x90]
push edx
push ebx
xor ebx, ebx
push ebx
push 0x4008
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x61d514
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x61d514
mov dword [esi + 0x54], eax
mov esi, dword [esi + 0x54]
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004281f2
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
mov eax, esi
pop ebx
jmp 0x61d535
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret