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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x596690]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x476858
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x476858
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x476858
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x476706
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x476843
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x114], edx
cmp cx, ax
jne 0x476796
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.00475340
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x110]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x476774
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x476817
push eax
call fcn.004ba8b3
add esp, 4
jmp 0x476817
mov edx, 0x1234
cmp dx, ax
jne 0x476817
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.00475340
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4767ed
push eax
call fcn.004ba8b3
add esp, 4
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x40b
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x476817
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x476700
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4

Function at 0x47c200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x47c227
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esi + 4]
call fcn.004773c0
mov dword [esi + 0x44], eax
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
push 0x53
push 0
push 0
push 0
push 0
je 0x47c258
mov edx, dword [esi + 8]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x47ec50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x2c]
push eax
push 0x47ebc0
push edi
push edi
mov dword [ebp - 4], edi
mov dword [0x58c130], 1
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x1c]
push ecx
push 0x47c760
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
cmp eax, edi
jbe 0x47ed0c
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x2c]
sar edx, 4
test edx, edx
je 0x47ed0c
xor esi, esi
cmp eax, edi
jbe 0x47ed0c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + esi*4]
push eax
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.0047dcd0
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x47ed48
mov edx, dword [ebp - 0x18]
sub edx, ecx
inc esi
sar edx, 2
cmp esi, edx
jb 0x47ece1
cmp ecx, edi
je 0x47ed19
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x47ed32
push eax
call fcn.004b9008
add esp, 4
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 0xc
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x47ed54
mov edx, dword [ecx + esi*4]
mov dword [eax], edx
cmp ecx, edi
je 0x47ed61
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x47ed7a
push eax
call fcn.004b9008
add esp, 4
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 0xc
Function at 0x47ef60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0047ea30
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 5
push edi
push esi
mov dword [ebp - 8], 0xffffffff
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f03e
push 0xf0
push edi
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadResource]
xor edi, edi
test eax, eax
je 0x47efb4
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x47f01b
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
je 0x47f01b
push edi
push ebx
call fcn.00476e70
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov edi, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov esi, eax
test esi, esi
je 0x47effe
cmp esi, 0xffffffff
jne 0x47f007
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
cmp edi, ebx
je 0x47f027
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x47f027
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x47f035
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0047ea30
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f11e
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
xor ebx, ebx
test eax, eax
je 0x47f0a4
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x47f107
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
je 0x47f107
push ebx
push edi
call fcn.00476e70
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x47f0f3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x47f110
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x47f110
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x47f11e
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482960
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e090
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00481470
mov esi, eax
test esi, esi
js 0x482ad5
mov eax, dword [ebx + 0x74]
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.0047ea30
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4829ca
mov esi, 0x80004005
jmp 0x482ad5
xor eax, eax
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 4], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp + 8]
push edx
push 0x562fc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00474fe0
mov esi, eax
test esi, esi
js 0x482ab5
mov esi, dword [ebp + 8]
test edi, edi
jne 0x482a51
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
lea ecx, [ebp - 0x20]
push ecx
mov edx, ecx
push edx
push ecx
push edx
push edi
push esi
mov byte [ebp - 4], 2
call eax
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x482a6b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x482ad5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x482ad5
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x482a05
push 0x8007000e
call fcn.004044f0
cmp dword [ebp + 0xc], 0
je 0x482ab5
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov byte [ebp - 4], 3
call eax
mov esi, eax
mov eax, dword [ebp + 0xc]
test esi, esi
js 0x482aa5
push eax
lea ecx, [ebx + 0x80]
call fcn.00474b90
mov esi, eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x482ab5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x482ad5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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 0x483160
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x48316c
lea eax, [esi + 0x58]
jmp 0x48316e
xor eax, eax
push edi
push eax
push 0
push 0x23a
lea ecx, [esi + 4]
call fcn.00482d40
mov eax, dword [esi + 8]
push str.AutotestBalloon
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x18]
lea ecx, [esi + 4]
mov dword [esi + 0x80], 0
call eax
push 0
push str.about:blank
lea ecx, [esi + 4]
call fcn.00482960
pop edi
test eax, eax
jns 0x483200
mov ecx, dword [esi + 8]
push ecx
mov dword [esi + 0xa8], 8
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483200
cmp dword [esi + 0x9c], 0
je 0x4831f6
mov edx, dword [esi + 8]
push 8
push edx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x4834a0
Capabilities:
Hide graphical window

Disassembly:
push esi
push str.CWebBalloonDlg::onInitDialog
push str.CWebBalloonDlg::OnInitDialog
push 0x6bc
push 0x558938
push 4
mov esi, ecx
call fcn.0041a9b0
add esp, 0x14
test esi, esi
je 0x4834ca
lea eax, [esi + 0x58]
jmp 0x4834cc
xor eax, eax
push eax
push 0
push 0x23a
lea ecx, [esi + 4]
call fcn.00482d40
mov ecx, esi
call fcn.00482af0
test eax, eax
jne 0x48354c
push str.InitMinisiteState___failed
push str.CWebBalloonDlg::OnInitDialog
push 0x6c1
push 0x558938
push 4
call fcn.0041a9b0
mov eax, dword [esi + 8]
add esp, 0x14
push eax
mov dword [esi + 0xa8], 8
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4835c0
cmp dword [esi + 0x9c], 0
je 0x48353c
mov ecx, dword [esi + 8]
push 8
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 8]
push str.AutotestBalloon
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x9c], 0
je 0x483572
push 0
push 0x1f4
mov ecx, esi
call fcn.00474ec0
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x9c], 0
je 0x48359d
mov edx, dword [esi + 8]
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x32
push 2
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push 0x2710
push 5
push ecx
call edi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x4838f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x9c], 0
je 0x48391d
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esi + 4]
call fcn.00483010
mov dword [esi + 0xa8], eax
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xac], 0
push 0x53
push 0
push 0
push 0
push 0
je 0x483951
mov edx, dword [esi + 8]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x483a60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00425bb0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0047fdc0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483ad6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
push eax
mov word [edx], cx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str.newNeedNavigate
lea ecx, [esi - 0x44]
mov byte [ebp - 4], 2
call fcn.00480e10
cmp eax, ebx
je 0x483b1f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push str.needNavigate
lea ecx, [esi - 0x44]
call fcn.00480e10
cmp eax, ebx
jne 0x483b66
cmp word [ebp - 0x2c], 0xb
jne 0x483b66
cmp word [ebp - 0x24], 0xffff
jne 0x483b66
push edi
push str.OnNavigate:_s
push str.CWebBalloonDlg::OnNavigate
push 0x136
push 0x558938
push 4
call fcn.0041a9b0
mov eax, dword [ebp + 0xc]
add esp, 0x18
push 1
push ebx
push ebx
push edi
push str.open
or edx, 0xffffffff
push ebx
mov word [eax], dx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x483b94
mov edx, dword [ebp - 0x18]
push edx
push esi
lea ecx, [ebp - 0x1c]
call fcn.0047e310
push esi
call fcn.004b9008
add esp, 4
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 8
Function at 0x4863c0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x486455
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
sub eax, edx
sub ecx, edi
cmp eax, ecx
jle 0x48643c
cmp edi, ebx
je 0x486454
mov ecx, dword [esi]
mov eax, ecx
sub eax, dword [ebp - 0xc]
add eax, edi
mov edx, eax
sub edx, ecx
add dword [esi + 8], edx
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4
cmp edx, ebx
je 0x486454
mov ecx, dword [esi + 4]
mov eax, ecx
sub eax, dword [ebp - 8]
add eax, edx
mov edx, eax
sub edx, ecx
add dword [esi + 0xc], edx
mov dword [esi + 4], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4
Function at 0x487030
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x2c]
push eax
push 0x486fa0
push edi
push edi
mov dword [ebp - 4], edi
mov dword [0x58c0cc], 1
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x1c]
push ecx
push 0x47c760
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
cmp eax, edi
jbe 0x4870ec
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x2c]
sar edx, 4
test edx, edx
je 0x4870ec
xor esi, esi
cmp eax, edi
jbe 0x4870ec
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + esi*4]
push eax
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.00486cf0
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x487128
mov edx, dword [ebp - 0x18]
sub edx, ecx
inc esi
sar edx, 2
cmp esi, edx
jb 0x4870c1
cmp ecx, edi
je 0x4870f9
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x487112
push eax
call fcn.004b9008
add esp, 4
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 0xc
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x487134
mov edx, dword [ecx + esi*4]
mov dword [eax], edx
cmp ecx, edi
je 0x487141
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x48715a
push eax
call fcn.004b9008
add esp, 4
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 0xc
Function at 0x4898f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x489a42
xor ecx, ecx
push 0xc6
push ecx
lea edx, [ebp - 0xca]
push edx
mov word [ebp - 0xcc], cx
call fcn.004ba010
mov edx, dword [ebp - 0xd0]
add esp, 0xc
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xcc]
push ecx
push 0
push 0
push str.disablecustomresolver
push edx
mov dword [ebp - 0xd4], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x489a42
mov ecx, 0x53db0c
lea eax, [ebp - 0xcc]
jmp 0x489990
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4899b6
test dx, dx
je 0x4899b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4899b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x489990
xor eax, eax
jmp 0x4899bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x489a3f
mov ecx, str.True
lea eax, [ebp - 0xcc]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4899f6
test dx, dx
je 0x4899f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4899f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4899d0
xor eax, eax
jmp 0x4899fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x489a3f
mov ecx, 0x55a8d8
lea eax, [ebp - 0xcc]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x489a36
test dx, dx
je 0x489a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x489a36
add eax, 4
add ecx, 4
test dx, dx
jne 0x489a10
xor eax, eax
jmp 0x489a3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x489a42
mov byte [esi], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret