joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df94
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 4
mov eax, 0x47a818
call fcn.0044b114
mov esi, dword [ebp + 0x40c]
push dword [esi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e0d1
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00449bc0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [esi + 0xc0]
lea eax, [ebp]
push 0x200
push eax
push 0
push str.items
push str.Products
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.0044aa75
pop ecx
test eax, eax
jbe 0x41e0d1
cmp dword [ebp - 0x10], 2
je 0x41e0d1
lea eax, [ebp]
push 0x480728
push eax
call fcn.0044d8a7
pop ecx
pop ecx
test eax, eax
je 0x41e0d1
push eax
lea ecx, [ebp - 0x10]
call fcn.0041077d
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00415d0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040bf88
push 0x480728
push 0
call fcn.0044d8a7
pop ecx
pop ecx
test eax, eax
jne 0x41e04c
push 0x400
push eax
lea eax, [ebp]
push eax
call fcn.00449bc0
add esp, 0xc
push dword [esi + 0xc0]
lea eax, [ebp]
push 0x200
push eax
push 0
push str.name
push str.Products
call edi
call ebx
lea eax, [ebp]
push eax
call fcn.0044aa75
pop ecx
lea eax, [ebp]
push eax
lea ecx, [esi + 0xcc]
call fcn.0040e910
xor eax, eax
inc eax
jmp 0x41e0d3
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 + 0x400]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x404
leave
ret 4

Function at 0x41eeeb
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, dword [esp + 8]
je 0x41ef06
push 5
push dword [esi - 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x41ef1c
push 0
push dword [esi - 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x644], 0
je 0x41ef24
push 1
lea ecx, [esi - 0x64]
call fcn.0041ed98
xor eax, eax
inc eax
pop esi
ret 8

Function at 0x4202fd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x42030a
lea esi, [ecx - 0x80]
jmp 0x42030c
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x420340
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x420331
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x420346
cmp dword [ebp + 0xc], 0
jne 0x420340
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x42035e
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x80]
call fcn.0041f764
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x421aac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push 0x4808b4
push eax
call fcn.0044d6ee
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x421adf
or eax, 0xffffffff
jmp 0x421b4a
lea eax, [ebp - 0x45c]
push esi
push eax
call fcn.00402fc0
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0044dc0f
add esp, 0x14
jmp 0x421b2d
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00402ff0
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0044dc0f
add esp, 0x1c
test eax, eax
jne 0x421b06
lea eax, [ebp - 0x45c]
push eax
push ebx
call fcn.00403090
push edi
call fcn.0044d5ac
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00449c3a
leave
ret

Function at 0x421bac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x190], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.IsHideMedalWall
push 0x480914
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push 0x480910
push eax
call fcn.0044c808
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp + 0x190]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00449c3a
add ebp, 0x194
leave
ret
Function at 0x421f0a
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push esi
push 0x208
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x421ffb
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.mobilemgr
lea eax, [ebp - 0x6c]
push eax
call esi
push str.mobileloader.ini
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041077d
push dword [ebp - 0x70]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421ff3
push dword [ebp - 0x70]
push 0
push str.LastShowTime
push 0x480a60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test esi, esi
jbe 0x421ff3
push 0
call fcn.0044dc2c
pop ecx
xor ecx, ecx
cmp edx, ecx
jl 0x421ff3
jg 0x421fd4
cmp eax, esi
jbe 0x421ff3
sub eax, esi
sbb edx, ecx
mov dword [ebp - 0x7c], edx
js 0x421ff3
jg 0x421fe6
cmp eax, 0x4f1a00
jbe 0x421ff3
lea ecx, [ebp - 0x70]
call fcn.0040bf88
xor eax, eax
inc eax
jmp 0x421ffd
lea ecx, [ebp - 0x70]
call fcn.0040bf88
xor eax, eax
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
pop esi
call fcn.00449c3a
add ebp, 0x1a0
leave
ret
Function at 0x422013
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x47ac76
call fcn.0044b114
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
xor ebx, ebx
lea eax, [ebp + 2]
push edi
inc ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422141
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041077d
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040d4f1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x4874bc
push 0x480b68
lea ecx, [ebp - 0x10]
call fcn.0041a5c0
push str..exe
lea ecx, [ebp - 0x14]
call fcn.0041077d
mov esi, dword [ebp - 0x14]
push edi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040bf56
cmp eax, edi
jle 0x422131
mov ecx, dword [esi - 8]
add ecx, eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f6b8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040e8c0
lea ecx, [ebp - 0x1c]
call fcn.0040bf88
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422131
push edi
push edi
push ebx
push dword [ebp - 0x10]
call fcn.004103c2
test eax, eax
je 0x422131
lea ecx, [ebp - 0x14]
call fcn.0040bf88
lea ecx, [ebp - 0x10]
call fcn.0040bf88
xor eax, eax
jmp 0x422143
lea ecx, [ebp - 0x14]
call fcn.0040bf88
lea ecx, [ebp - 0x10]
call fcn.0040bf88
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x20c
leave
ret

Function at 0x428e2f
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x428e3c
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x428e38
lea ecx, [esi + 8]
push ecx
push 0
push dword [esi + 0x1c]
push eax
push 0
push 0
call fcn.0044e469
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 4], eax
pop esi
mov eax, ecx
ret

Function at 0x428f9e
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x428fbd
test byte [ebp - 4], 7
je 0x428fbd
xor eax, eax
inc eax
leave
ret
call fcn.00428f2b
leave
ret
Function at 0x428fc4
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x429001
cmp word [edi], si
je 0x429001
cmp eax, esi
je 0x429011
cmp word [eax], si
je 0x429011
push esi
push esi
push eax
push edi
push esi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jge 0x429055
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
leave
ret
xor eax, eax
push 0x40e
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.00449bc0
add esp, 0xc
push esi
push esi
push 0x104
lea eax, [ebp - 0x414]
push eax
push edi
push esi
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x429001
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x429003

Function at 0x429463
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x788], eax
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Path
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x429520
push str.360ver.dll
lea eax, [ebp - 0x78]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429520
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004102aa
pop ecx
pop ecx
test eax, eax
je 0x429520
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.004296c4
mov esi, eax
test esi, esi
je 0x42951f
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp + 0x788]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00449c3a
add ebp, 0x78c
leave
ret
Function at 0x429538
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0044b510
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00449bc0
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push 0x48134c
push eax
call fcn.0044d4eb
push esi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.0044e8c9
push esi
lea eax, [ebp - 0x1004]
push 0x481320
push eax
call fcn.0044e8c9
push esi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.0044e8c9
push esi
lea eax, [ebp - 0x1004]
push str.vL
push eax
call fcn.0044e8c9
add esp, 0x48
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0044e8c9
push esi
lea eax, [ebp - 0x1004]
push 0x4812e0
push eax
call fcn.0044e8c9
add esp, 0x18
push 0x14
push edi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x42963c
call fcn.004292e0
test eax, eax
je 0x429625
call fcn.00429463
test eax, eax
je 0x429625
push 5
xor eax, eax
push eax
push eax
push 0x496a40
jmp 0x429630
push 5
xor eax, eax
push eax
push eax
push 0x4968a8
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x429649
push 0
call fcn.0044e831
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449c3a
leave
ret

Function at 0x42b520
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x42b56d
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x42b56f
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x98
leave
ret
Function at 0x42cf5b
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x47bd03
call fcn.0044b114
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [esi + 0x40]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x42cf85
push 3
jmp 0x42cf8c
cmp dword [esi + 0x64], edi
je 0x42cf8f
push 2
pop ebx
jmp 0x42cf97
xor ebx, ebx
cmp dword [esi + 0x68], edi
setne bl
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x40]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push dword [esi + 0xa8]
lea eax, [esi + 0x70]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0042cde4
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
mov ebx, 0x80
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d426
push ebx
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5e6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
jne 0x42d00b
mov eax, dword [esi + 0xc0]
cmp dword [eax - 8], edi
je 0x42d079
cmp dword [esi + 0xc4], edi
jne 0x42d046
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push 0xff
push 1
push edi
push edi
test eax, eax
push 1
lea eax, [ebp - 0x24]
je 0x42d03f
push dword [esi + 0x28]
push eax
push dword [esi + 0x24]
add esi, 0x20
push esi
lea eax, [ebp - 0x10]
push eax
jmp 0x42d06e
push 0xc7c7c7
jmp 0x42d031
sub dword [ebp - 0x24], 3
sub dword [ebp - 0x1c], 3
push 0xff
push 1
push edi
push edi
push 1
push dword [esi + 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x24]
lea eax, [esi + 0x20]
push eax
add esi, 0xc0
push esi
push dword [ebp + 8]
call fcn.004413c9
add esp, 0x2c
lea ecx, [ebp - 0x10]
call fcn.0040bf88
call fcn.0044b1ec
ret 4
Function at 0x42d089
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x47bd2e
call fcn.0044b114
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea edi, [ebx + 0x8c]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0043d841
test al, al
je 0x42d209
push esi
push esi
push 0xf0
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x64], esi
je 0x42d0d5
lea eax, [eax*4 + 2]
jmp 0x42d0e6
cmp dword [ebx + 0x68], esi
je 0x42d0e3
lea eax, [eax*4 + 1]
jmp 0x42d0e6
shl eax, 2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x40]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.0043d85d
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
push dword [ebx + 0xa8]
sub esi, eax
mov eax, esi
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
sar eax, 1
movsd dword es:[edi], dword [esi]
sub dword [ebp - 0x34], eax
add ecx, eax
lea esi, [ebx + 0x8c]
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, ebx
call fcn.0042cde4
mov ecx, esi
call fcn.0043d859
cdq
idiv dword [ebx + 0xa8]
xor esi, esi
push esi
neg eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
push 0x64
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d426
push 0x64
push eax
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5e6
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x24]
lea edi, [ebx + 0x20]
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.00441514
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x1c]
cdq
mov ecx, dword [ebp - 0x3c]
add dword [ebp - 0x2c], ecx
add dword [ebp - 0x30], 3
mov ecx, dword [ebp - 0x30]
push 0xff
push 1
sub eax, edx
push esi
sar eax, 1
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push esi
push esi
push dword [ebx + 0x28]
add eax, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x24]
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp + 8]
call fcn.004413c9
add esp, 0x50
lea ecx, [ebp - 0x10]
call fcn.0040bf88
call fcn.0044b1ec
ret 4
Function at 0x42d211
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x47bd59
call fcn.0044b114
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [0x49501c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp + 8], eax
push 0x64
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0040d426
push 0x64
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0040e5e6
push 1
push edi
push edi
push edi
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0x24]
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
push ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.00441514
add esp, 0x24
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push dword [esi + 0x40]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0xffffff
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x42d2d3
mov dword [ebp - 0x10], 0xc7c7c7
cmp dword [esi + 0x64], edi
je 0x42d2e6
push 1
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0xff
push 1
push dword [esi + 0x30]
lea eax, [ebp - 0x40]
push dword [esi + 0x2c]
push edi
push dword [ebp - 0x10]
push eax
push dword [esi + 0x24]
lea eax, [ebp + 8]
push dword [ebp - 0x14]
push eax
push ebx
call fcn.004413c9
add esp, 0x2c
lea ecx, [ebp + 8]
call fcn.0040bf88
call fcn.0044b1ec
ret 4
Function at 0x42d3fe
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x47bd9f
call fcn.0044b114
mov esi, ecx
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebx, ebx
test eax, eax
jne 0x42d41f
push 3
jmp 0x42d426
cmp dword [esi + 0x64], ebx
je 0x42d429
push 2
pop edi
jmp 0x42d433
xor eax, eax
cmp dword [esi + 0x68], ebx
setne al
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
push dword [esi + 0xa8]
lea eax, [esi + 0x70]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0042cbad
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
mov edi, 0x80
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040d426
push edi
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5e6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x42d4c5
push 0xff
push 1
push ebx
push ebx
push 1
push 0x424242
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x24]
add esi, 0x20
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.004413c9
add esp, 0x2c
lea ecx, [ebp - 0x10]
call fcn.0040bf88
call fcn.0044b1ec
ret 4

Function at 0x42e9b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x42ea14
fld dword [esi + 0x2c]
fsub qword [0x4815b0]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [esi + 0x2c]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x42e9e7
call fcn.0042e7b3
jmp 0x42ea14
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x42ea14
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4