joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x47e934
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x47e92d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x47e92d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x47e926
mov ecx, dword [ebp - 4]
push ecx
call fcn.0053e164
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x47e926
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push ebx
call fcn.005475b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x47e972
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x58c9b0
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47e969
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.0053e31f
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47ef40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x5d1440], 0
jne 0x47ef80
lea eax, [ebp - 4]
push eax
push 0x5d1440
lea ecx, [ebp - 8]
push ecx
push 0x58c9c8
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x207
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [0x5d1648], 0
jne 0x47efa6
push 0x5d1440
push 0x58b6a8
push 0x104
push 0x5d1648
call fcn.00424f10
add esp, 0x10
cmp word [0x5d1850], 0
jne 0x47eff7
mov edx, 0x104
mov eax, 0x5d1850
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x47efeb
movzx ecx, word [eax - 0x410]
test cx, cx
je 0x47efeb
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x47efc0
sub eax, 2
mov word [eax], dx
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x47eff2
sub eax, 2
xor edx, edx
mov word [eax], dx
mov esp, ebp
pop ebp
ret
Function at 0x482ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57442b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
lea edi, [esi + 0x54]
push edi
mov dword [esi + 0x1a4], ebx
mov byte [esi + 0x1a8], bl
mov byte [esi + 0x1a9], 1
call fcn.004acfe0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CPasswordDlg_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CPasswordDlg_.0
mov dword [esi], vtable.CPasswordDlg.0
mov dword [esi + 0x2c], vtable.CPasswordDlg.1.0
mov dword [esi + 0x50], vtable.CPasswordDlg.2.0
mov dword [edi], vtable.CPasswordDlg.3.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CPasswordDlg_.virtual_0], vtable.CPasswordDlg.4.0
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
lea ecx, [esi + 0x1b8]
push ecx
mov byte [ebp - 4], 3
call fcn.00485160
mov byte [ebp - 4], 4
mov byte [esi + 0x398], bl
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x39c], eax
mov byte [ebp - 4], 5
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
lea edi, [esi + 0x3a4]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 6
mov byte [esi + 0x3a8], bl
call fcn.00425450
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x484b00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
test edi, edi
je 0x484b14
lea ebx, [edi - 0x1a4]
jmp 0x484b16
xor ebx, ebx
mov eax, dword [ebx + 0x30]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 4], 1
mov eax, dword [ebx + 0x30]
push 0
push eax
call fcn.00468790
call fcn.00468890
inc dword [edi]
mov ecx, dword [ebx + 0x30]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call esi
test eax, eax
je 0x484ba1
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x484ba1
cmp byte [edi + 4], 0
je 0x484ba1
cmp eax, 0xffffffff
je 0x484b97
mov eax, dword [ebx + 0x30]
push eax
call esi
test eax, eax
je 0x484b83
mov edx, dword [ebx + 0x50]
mov edx, dword [edx]
lea ecx, [ebx + 0x50]
lea eax, [ebp - 0x1c]
push eax
call edx
test eax, eax
jne 0x484b97
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [ebx + 0x30]
push edx
call esi
test eax, eax
jne 0x484b48
mov eax, dword [ebx + 0x30]
push eax
call fcn.00468790
mov esi, eax
call fcn.00468990
mov ecx, dword [ebx + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484bf1
add dword [edi], 0xffffffff
je 0x484be1
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
lea ebx, [ebx]
mov edx, dword [ebx + 0x30]
push 0
push 0
push 0x12
push edx
call esi
add dword [edi], 0xffffffff
jne 0x484bd0
cmp byte [edi + 5], 0
je 0x484bf1
mov eax, dword [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485f70
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
push 0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x485fac
mov eax, dword [ebp + 8]
mov dword [eax], 0xc0000018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x3c]
push edx
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.00486080
mov ecx, dword [esp + 0x1c]
mov dword [eax], esi
mov dword [eax + 4], ecx
or dword [edi + 0x5c], esi
push ebx
lea esi, [edi + 0xa4]
mov dword [esp + 0x10], 1
call fcn.0044b5f0
push edi
mov ecx, ebx
call fcn.00451010
test al, al
jne 0x48604a
and dword [edi + 0x5c], 0xfffffffb
mov edx, dword [ebx + 0x3c]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x14], edx
call fcn.00486130
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
call fcn.004b42b0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0xc0000001
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x60], 0
jne 0x486066
mov edx, dword [edi + 0x38]
push 0
push 0xea60
push 0x64
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x60], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x487070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5743b2
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
lea edi, [esi + 0x54]
push edi
mov dword [esi + 0x1a0], ebx
mov byte [esi + 0x1a4], bl
mov byte [esi + 0x1a5], 1
call fcn.004acfe0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CMsgBox_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CMsgBox_.0
mov dword [esi], vtable.CMsgBox.0
mov dword [esi + 0x2c], vtable.CMsgBox.1.0
mov dword [esi + 0x50], vtable.CMsgBox.2.0
mov dword [edi], vtable.CMsgBox.3.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CMsgBox_.virtual_0], vtable.CMsgBox.4.0
mov dword [esi + 0x1ac], ebx
mov eax, 2
mov byte [ebp - 4], al
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], eax
mov byte [esi + 0x1c4], bl
mov byte [esi + 0x1c5], bl
mov byte [esi + 0x1c6], bl
mov byte [esi + 0x1c7], bl
mov dword [esi + 0x1c8], 1
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], ebx
lea ecx, [esi + 0x208]
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
push ecx
mov dword [esi + 0x204], ebx
call fcn.004c8990
lea edx, [esi + 0x220]
push edx
mov byte [ebp - 4], 3
call fcn.004c8990
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x248], 0xffffffff
xor eax, eax
mov word [esi + 0x244], ax
mov dword [esi + 0x24c], ebx
mov byte [esi + 0x250], bl
mov byte [esi + 0x251], bl
mov byte [esi + 0x252], 1
mov dword [esi + 0x254], ebx
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x258], eax
mov eax, esi
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 0x4879d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577f08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0
test edi, edi
je 0x487bc3
cmp dword [edi + 0x18], 0
mov esi, 8
je 0x487a45
cmp dword [edi + 0x1c], esi
jb 0x487a32
movzx eax, byte [edi]
mov ebx, dword [ebp + 8]
mov edx, dword [edi + 8]
push eax
mov ecx, ebx
call fcn.00489000
jmp 0x487a48
movzx eax, byte [edi]
mov ebx, dword [ebp + 8]
lea edx, [edi + 8]
push eax
mov ecx, ebx
call fcn.00489000
jmp 0x487a48
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x34], 0
je 0x487a62
cmp dword [edi + 0x38], esi
jb 0x487a58
mov ecx, dword [edi + 0x24]
jmp 0x487a5b
lea ecx, [edi + 0x24]
mov eax, ebx
call fcn.004894c0
cmp dword [edi + 0x54], 0
je 0x487a83
cmp dword [edi + 0x58], esi
jb 0x487a72
mov ecx, dword [edi + 0x44]
jmp 0x487a75
lea ecx, [edi + 0x44]
movzx edx, byte [edi + 0x3c]
push edx
push 1
mov edx, ebx
call fcn.00489670
cmp dword [edi + 0x90], 0
je 0x487ab0
cmp dword [edi + 0x94], esi
jb 0x487a9c
mov ecx, dword [edi + 0x80]
jmp 0x487aa2
lea ecx, [edi + 0x80]
movzx eax, byte [edi + 0x78]
push eax
push 2
mov edx, ebx
call fcn.00489670
mov eax, dword [edi + 0xb4]
mov ecx, dword [ebx + 0x1bc]
mov dword [esp + 0x10], ecx
cmp eax, 0xffffffff
je 0x487ac9
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xb8]
cmp eax, 0xffffffff
je 0x487adb
mov ecx, ebx
call fcn.00489750
mov ecx, dword [edi + 0xcc]
sub ecx, dword [edi + 0xc8]
lea esi, [edi + 0xbc]
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x487b8c
lea eax, [ebx + 0x208]
call fcn.0048ab00
lea eax, [ebx + 0x128]
call fcn.004a3370
add ebx, 0xf4
push ebx
call fcn.004acd90
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov ebx, 0
je 0x487b89
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x487b6c
call fcn.0053ecd6
mov edx, dword [esi + 0xc]
add edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00489c80
add dword [esp + 0xc], 0x44
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x487b4c
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1b8]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
call fcn.00487e00
mov dword [esp + 0x28], 0xffffffff
call fcn.0048ac20
push 0x486c20
push 3
push 0x3c
push edi
call fcn.0053f49b
push edi
call fcn.0053d782
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x488ed0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x30]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x488f02
cmp byte [ebp + 0xc], 0
je 0x488f0c
cmp byte [0x5d0e14], 0
je 0x488f0c
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x30], 0
mov eax, 2
pop edi
pop ebp
ret 8
mov eax, dword [0x5d1d0c]
cmp dword [eax - 0xc], 0
je 0x488f34
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x488f5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x488f64
mov eax, dword [ebp + 8]
push 0
push eax
push esi
mov byte [0x5d0e14], 1
call fcn.00487e00
lea edi, [esi + 0x1a0]
call fcn.0048a8a0
mov eax, dword [esi + 0x1c0]
pop edi
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x30]
push edx
jmp 0x488ef5

Function at 0x48a8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
test edi, edi
je 0x48a8b7
lea ebx, [edi - 0x1a0]
jmp 0x48a8b9
xor ebx, ebx
mov eax, dword [ebx + 0x30]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 4], 1
mov eax, dword [ebx + 0x30]
push 0
push eax
call fcn.00468790
call fcn.00468890
inc dword [edi]
mov ecx, dword [ebx + 0x30]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call esi
test eax, eax
je 0x48a94d
jmp 0x48a8f0
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x48a94d
cmp byte [edi + 4], 0
je 0x48a94d
cmp eax, 0xffffffff
je 0x48a943
mov eax, dword [ebx + 0x30]
push eax
call esi
test eax, eax
je 0x48a92d
mov edx, dword [ebx + 0x50]
mov edx, dword [edx]
lea ecx, [ebx + 0x50]
lea eax, [esp + 0xc]
push eax
call edx
test eax, eax
jne 0x48a943
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [ebx + 0x30]
push edx
call esi
test eax, eax
jne 0x48a8f0
mov eax, dword [ebx + 0x30]
push eax
call fcn.00468790
mov esi, eax
call fcn.00468990
mov ecx, dword [ebx + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48a997
add dword [edi], 0xffffffff
je 0x48a987
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebx + 0x30]
push 0
push 0
push 0x12
push edx
call esi
add dword [edi], 0xffffffff
jne 0x48a976
cmp byte [edi + 5], 0
je 0x48a997
mov eax, dword [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499900
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5734a9
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CMyEdit.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 3
lea ecx, [esi + 0x40]
push ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 7
mov dword [esi + 0x3c], ebx
call fcn.004abb80
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x90], eax
mov byte [esi + 0x94], bl
mov byte [esi + 0x95], bl
mov byte [esi + 0x96], bl
mov byte [esi + 0x97], bl
mov byte [esi + 0x98], 1
mov dword [esi + 0x9c], ebx
xor eax, eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov edi, dword [esi + 0x38]
call fcn.0046daa0
cmp byte [eax + 0xc], bl
je 0x4999f1
mov eax, dword [eax]
cmp eax, 0x64
je 0x4999f1
push 0x64
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x38], eax
jmp 0x4999f4
mov dword [esi + 0x38], edi
mov eax, esi
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 0x49a2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x44]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49a3c2
call fcn.0049a0f0
mov ecx, dword [edi + 4]
push 0
push 0
push 0xba
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [edi + 0x3c]
cmp ebx, eax
jle 0x49a3aa
test eax, eax
je 0x49a3aa
xor eax, eax
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push edx
push eax
mov byte [edi + 0x96], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x3c]
cdq
idiv ecx
mov dword [esp + 0x1c], 0x1c
mov esi, eax
xor eax, eax
imul ecx, esi
mov edx, esi
imul edx, ebx
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
push 0xce
push eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
imul eax, esi
mov edx, dword [edi + 0x44]
push 1
lea ecx, [esp + 0x20]
push ecx
push 2
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
call fcn.0049a0f0
mov eax, dword [edi + 0x44]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x96], 0
call fcn.0049a0f0
mov ecx, dword [edi + 0x44]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49b510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x49b543
mov ecx, edi
mov eax, esi
call fcn.00425370
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49b56a
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49b56a
push ecx
push eax
call fcn.0053e3ad
add esp, 8
mov ecx, dword [esi]
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x49b780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57432f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], edi
mov dword [esi + 0x50], vtable.CTransparentWnd_class_CFloatButton_.0
mov dword [esi + 0x54], edi
mov byte [esi + 0x5c], 0xff
mov dword [esi + 0x60], edi
mov dword [esi + 0x58], edi
lea ebx, [esi + 0x64]
push ebx
mov byte [ebp - 4], 1
call fcn.004acfe0
mov dword [esi + method.IFontIconCBImpl_class_CFloatButton_.virtual_0], vtable.IFontIconCBImpl_class_CFloatButton_.0
mov dword [esi], vtable.CFloatButton.0
mov dword [esi + 0x2c], vtable.CFloatButton.1.0
mov dword [esi + 0x50], vtable.CFloatButton.2.0
mov dword [ebx], vtable.CFloatButton.3.0
mov dword [esi + method.IFontIconCBImpl_class_CFloatButton_.virtual_0], vtable.CFloatButton.4.0
mov dword [esi + 0x1b8], edi
lea ecx, [esi + 0x1bc]
push ecx
mov ecx, 0x5910ec
mov byte [ebp - 4], 3
call fcn.00422af0
mov dword [esi + 0x1c0], edi
mov eax, esi
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 0x49b950
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577e18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x1bc]
push 0
push 1
push 0
push 0
push eax
lea ebx, [edi + 0x64]
push ebx
call fcn.004ad400
test al, al
jne 0x49b9aa
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x49b9bb
push 0x80004003
call fcn.0053d640
lea esi, [ebp - 0x14]
call fcn.00471070
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49bac1
push 0
push 0x2710
lea esi, [ebp - 0x10]
call fcn.00471100
lea esi, [edi + 0x1b8]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00473d00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49ba08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi], 0
je 0x49bac1
mov eax, dword [esi]
test eax, eax
jne 0x49ba21
push 0x80004003
call fcn.0053d640
push 1
push 0x3e9
lea esi, [ebp - 0x18]
call fcn.00471100
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x49bab1
mov eax, esi
call fcn.00474020
push 0
cmp eax, 2
jne 0x49ba63
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], esp
push esi
call ecx
push ebx
mov edx, edi
call fcn.004ae1e0
jmp 0x49bab1
push 0
push 0
push 1
push edi
lea eax, [edi + 0x1ac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [ebp - 0x10]
push ecx
push ebx
call fcn.004af200
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49bab1
mov byte [eax + 0x3c], 1
mov byte [eax + 0x3d], 0x14
mov byte [eax + 0x3e], 0x28
mov byte [eax + 0x3f], 0xff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49bab1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0
test esi, esi
je 0x49bac1
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [edi + 0x30]
lea esi, [edi + 0x50]
call fcn.00477ef0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49bae2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret