joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492187
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x24], 7
xor eax, eax
mov dword [esp + 0x20], ebx
push edi
mov edi, dword [0x52f800]
mov word [esp + 0x14], ax
push 1
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x8c], ebx
lea esi, [edi + 0x130]
mov dword [esp + 0x14], 0x26
push eax
mov ecx, esi
call fcn.0042207e
test eax, eax
jle 0x4921ee
push eax
jmp 0x4921f8
lea eax, [esp + 0x14]
cmp eax, esi
je 0x492203
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.0041ef03
xor eax, eax
mov dword [esp + 0x40], 7
mov esi, 0x4f1060
mov dword [esp + 0x3c], ebx
push esi
mov word [esp + 0x30], ax
call fcn.00438238
pop ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0041fba8
mov byte [esp + 0x84], 1
call fcn.0041e77e
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax]
call fcn.00424808
push eax
mov byte [esp + 0x88], 2
call fcn.0041e77e
mov ecx, dword [eax + 0x18]
add ecx, 0x18
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.0041f6b8
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.0041f6b8
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov dword [esp + 0x74], ebx
sub esp, 0x18
mov byte [esp + 0x9c], 3
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.0041ee74
sub esp, 0x18
mov byte [esp + 0xb4], 4
mov ecx, esp
push 0x4f1058
call fcn.0041eeaf
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0xb8], 3
call fcn.004710d3
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
mov eax, dword [eax + 0x18]
add eax, 0x18
push eax
call fcn.0041ee74
sub esp, 0x18
mov byte [esp + 0xb4], 5
mov ecx, esp
push 0x5270f0
call fcn.0041ee74
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0xb8], 3
call fcn.004710d3
sub esp, 0x18
lea ecx, [esp + 0x74]
push esp
call fcn.004710b7
push dword [ebp + 8]
push dword [edi + 4]
call fcn.004956d3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], bl
call fcn.00470ff8
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.0041f6b8
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x492a5c
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x80000
test ecx, eax
jne 0x492a9d
xor eax, ecx
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop edi
ret 0x10

Function at 0x492aaf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
push 0
push dword [ecx + 4]
mov dword [edx], 1
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop ebp
ret 0x10

Function at 0x492bf0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4a6ae7
call fcn.0049e6bc
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [0x51b92c], 0x437f0000
cmp dword [ebp + 0x18], edi
je 0x492c25
lea ecx, [esi + 0x28]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x492c25
push 0xffffffffffffffff
push edi
push eax
call fcn.0041ef03
push edi
push dword [esi + 0x40]
push 0x473
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4013
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push 1
lea ecx, [ebp + 8]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x494921
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx + 0x60], 0xffffffff
je 0x49499a
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebp + 8]
add eax, 4
push esi
push edi
push 2
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x60]
push 0
add eax, 3
push str.Shell_TrayWnd
mov dword [ecx + 0x1c], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call edi
push 2
push dword [ebx + 4]
mov esi, eax
call edi
cmp esi, eax
jne 0x494998
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
call edi
push 7
mov esi, eax
call edi
add esi, eax
push 0x11
mov dword [ebx + 8], esi
call edi
push 4
mov esi, eax
call edi
add esi, eax
mov dword [ebx + 0xc], esi
pop edi
pop esi
xor eax, eax
inc eax
pop ebx
pop ebp
ret 4
Function at 0x494d7f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, 0x512
mov esi, ecx
cmp eax, edi
jne 0x494d9d
mov eax, dword [esi]
call dword [eax + 0x30]
push edi
jmp 0x494e4b
cmp eax, 0x4fc
jne 0x494e15
cmp dword [esi + 0x3c], 5
je 0x494e54
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x494dfe
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x494dfe
push 0
push 0xf120
push 0x112
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x494e54
push 0
push 0xf020
push 0x112
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x494e54
cmp eax, 0x50a
jne 0x494e41
mov eax, dword [esi]
mov edi, dword [esi + 0x124]
mov byte [esi + 0x6d], 1
call dword [eax + 0x3c]
test al, al
jne 0x494e37
mov word [esi + 0x6c], 0
jmp 0x494e54
push edi
mov ecx, esi
call fcn.004952ac
jmp 0x494e54
mov ecx, 0x503
cmp eax, ecx
jne 0x494e54
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x495028
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
je 0x49504e
push 5
push dword [edi + 4]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
jmp 0x49505f
push 0
push dword [edi + 4]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [edi + 4]
call esi
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 0x10
Function at 0x496c72
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4a6e1d
call fcn.0049e6bc
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
sub ecx, edx
sar ecx, 2
mov dword [ebp - 0x10], esi
test ecx, ecx
jle 0x496cad
mov edi, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x94], edi
je 0x496cc3
inc esi
add edx, 4
mov dword [ebp - 0x10], esi
cmp esi, ecx
jl 0x496c98
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0041a943
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x496cdf
push 0x80004005
call fcn.0041a36c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
mov eax, dword [ebx]
mov eax, dword [eax + esi*4]
push dword [eax + 0x94]
lea eax, [ebp + 8]
push str._ndelete:_d_n
push eax
call fcn.00425bef
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx]
push 0
push 0
push 0x10
lea esi, [eax + esi*4]
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x94]
cmp eax, dword [ebx + 0x14]
jne 0x496d55
test ecx, ecx
jne 0x496d48
mov eax, dword [edx + 4]
jmp 0x496d4c
mov eax, dword [edx + ecx*4 - 4]
mov eax, dword [eax + 0x94]
mov dword [ebx + 0x14], eax
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.00496929
mov eax, dword [ebx + 4]
lea ecx, [esi + 4]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push esi
call fcn.00436240
add dword [ebx + 4], 0xfffffffc
add esp, 0xc
mov ecx, ebx
call fcn.00496981
mov ecx, ebx
call fcn.00495e76
mov esi, dword [ebx + 0x14]
lea ecx, [edi - 0x10]
call fcn.00421a41
mov eax, esi
jmp 0x496cb0
Function at 0x496d99
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4a6e5b
call fcn.0049e6bc
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 2
or ebx, 0xffffffff
inc dword [edi + 0x18]
mov esi, dword [edi + 4]
sub esi, dword [edi]
sar esi, 2
mov dword [ebp - 0x10], esi
cmp esi, dword [edi + 0x10]
jg 0x496f7f
cmp dword [ebp + 0x10], ebx
jne 0x496e45
push 0x4f8180
push dword [ebp + 0x14]
call fcn.0043890f
test eax, eax
pop ecx
setne al
pop ecx
test al, al
je 0x496f7f
push 0x124
call fcn.004387c2
mov ebx, eax
pop ecx
mov dword [ebp + 0x10], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x496e9f
push 0
push ecx
mov ecx, dword [ebp + 0x14]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x14], esp
call fcn.00423ef9
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00423ef9
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.004980a0
jmp 0x496e98
push 0x4f8184
push dword [ebp + 0x14]
call fcn.0043890f
test eax, eax
pop ecx
sete al
pop ecx
test al, al
je 0x496f7f
push 0x124
call fcn.004387c2
mov ebx, eax
pop ecx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 5
test ebx, ebx
je 0x496e9f
push ecx
push ecx
push dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00423ef9
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00498245
mov esi, dword [ebp - 0x10]
mov ebx, eax
jmp 0x496ea1
xor ebx, ebx
push ecx
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [ebp + 0x10], ebx
sub esp, 0x10
mov dword [eax], 0x518
imul eax, esi, 0x96
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x1c], 0x27
mov dword [ebp - 0x28], eax
add eax, 0x96
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, ebx
push dword [edi + 0xc]
call fcn.00432e53
mov eax, dword [edi + 0x18]
push ecx
mov dword [ebx + 0x94], eax
mov esi, esp
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00423ef9
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00497fdb
cmp dword [ebp - 0x10], 0
mov dword [ebx + 0x70], edi
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x6c], eax
jne 0x496f1e
mov byte [ebx + 0x98], 1
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
call fcn.0042508f
mov esi, dword [ebp + 0x10]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00496981
push ecx
push ecx
mov eax, esp
lea ecx, [esi + 0x3c]
sub esp, 0x10
and dword [eax], 0
mov eax, esp
and dword [eax], 0
push dword [esi + 4]
call fcn.00423bac
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00423c44
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, dword [edi + 0x1c]
sar ecx, 2
cmp ecx, eax
cmovg eax, ecx
mov ecx, edi
mov dword [edi + 0x1c], eax
call fcn.00495e76
mov ebx, dword [edi + 0x18]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00421a41
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00421a41
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00421a41
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x497864
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4a6ea9
call fcn.0049e6bc
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x28]
mov edi, eax
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
cmp byte [esi + 0x93], 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
je 0x4978f7
push dword [esi + 0x84]
jmp 0x4978fa
push dword [esi + 0x7c]
call fcn.004218bb
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00497338
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0049713c
push edi
mov ecx, esi
call fcn.00496fb5
mov eax, dword [ebp - 0x28]
xor ecx, ecx
sub eax, dword [ebp - 0x30]
push 0xcc0020
push ecx
push ecx
push edi
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push ecx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [ebp - 0x24]
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x24]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4999ad
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
lea ecx, [esp + 8]
call fcn.004584c0
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [esp + 8]
push 0
push 1
setne bl
call fcn.0041f6b8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4999ee
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a7456
call fcn.0049e6bc
sub esp, 0x58
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004999ad
test al, al
je 0x499a81
push 0x38
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00438560
add esp, 0xc
mov dword [ebp - 0x64], 0x3c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], str.open
call fcn.004584c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], ebx
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x54], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
push 1
lea ecx, [ebp - 0x28]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0041f6b8
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x499aa0
Capabilities:
Create thread

Disassembly:
mov eax, 0x4a7498
call fcn.0049e6bc
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [0x52f800]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
mov dword [ebp - 0x18], 7
push ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
push 0x4fcce8
mov word [ebp - 0x2c], ax
call fcn.0041fba8
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x499ae8
mov ebx, str._speedup__select1__channel100
jmp 0x499afd
test esi, esi
jne 0x499af3
mov ebx, str._clean__select2__channel100
jmp 0x499afd
cmp esi, 2
jne 0x499b10
mov ebx, str._nettest__select4__channel100
push ebx
call fcn.00438238
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041fba8
xor ebx, ebx
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0041ee74
call fcn.004999ee
test al, al
jne 0x499cc5
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4fcc28
call fcn.0041eeaf
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push str.startugfalse
call fcn.0041eeaf
xor cl, cl
mov byte [ebp - 4], bl
call fcn.00421d97
xor eax, eax
mov dword [ebp - 0x30], 7
add esp, 0x30
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp esi, 1
jne 0x499b7f
push 0x61
jmp 0x499b8e
test esi, esi
jne 0x499b87
push 0x62
jmp 0x499b8e
cmp esi, 2
jne 0x499bb3
push 0x63
lea eax, [ebp - 0x5c]
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
push eax
lea ecx, [ebp - 0x44]
call fcn.0041eed4
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0041f6b8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x499ca0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x499ca0
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4fcd4c
call fcn.0041eeaf
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4fcd48
call fcn.0041eeaf
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0041ee74
push ecx
push 1
push 3
push ebx
push ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [0x52f784]
call fcn.00498feb
push eax
push ebx
push 0xa8
xor edx, edx
mov byte [ebp - 4], 2
mov ecx, dword [edi + 4]
inc edx
push 0x138
push ebx
call fcn.00465a3b
add esp, 0x74
cmp eax, 1
jne 0x499cba
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4fcd44
call fcn.0041eeaf
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push str.restartug
call fcn.0041eeaf
xor cl, cl
mov byte [ebp - 4], 2
call fcn.00421d97
mov ecx, dword [0x52f784]
add esp, 0x30
push ebx
push esi
push 0x8e5
call fcn.00498feb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x499cba
push 4
call fcn.004387c2
pop ecx
push ebx
push ebx
push eax
push 0x499ce3
push ebx
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0041f6b8
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49a1b1
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [0x52f800]
lea ecx, [esp + 8]
mov edx, dword [esi + 0x164]
call fcn.0045f380
and dword [esp + 0x2c], 0
lea eax, [esp + 8]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0041ee74
call fcn.0045f11a
mov ecx, esi
mov dword [esi + 0x15c], 3
call fcn.0045f193
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49a23d
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [esp + 0x10]
call fcn.0041f6b8
mov ecx, dword [esp + 0x24]
xor eax, eax
inc eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49a2a6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
mov ebx, dword [0x52f800]
push edi
lea edi, [ebx + 4]
call fcn.0041e77e
movzx edx, word [ebx + 0x3c]
movzx ecx, word [ebx + 0x40]
shl edx, 0x10
or edx, ecx
mov ecx, dword [eax]
push edx
push dword [edi]
push 0x837
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.0041e77e
push 0
push 0
push 0x839
mov ecx, dword [eax]
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
mov ecx, edi
call fcn.004265d9
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
xor eax, eax
pop edi
mov byte [ebx + 0x44], 0
inc eax
mov byte [ebx + 0x168], 1
mov dword [ebx + 0x16c], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49a32d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x52f800]
push 8
call fcn.004387c2
mov edx, dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4998ae
push ecx
mov dword [eax], edx
push ecx
mov dword [esi + 0x13c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop esi
pop ebp
ret 0xc

Function at 0x49a36a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x52f800]
push 8
call fcn.004387c2
mov edx, dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x499805
push ecx
mov dword [eax], edx
push ecx
mov dword [esi + 0x13c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop esi
pop ebp
ret 0xc
Function at 0x49a3a7
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a751b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push esi
mov esi, dword [0x52f800]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
sub esp, 0xc
call fcn.0041e77e
mov ecx, 0x15e
mov eax, dword [eax + 0x38]
lea edx, [ecx + 7]
cmp byte [eax + 0x10], 0
cmovne ecx, edx
push ecx
sub esp, 0x20
lea ecx, [esp + 0x50]
call fcn.00434090
and dword [esp + 0x19c], 0
mov eax, dword [ebp + 0xc]
push ecx
push dword [esi + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x6d], 1
mov dword [esp + 0x194], eax
call fcn.00421fdc
cmp byte [esp + 0x188], 0
je 0x49a44f
call fcn.0041e77e
push dword [ebp + 0x10]
push dword [esp + 0x190]
mov ecx, dword [eax]
push 0x8ea
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x184]
lea ecx, [esp + 8]
call fcn.0045f380
cmp dword [eax + 0x14], 8
jb 0x49a467
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0041f6b8
test esi, esi
je 0x49a4ad
mov edx, dword [esp + 0x184]
lea ecx, [esp + 8]
call fcn.0045f380
cmp dword [eax + 0x14], 8
jb 0x49a499
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [esp + 0x10]
call fcn.0041f6b8
or dword [esp + 0x19c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004341ce
mov ecx, dword [esp + 0x194]
xor eax, eax
inc eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc