joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x473825
test edi, edi
je 0x473825
mov ecx, dword [esi + 0x20]
mov eax, 0x532ae21d
sub ecx, dword [esi + 0x1c]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x473825
imul eax, ebx, 0x314
mov ebx, dword [esi + 0x1c]
mov ebx, dword [eax + ebx]
test byte [ebx + 0x26], 0x10
jne 0x473825
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x18], eax
ja 0x473825
mov esi, dword [esi + 0xc]
mov edx, dword [ebx + 0x2a]
movzx eax, word [edx + esi + 0x1c]
movzx ecx, word [edx + esi + 0x1a]
add eax, edx
add ecx, eax
lea eax, [esi + 0x1e]
add eax, ecx
movzx ecx, word [ebx + 0xa]
mov dword [ebp - 8], eax
test cx, cx
jne 0x47383a
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x47372d
test eax, eax
je 0x4736f9
cmp ecx, esi
jb 0x4736f9
push esi
push eax
push edi
call fcn.0050d1a0
add esp, 0xc
jmp 0x47372d
push ecx
push 0
push edi
call fcn.0050c770
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x473718
call fcn.00510e22
mov dword [eax], 0x16
jmp 0x473728
cmp dword [ebp - 0xc], esi
jae 0x47372d
call fcn.00510e22
mov dword [eax], 0x22
call fcn.00510d49
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x47381e
or eax, 0xffffffff
cmp edx, 8
jb 0x4737f6
mov esi, edx
shr esi, 3
nop dword [eax]
movzx ecx, byte [edi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
movzx ecx, byte [edi + 7]
add edi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
sub esi, 1
jne 0x473750
test edx, edx
je 0x47381a
nop word [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x571638]
sub edx, 1
jne 0x473800
not eax
jmp 0x473820
xor eax, eax
cmp eax, dword [ebx + 0x10]
je 0x473866
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 8
jne 0x473825
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push eax
call fcn.00476500
add esp, 0x14
test eax, eax
je 0x473825
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x10]
jne 0x473825
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004626cb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4738f0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c21f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b327c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58
call fcn.004627fd
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x473947
push 0x58
push 0
push esi
call fcn.0050c770
add esp, 0xc
mov ecx, esi
call fcn.004728d0
mov esi, eax
jmp 0x473949
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x47395b
mov edi, dword [edi]
test edi, edi
je 0x4739f8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4739f8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4739f8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x4739f8
push 0
push 0
push 0
push 2
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [esi + 4], 0
mov dword [esi + 8], eax
je 0x4739f8
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4739f8
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00472d30
test eax, eax
je 0x4739f8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x473a0e
mov ecx, esi
call fcn.004729f0
push 0x58
push esi
call fcn.0046282d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473fa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x47409f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47409f
or eax, 0xffffffff
cmp esi, 8
jb 0x474077
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
sub edi, 1
jne 0x473fd0
pop edi
test esi, esi
je 0x47409a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x572e90]
sub esi, 1
jne 0x474080
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4794b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c40f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5b327c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4795d3
push eax
push dword [esi + 0xac]
call fcn.005177a9
add esp, 8
test eax, eax
jne 0x479519
cmp dword [esi + 0xa8], eax
jne 0x47950f
push dword [esi + 0xac]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x479519
cmp dword [ebp + 0xc], 0
je 0x4795bf
push ebx
lea ecx, [esi + 0xac]
call fcn.004774b0
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x47953f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xa8], 0
mov eax, dword [esi + 0xac]
cmp dword [eax - 0xc], 0
je 0x4795b1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4795b1
push 0x18
call fcn.004627fd
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x479577
mov ecx, eax
call fcn.004797b0
jmp 0x479579
xor eax, eax
push dword [esi + 0xac]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xa8], eax
call fcn.00479d20
test al, al
jne 0x4795b1
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x4795b1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xa8], 0
cmp dword [ebp + 0x10], 0
je 0x4795bf
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040a830
int3
Function at 0x479b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x479ba9
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 4], 0
movzx eax, word [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x479bca
xor esi, esi
jmp 0x479cbd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x479cbd
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x479bfb
xor esi, esi
jmp 0x479cbd
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x479c18
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x479cbd
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x479c38
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x479cbd
push esi
push dword [ebp + 8]
push eax
call fcn.0050d1a0
add esp, 0xc
mov dword [ebp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x479c62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x479ca9
mov edi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x479ca5
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x479cb0
xor esi, esi
jmp 0x479cb0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x479cbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 4], esi
pop edi
test esi, esi
jne 0x479ccd
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x479ce7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x479d0a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.00479b10
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x47e540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 4
mov dword [ebp - 8], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [edi + 4]
xorps xmm0, xmm0
push edi
movups xmmword [ebp - 0x24], xmm0
xor ebx, ebx
mov dword [ebp - 0xc], 0
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47e616
nop dword [eax]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47e616
cmp dword [ebp - 0x20], 0x10
jne 0x47e5da
cmp dword [ebp - 0x24], edi
jne 0x47e5da
mov eax, dword [ebp - 0x1c]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
call fcn.00484fa0
test al, al
jne 0x47e601
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0x12
je 0x47e616
test ebx, ebx
jne 0x47e616
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47e5a0
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
pop edi
pop esi
pop ebx
jne 0x47e638
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x481e60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x481e85
or esi, 1
push 1
call edi
test ax, ax
jns 0x481e91
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x481e9d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x481ea9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x483d00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x17c]
call fcn.00479b00
mov edi, dword [ebp + 8]
test eax, eax
jle 0x483d5b
nop
push esi
lea ecx, [ebx + 0x17c]
mov byte [ebp + 0xb], 0
call fcn.0047ed90
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x483e8c
lea ecx, [ebx + 0x17c]
inc esi
call fcn.00479b00
cmp esi, eax
jl 0x483d20
sub edi, 0x100
je 0x483e21
sub edi, 4
je 0x483dc2
sub edi, 2
jne 0x483e16
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.0051e9a1
mov ecx, dword [ebx + 0x54]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x4852d0
call dword [eax + 0x144]
mov esi, eax
test esi, esi
je 0x483e16
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x134]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x58], 0
je 0x483e16
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x70]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.00481e60
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x483e16
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x483e73
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
call eax
test al, al
je 0x483e73
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 0x114]
call eax
test al, al
je 0x483e73
mov ecx, dword [ebx + 0x58]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.0050ca42
add esp, 8
test eax, eax
je 0x483e73
mov ecx, dword [ebx + 0x58]
call fcn.004950a0
test al, al
jne 0x483e16
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00484a40
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4969a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x496a0d
cmp dword [ebp + 8], 0x100
jne 0x4969fd
cmp word [ebp + 0xc], 0xd
jne 0x4969fd
cmp byte [esi + 0x59a], 0
je 0x4969de
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4969fd
cmp byte [esi + 0x59b], 0
jne 0x4969fd
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4969f6
push 0
push 0
push 0
push str.return
push esi
call fcn.00484360
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x49d6e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55daf8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5b327c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00445de0
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x49d725
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.004109b0
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.0049dfb0
mov eax, dword [esi]
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x49d775
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
push eax
push edi
call fcn.004506d0
test al, al
mov eax, dword [ebp + 8]
je 0x49d777
mov esi, eax
cmp esi, eax
je 0x49d79f
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp dword [edi + 0x14], 8
jb 0x49d78a
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x10]
push str.AddTabWebViewCount__group_id:_s_count:_d
push eax
call fcn.004109b0
add esp, 0x10
jmp 0x49d7c5
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.004109b0
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 0x49d7ef
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 0x49d810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55db28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b327c]
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.00445de0
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x49d859
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.004109b0
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.0049dfb0
mov eax, dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x49d8aa
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.004506d0
test al, al
mov eax, dword [ebp + 8]
je 0x49d8ac
mov esi, eax
cmp esi, eax
je 0x49d96e
mov ecx, dword [esi + 0x28]
mov eax, ebx
dec ecx
mov dword [esi + 0x28], ecx
cmp dword [ebx + 0x14], 8
jb 0x49d8c5
mov eax, dword [ebx]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.DelTabWebViewCount__group_id:_s_count:_d
push eax
call fcn.004109b0
mov edi, dword [ebp - 0x10]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x28], 0
jne 0x49d96e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0049dfb0
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x49d919
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.004506d0
test al, al
mov eax, dword [ebp + 8]
je 0x49d91b
mov esi, eax
cmp esi, eax
je 0x49d96e
cmp dword [ebx + 0x14], 8
jb 0x49d927
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x10]
push str.ReleaseMultiTabWebView__group_id:_s
push eax
call fcn.004109b0
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.0043bdf0
mov esi, eax
lea ecx, [esi + 0x10]
push ecx
push ebx
call fcn.0049d680
push 0x2c
push esi
call fcn.0046282d
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 0x49d98d
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 0x49dc10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55db98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b327c]
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 0x49dcc5
lea eax, [ebp - 0x28]
push eax
call fcn.0049dd00
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae edi, dword [ebp - 0x28]
test edi, edi
je 0x49dcbd
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49dcbd
push edi
call fcn.0046c870
add esp, 4
test eax, eax
je 0x49dcbd
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x49dcbd
push str.GetWebViewFactory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49dc9f
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.00404f80
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.004626cb
mov esp, ebp
pop ebp
ret 4