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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e53eb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 8
push eax
mov dword [ebp - 0xac], 0x40
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x14], eax
mov dword [eax + 0x580], 0
cmp dword [edi + 4], 0
jne 0x46c0bb
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b0a0
mov ecx, dword [edi + 0x14]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.004263d0
push eax
mov ecx, edi
call fcn.004299b0
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.00454040
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.004260d0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0042c0b0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa5], al
call fcn.00404ba0
cmp byte [ebp - 0xa5], 0
je 0x46c103
mov eax, dword [edi + 0x14]
add eax, 0x570
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x14]
add eax, 0x570
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 4
Function at 0x46f1c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
test ecx, ecx
je 0x46f2aa
mov edx, 0x50d77c
lea edi, [esi + 0xc]
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x46f2aa
add ecx, 4
add edx, 4
sub edi, 4
jae 0x46f1e0
mov eax, dword [ebp + 0x10]
cmp eax, 6
je 0x46f290
cmp eax, 0x28
je 0x46f213
mov esi, 0x80040100
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
push 0x20019
push 0
push str.SoftwareLDSGameCenterDebug
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46f276
lea eax, [ebp + 8]
mov dword [ebp + 0x10], esi
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 8], 4
push eax
push 0
push 0
push str.ScriptError
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46f269
cmp dword [ebp + 0x10], 1
mov eax, 0x80040100
cmove esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
js 0x46f2af
mov eax, dword [ebp + 0x1c]
mov ecx, 0xb
pop edi
mov word [eax], cx
or ecx, 0xffffffff
mov word [eax + 8], cx
mov eax, esi
pop esi
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x46f2af
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18
mov esi, 0x80040104
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x471350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e58ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
push 0x39
xor edi, edi
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x234], edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x220], edi
mov word [ebp - 0x230], ax
call fcn.0040a6c0
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], edi
jb 0x4713c0
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.0040a430
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x471455
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b2d00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x471455
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x471466
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4714a2
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471498
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4714c1
push edx
push ecx
call fcn.0041d496
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 8
call fcn.004b6e3e
int3
Function at 0x4723a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e59a0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5211e4]
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 edi, ecx
cmp byte [edi + 0x1c], 0
je 0x4724e7
cmp dword [edi + 0x14], 0
je 0x4724e7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.0041da10
mov esi, esp
test esi, esi
je 0x4724e7
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [eax + 0x828]
lea edx, [ecx + 2]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472430
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a6c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test eax, eax
je 0x472476
mov esi, ecx
cmp word [esi], 0xa
je 0x47250a
add esi, 2
sub eax, 1
jne 0x472464
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x4724c2
push 0
push 0
push 0xb0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
and eax, 0xf
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x4724c2
push ebx
push ebx
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push dword [ebp - 0x44]
call dword [eax + 0x20]
mov ecx, eax
call fcn.00428a50
lea ecx, [ebp - 0x28]
call fcn.00404ca0
xor eax, eax
lea esp, [ebp - 0x54]
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.0041d327
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
je 0x472476
sub esi, ecx
sar esi, 1
cmp esi, 0xffffffff
je 0x472476
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004729c0
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x47253c
mov edx, dword [edx]
mov ecx, dword [edi + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00404ca0
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004729c0
cmp dword [eax + 0x14], 8
jb 0x47256b
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.00404ca0
jmp 0x4724c2
Function at 0x472f50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0x17
jne 0x472f7d
movzx eax, word [esi + 0x55c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x472fcc
mov eax, dword [esi]
call dword [eax + 0x3c]
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47302d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x568], xmm0
mov eax, dword [edi + 0xc]
mov dword [esi + 0x560], eax
mov eax, dword [edi + 0x10]
pop edi
mov dword [esi + 0x564], eax
mov byte [esi + 0x578], 1
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x472fed
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x578], 0
test ecx, ecx
je 0x47302d
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x473027
cmp dword [esi + 0x558], 0
je 0x47302d
cmp byte [esi + 0x578], 0
je 0x47302d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47302d
mov ecx, dword [esi + 0x558]
lea eax, [edi + 0xc]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
pop ebp
ret 4
push edi
call fcn.0042d4e0
pop edi
pop esi
pop ebp
ret 4

Function at 0x473040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0xd
jne 0x47308f
mov eax, dword [esi]
push ebx
call dword [eax + 0x3c]
push dword [edi + 0x10]
mov ebx, eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x473088
mov eax, dword [edi + 0xc]
sub eax, dword [ebx]
mov dword [esi + 0x55c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov dword [esi + 0x560], eax
mov byte [esi + 0x564], 1
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x4730b0
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x564], 0
test ecx, ecx
je 0x473089
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x4730e2
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4730e2
mov ecx, dword [esi + 0x558]
test ecx, ecx
je 0x473089
cmp byte [esi + 0x564], 0
je 0x473089
mov edx, dword [ecx]
lea eax, [edi + 0xc]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [edx]
push edi
mov ecx, esi
call fcn.0042d4e0
pop edi
pop esi
pop ebp
ret 4
Function at 0x478480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004b2d00
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4785c1
cmp eax, 0x104
ja 0x4785c1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2d00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4fb3d4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x478572
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478550
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.0040a6c0
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00404ca0
jmp 0x4785e6
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret
Function at 0x4787f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5f48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5211e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x20], 0
jne 0x478837
xor eax, eax
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 dword [esi + 0x18], 1
jbe 0x478873
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x479020
push 0
push 0
call fcn.004c6894
xor ecx, ecx
mov dword [esi + 0x10], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x44]
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x1c], edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
push 0
push dword [eax + 4]
push edi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
push ebx
cmovne esi, eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x4c]
call fcn.0042dec0
mov ecx, esi
call fcn.00478c80
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c870
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e60e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5211e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.0040e630
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x47c8b5
mov eax, dword [edi]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
push str.AddTabWebViewCount__group_id:_s_total_size:_d
push eax
call fcn.0040e880
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 8
lea eax, [ebp - 0x14]
push edi
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0047d140
mov eax, dword [esi]
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x47c905
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
push eax
push edi
call fcn.0041f3b0
test al, al
mov eax, dword [ebp + 8]
je 0x47c907
mov esi, eax
cmp esi, eax
je 0x47c92f
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp dword [edi + 0x14], 8
jb 0x47c91a
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x10]
push str.AddTabWebViewCount__group_id:_s_count:_d
push eax
call fcn.0040e880
add esp, 0x10
jmp 0x47c955
movups xmm0, xmmword [edi]
sub esp, 0x18
mov eax, esp
push str.AddTabWebViewCount__group_id:_s_Not_Found
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x10]
push eax
call fcn.0040e880
add esp, 0x20
mov esi, dword [ebp - 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47c97f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47c9a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6118
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5211e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
call fcn.0040e630
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x47c9e9
mov eax, dword [ebx]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
push str.DelTabWebViewCount__group_id:_s_total_size:_d
push eax
call fcn.0040e880
mov edi, dword [ebp - 0x10]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 8
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.0047d140
mov eax, dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x47ca3a
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0041f3b0
test al, al
mov eax, dword [ebp + 8]
je 0x47ca3c
mov esi, eax
cmp esi, eax
je 0x47cafe
mov ecx, dword [esi + 0x28]
mov eax, ebx
dec ecx
mov dword [esi + 0x28], ecx
cmp dword [ebx + 0x14], 8
jb 0x47ca55
mov eax, dword [ebx]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.DelTabWebViewCount__group_id:_s_count:_d
push eax
call fcn.0040e880
mov edi, dword [ebp - 0x10]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x28], 0
jne 0x47cafe
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0047d140
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x47caa9
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0041f3b0
test al, al
mov eax, dword [ebp + 8]
je 0x47caab
mov esi, eax
cmp esi, eax
je 0x47cafe
cmp dword [ebx + 0x14], 8
jb 0x47cab7
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x10]
push str.ReleaseMultiTabWebView__group_id:_s
push eax
call fcn.0040e880
mov edi, dword [ebp - 0x10]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
push esi
call fcn.00471700
mov esi, eax
lea ecx, [esi + 0x10]
push ecx
push ebx
call fcn.0047c810
push 0x2c
push esi
call fcn.0041d496
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47cb1d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47cda0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6188
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5211e4]
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, ecx
cmp dword [esi + 0x10], 0
mov ebx, dword [ebp + 8]
jne 0x47ce55
lea eax, [ebp - 0x28]
push eax
call fcn.0047ce90
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae edi, dword [ebp - 0x28]
test edi, edi
je 0x47ce4d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ce4d
push edi
call fcn.00419ad0
add esp, 4
test eax, eax
je 0x47ce4d
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x47ce4d
push str.GetWebViewFactory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ce2f
call eax
mov dword [esi + 0x10], eax
push str.IWebViewToIWebViewEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsSupportedWebViewEngine
push edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea ecx, [ebp - 0x28]
call fcn.00404ca0
movq xmm0, qword [esi + 0x10]
mov eax, ebx
movq qword [ebx], xmm0
mov ecx, dword [esi + 0x18]
mov dword [ebx + 8], ecx
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.0041d327
mov esp, ebp
pop ebp
ret 4
Function at 0x47ce90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
mov dword [ebp - 0x418], edi
call fcn.004b2d00
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b2d00
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
add esp, 0xc
push str.WebView.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x47cf90
push str.UtilsWebView.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x47cf90
push str.LdsWebView.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x47cf90
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsWebView.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
xor eax, eax
mov dword [edi + 0x10], 0
lea esi, [ebp - 0x20c]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47cfb0
sub esi, ecx
mov ecx, dword [edi + 0x14]
sar esi, 1
mov dword [ebp - 0x418], ecx
cmp esi, ecx
ja 0x47cff6
mov ebx, edi
cmp ecx, 8
jb 0x47cfd5
mov ebx, dword [edi]
mov dword [edi + 0x10], esi
lea eax, [ebp - 0x20c]
add esi, esi
push esi
push eax
push ebx
call fcn.004b3500
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x47d0a4
cmp esi, 0x7ffffffe
ja 0x47d0be
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x47d016
mov ebx, SysReAllocString
jmp 0x47d034
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x47d02c
mov ebx, SysReAllocString
jmp 0x47d034
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, edi
push eax
call fcn.00409f00
mov dword [edi + 0x10], esi
add esi, esi
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x20c]
push esi
mov dword [edi + 0x14], ebx
mov ebx, dword [ebp - 0x41c]
push eax
push ebx
call fcn.004b2f80
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov eax, dword [ebp - 0x418]
cmp eax, 8
jb 0x47d0a2
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x47d098
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d0b9
mov eax, edx
push ecx
push eax
call fcn.0041d496
add esp, 8
mov dword [edi], ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d327
mov esp, ebp
pop ebp
ret 4
call fcn.004b6e3e
call fcn.00409e80
int3