joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4924d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x170], 0
jne 0x492510
cmp dword [ebp + 8], 0
jne 0x49251f
push 0
push 0
push edi
push 0x492240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x12c
mov dword [edi + 0x170], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x492516
cmp dword [ebp + 8], 0
jne 0x49251f
mov eax, dword [edi + 0x174]
mov dword [ebp + 8], eax
lea esi, [edi + 0x1b0]
mov dword [edi + 0x17c], 2
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], eax
jbe 0x49253f
call fcn.004eaba2
mov ecx, dword [esi]
push ebx
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x492552
call fcn.004eaba2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi]
push edx
push ecx
push ebx
push eax
lea edx, [ebp - 0xc]
push edx
mov ecx, esi
call fcn.0048fe30
mov eax, dword [edi + 0x90]
pop ebx
test eax, eax
je 0x4925a1
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x70]
push ecx
push edx
call eax
test eax, eax
je 0x4925a1
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
pop edi
add eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4925b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x170], 0
jne 0x4925f0
cmp dword [ebp + 8], 0
jne 0x4925ff
push 0
push 0
push edi
push 0x492240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x12c
mov dword [edi + 0x170], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4925f6
cmp dword [ebp + 8], 0
jne 0x4925ff
mov eax, dword [edi + 0x174]
mov dword [ebp + 8], eax
lea esi, [edi + 0x1e0]
mov dword [edi + 0x17c], 3
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], eax
jbe 0x49261f
call fcn.004eaba2
mov ecx, dword [esi]
push ebx
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x492632
call fcn.004eaba2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi]
push edx
push ecx
push ebx
push eax
lea edx, [ebp - 0xc]
push edx
mov ecx, esi
call fcn.0048fe30
mov eax, dword [edi + 0x94]
pop ebx
test eax, eax
je 0x492681
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x70]
push ecx
push edx
call eax
test eax, eax
je 0x492681
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
pop edi
add eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x493980
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5427f0]
mov edx, dword [eax + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, 0x5427f0
call edx
push 0
push 9
mov esi, eax
mov eax, dword [edi + 0x40]
add edi, 0x40
push 0x110a
add esi, 0x10
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4939eb
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, edi
call fcn.00493740
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4939eb
push 5
push 0
push 0x52a4dc
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
test ecx, ecx
jg 0x493a09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x494900
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xfc]
mov dword [esi], vtable.CCleanTreePage.1.0
mov dword [esi + 0x20], vtable.CCleanTreePage.0
test edi, edi
je 0x49492f
mov ecx, edi
call fcn.004908e0
push edi
call fcn.004ea481
add esp, 4
mov eax, dword [esi + 0xec]
test eax, eax
je 0x494942
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov dword [esi + 0x90], 0
lea edi, [esi + 0xa4]
mov ebx, 0xa
mov eax, dword [edi]
push eax
call fcn.004ea481
add esp, 4
add edi, 4
sub ebx, 1
jne 0x494958
mov eax, dword [esi + 0xdc]
xor edi, edi
pop ebx
cmp eax, edi
je 0x49499f
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [esi + 0xe0]
lea edx, [esi + 0xd8]
push edx
push ecx
push eax
call fcn.00493ac0
mov edx, dword [esi + 0xdc]
push edx
call fcn.004ea481
add esp, 0x14
mov eax, dword [esi + 0xd0]
push eax
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
call fcn.004ea481
mov eax, dword [esi + 0x94]
add esp, 4
cmp eax, edi
je 0x4949db
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4949db
mov dword [esi + 0x94], edi
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x4949e8
push eax
call fcn.004e9080
lea ecx, [esi + 0x24]
call fcn.00484da0
mov esi, dword [esi + 0x14]
cmp esi, edi
je 0x4949fd
push esi
call fcn.004e9080
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x494b70
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2bc], ecx
test eax, eax
je 0x494d85
push 0x2e
push ecx
call fcn.004ea650
add esp, 8
mov dword [ebp - 0x2cc], eax
test eax, eax
je 0x494d85
add ebx, 0xd0
push edi
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
jbe 0x494bd3
call fcn.004eaba2
push esi
mov esi, dword [ebx]
jmp 0x494be0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2d0], eax
cmp dword [ebx + 0xc], eax
jbe 0x494bf3
call fcn.004eaba2
mov eax, dword [ebx]
test esi, esi
je 0x494bfd
cmp esi, eax
je 0x494c02
call fcn.004eaba2
cmp edi, dword [ebp - 0x2d0]
je 0x494ca6
test esi, esi
jne 0x494c53
call fcn.004eaba2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x494c23
call fcn.004eaba2
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [edi]
push ecx
push eax
call fcn.004eb4e2
add esp, 8
test eax, eax
je 0x494c5b
test esi, esi
jne 0x494c57
call fcn.004eaba2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x494c4e
call fcn.004eaba2
add edi, 8
jmp 0x494be0
mov eax, dword [esi]
jmp 0x494c19
mov eax, dword [esi]
jmp 0x494c44
test esi, esi
jne 0x494c9e
call fcn.004eaba2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x494c70
call fcn.004eaba2
test esi, esi
jne 0x494ca2
call fcn.004eaba2
cmp edi, dword [esi + 0x10]
jb 0x494c83
call fcn.004eaba2
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x2c8]
push 0
push 0
push 0
push eax
push eax
push 0
push 0x22
push edx
jmp 0x494d75
mov eax, dword [esi]
jmp 0x494c66
mov esi, dword [esi]
jmp 0x494c79
push 0x2b4
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.004eb2d0
mov edx, dword [ebp - 0x2bc]
add esp, 0xc
push 0x111
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x494d83
mov esi, dword [ebp - 0x2cc]
push 0x512230
push esi
call fcn.004eb4e2
add esp, 8
test eax, eax
je 0x494d5c
mov eax, dword [0x5427f0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5427f0
call edx
add eax, 0x10
push esi
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], eax
call fcn.0046f430
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2c0]
push ecx
mov ecx, ebx
mov dword [ebp - 0x2bc], eax
call fcn.00494af0
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2c8]
push 0
push 0
push 0
push eax
push eax
push 0
push 0x22
push ecx
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x40
call fcn.004928f0
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 8
Function at 0x4967b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov byte [ecx + 0x31], al
mov dword [ecx + 0x100], eax
add ecx, 0x104
pop ebp
jmp fcn.004966f0

Function at 0x4978b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0
lea esi, [edi + 4]
push 0x14e
mov ecx, esi
call fcn.004610f0
mov ecx, dword [esi]
lea eax, [ebp - 0x214]
push eax
push ecx
mov dword [ebp - 0x214], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutGetRootElement]
mov eax, dword [ebp - 0x214]
mov esi, dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push eax
mov ebx, eax
call esi
neg eax
sbb eax, eax
not eax
lea edx, [ebp - 0x214]
and eax, ebx
push str.body
push edx
mov dword [ebp - 0x214], eax
call fcn.00462720
add esp, 8
mov ebx, eax
push ebx
call esi
mov esi, eax
neg esi
sbb esi, esi
push 0x5104a0
not esi
and esi, ebx
mov ebx, dword [sym.imp.htmlayout.dll_HTMLayoutSetStyleAttribute]
push str.margin
push esi
call ebx
push 0x5104a0
push str.padding
push esi
call ebx
push 0x50e758
push str.overflow_x
push esi
call ebx
push 0x50e758
push str.overflow_y
push esi
call ebx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x210]
push 0x5c
push ecx
call fcn.004ea650
xor edx, edx
mov word [eax + 2], dx
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push str.Downloader.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x4c], eax
test eax, eax
je 0x4979d8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartDownloader
push eax
call ebx
mov ecx, dword [edi + 0x4c]
push str.StopDownloader
push ecx
mov dword [edi + 0x50], eax
call ebx
mov dword [edi + 0x54], eax
push 0
lea edx, [ebp - 0x21c]
push edx
push 0x460680
push str.setuping_main_list
push 0x52d52c
push 0
push esi
mov dword [ebp - 0x21c], 0x50df1c
mov dword [ebp - 0x218], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [edi + 0x44]
mov ebx, dword [ebp - 0x218]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x497a2b
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push ebx
mov dword [edi + 0x44], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [edi + 0x44], eax
test esi, esi
je 0x497a4f
push esi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov eax, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
test eax, eax
je 0x497a63
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
Function at 0x49b5f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x814]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0xc9], bl
mov byte [esi + 0xc8], bl
mov byte [esi + 0xca], bl
mov byte [esi + 0xcb], bl
call fcn.004907b0
lea ecx, [ebp - 0x814]
call fcn.0048d270
push ebx
lea ecx, [ebp - 0x814]
call fcn.00492690
mov dword [esi + 0x28], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.004ea4e0
sub esp, 0x14
mov ecx, esp
push 0xffffffffffffffff
mov byte [eax], bl
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x54182c
mov word [ecx + 4], dx
call fcn.00402df0
lea eax, [ebp - 0x830]
push eax
call fcn.004be920
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x49b6b4
mov eax, dword [eax + 4]
jmp 0x49b6b7
add eax, 4
mov ecx, dword [0x5418fc]
mov edx, dword [esi + 4]
push eax
push ecx
push 1
push edx
lea eax, [ebp - 0x20c]
push eax
push str._sSoftManager.exe__d__d__d___s_
lea ecx, [ebp - 0x414]
push 0x208
push ecx
call fcn.004ea58a
add esp, 0x20
cmp dword [ebp - 0x818], 0x10
jb 0x49b6fd
mov edx, dword [ebp - 0x82c]
push edx
call fcn.004ea481
add esp, 4
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._sSRPFT.exe__notitle__d
lea edx, [ebp - 0x61c]
push 0x208
push edx
call fcn.004ea58a
add esp, 0x14
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x38]
call fcn.004bd780
test al, al
jne 0x49b745
mov byte [esi + 0xc9], 1
mov byte [esi + 0xc8], 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x61c]
push ecx
lea ecx, [esi + 0x7c]
call fcn.004bd780
test al, al
jne 0x49b769
mov byte [esi + 0xc9], 1
mov byte [esi + 0xc8], 1
mov ecx, esi
call fcn.0049b3f0
push ebx
push ebx
push esi
push 0x49b550
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x814]
call fcn.004908e0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49bf10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x49bfe6
push edi
lea edi, [esi + 0x24]
push 0
mov ecx, edi
call fcn.004bd4f0
test al, al
jne 0x49bfc8
mov eax, dword [esi + 4]
push 0
push eax
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x20c]
push 0x5c
push edx
call fcn.004ea4e0
mov byte [eax], 0
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._sSrHw.exe__d
mov edx, ecx
push 0x208
push edx
call fcn.004ea58a
add esp, 0x1c
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004bd780
test al, al
je 0x49bfc8
mov ecx, dword [esi + 4]
push 0
push 0x1388
push 0
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4
Function at 0x49cb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x80
push esi
mov esi, ecx
jne 0x49cc93
mov eax, dword [eax + 4]
push edi
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004bcaf0
mov eax, dword [ebp - 0x1c]
mov edi, 8
add esp, 8
cmp dword [ebp - 8], edi
jae 0x49cb43
lea eax, [ebp - 0x1c]
push eax
push str.HYPERLINK_CLICK:__S_n
call fcn.004d9d00
mov eax, dword [ebp - 0x1c]
add esp, 8
cmp dword [ebp - 8], edi
jae 0x49cb5c
lea eax, [ebp - 0x1c]
mov ecx, str.check_mobile
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49cb87
test dx, dx
je 0x49cb83
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49cb87
add eax, 4
add ecx, 4
test dx, dx
jne 0x49cb61
xor eax, eax
jmp 0x49cb8c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49cb9c
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x49cb9c
call fcn.004b8cb0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x49cba7
lea eax, [ebp - 0x1c]
mov ecx, str.benchmark
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49cbd6
test dx, dx
je 0x49cbd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49cbd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x49cbb0
xor eax, eax
jmp 0x49cbdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49cc36
mov eax, dword [esi + 0x44]
test eax, eax
je 0x49cc1e
cmp dword [eax + 0x90], 0
je 0x49cc1e
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49cc1e
push 0
push str.software:__ExecCMDandroidsoftopen_softname
call fcn.004ec40a
add esp, 4
push eax
mov eax, dword [esi + 0x40]
push 0x107f
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x49cc36
push 5
push 0
push 0
push str.http:__www.antutu.net_soft_systembenchmark.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x49cc41
lea eax, [ebp - 0x1c]
mov ecx, str.show_mobile
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49cc6c
test dx, dx
je 0x49cc68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49cc6c
add eax, 4
add ecx, 4
test dx, dx
jne 0x49cc46
xor eax, eax
jmp 0x49cc71
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49cc81
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x49cc81
call fcn.004b8e70
cmp dword [ebp - 8], edi
pop edi
jb 0x49cc93
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 8
Function at 0x49e8e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, ecx
cmp dword [edi + 0x88], 0
jne 0x49e9a0
mov ecx, dword [edi + 0x3c]
push ebx
push esi
push 0
lea eax, [ebp - 8]
push eax
push 0x460680
push str.soft_about_main
push 0x52d52c
push 0
push ecx
mov dword [ebp - 8], 0x50df1c
mov dword [ebp - 4], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 4]
push eax
mov ebx, eax
mov dword [ebp - 8], vtable.htmlayout::dom::callback.0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, ebx
je 0x49e979
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x7c]
push ecx
push esi
call dword [sym.imp.htmlayout.dll_HTMLayoutGetScrollInfo]
mov ebx, dword [sym.imp.htmlayout.dll_HTMLayoutSetStyleAttribute]
push 0x50e758
push str.overflow_y
push esi
call ebx
push str.auto
push str.overflow_y
push esi
call ebx
push 0
push 0
push edi
push 0x49d9e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x88], eax
test esi, esi
je 0x49e99e
push esi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4a09c0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a0ac0
mov edx, dword [0x5427f0]
mov eax, dword [edx + 0xc]
push ebx
push esi
mov ecx, 0x5427f0
call eax
mov ecx, dword [edi + 4]
mov esi, eax
add esi, 0x10
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov eax, dword [esi - 8]
inc ebx
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ebx
or edx, eax
jge 0x4a0a29
push ebx
lea ecx, [ebp - 4]
call fcn.00462660
mov esi, dword [ebp - 4]
mov ecx, dword [edi + 4]
push ebx
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004eb0bf
add esp, 8
test eax, eax
jl 0x4a0ad3
cmp eax, dword [esi - 8]
jg 0x4a0ad3
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x28]
push edx
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov cx, word [edi + 0x30]
push 0x4e
push eax
mov dword [ebp - 0x20], 0xfffffa1f
mov word [ebp - 0x14], cx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0abe
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
pop esi
pop ebx
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0045f890
int3
Function at 0x4a0f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4a0f7f
mov eax, dword [esi + 4]
push 0
push 0
push 0x1008
push eax
call ebx
cmp eax, edi
je 0x4a109a
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x4a109a
push 0
push 0
push 0x1008
push edi
call ebx
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x4a0fc1
mov ecx, dword [esi + 4]
push 0
push 0
push 0x1008
push ecx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp + 8], eax
call edi
test eax, eax
je 0x4a108e
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1001
push ecx
call ebx
mov edi, eax
neg edi
sbb edi, edi
add edi, 1
jne 0x4a1003
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2c]
test eax, 0x400
je 0x4a1021
xor edx, edx
xor ecx, ecx
mov word [ebp - 8], dx
mov word [ebp - 6], cx
mov word [ebp - 4], dx
mov word [ebp - 2], cx
test eax, 0x800
je 0x4a103e
xor edx, edx
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x10], dx
mov word [ebp - 0xe], ax
mov word [ebp - 0xa], cx
mov word [ebp - 0xc], dx
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x24], ecx
mov cx, word [esi + 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffa1f
mov dword [ebp - 0x20], edx
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 0x5131a0
test edi, edi
jne 0x4a107b
mov dword [ebp - 0x18], 0x51319c
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
push 0x4e
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4