joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482311
Capabilities:
Check if file exists

Disassembly:
push 0x134
mov eax, 0x5ec7e7
call fcn.0059bbd7
xor ebx, ebx
lea eax, [ebp - 0x94]
push 0x82
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005b24a0
push 0xa
push 0x40
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005c3414
add esp, 0x20
test eax, eax
je 0x482371
push eax
push 0x3af
push str.EscapeVirtualizationEx
push str.__s__d___LaunchExitPopup__i64tot_s_error_re___d
call fcn.0040a649
add esp, 0x10
jmp 0x4825ad
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sftldr_wow64.dll
call esi
test eax, eax
jne 0x4823b2
push str.sftldr.dll
call esi
test eax, eax
jne 0x4823b2
call fcn.004cd54c
test al, al
jne 0x4823b2
push 0x3cf
push str.EscapeVirtualizationEx
push str.__s__d___WmiLaunchProcess_no_excute
call fcn.0040a649
add esp, 0xc
jmp 0x4825ad
lea ecx, [ebp - 0xac]
call fcn.004c9d5f
mov byte [ebp - 4], 1
cmp dword [ebp - 0x9c], 0
je 0x4823e3
mov esi, 0x63424c
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.0040b220
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0040b0d5
push str._hep:
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0040b0d5
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
call fcn.005c2f90
pop ecx
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040b220
mov esi, str.__efrom:
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc4]
call fcn.0040b220
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
push dword [ebp + 0x20]
cmovae eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc4]
push eax
call fcn.0040b220
lea eax, [ebp - 0xac]
mov esi, 0x6360f8
push eax
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.00445efc
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
call fcn.0041152a
push 0x63438c
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call fcn.0041152a
add esp, 0x14
mov ecx, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 8
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
push eax
call fcn.0040b220
mov byte [ebp - 0x140], bl
lea ecx, [ebp - 0xdc]
push dword [ebp - 0x140]
mov dword [ebp - 0xcc], ebx
push eax
mov dword [ebp - 0xc8], ebx
call fcn.0040b632
lea ecx, [ebp - 0xf4]
call fcn.0040b67e
lea ecx, [ebp - 0x10c]
call fcn.0040b67e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x124]
call fcn.0040b67e
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48257f
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x48257f
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0xdc]
call fcn.0043d474
test al, al
jne 0x48257f
push 0x3c8
push str.EscapeVirtualizationEx
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x482581
mov bl, 1
lea ecx, [ebp - 0xdc]
call fcn.0040b67e
lea ecx, [ebp - 0xc4]
call fcn.0040b67e
lea ecx, [ebp - 0x13c]
call fcn.0040b67e
lea ecx, [ebp - 0xac]
call fcn.0040b67e
lea ecx, [ebp + 0x10]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x4825bd
Capabilities:
Check if file exists

Disassembly:
push 0x80
mov eax, 0x5ec83a
call fcn.0059bbd7
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sftldr_wow64.dll
call esi
test eax, eax
jne 0x482611
push str.sftldr.dll
call esi
test eax, eax
jne 0x482611
call fcn.004cd54c
test al, al
jne 0x482611
push 0x3e8
push str.CreateProcessByCmd
push str.__s__d___WmiLaunchProcess_no_excute
call fcn.0040a649
add esp, 0xc
xor al, al
jmp 0x482750
lea ecx, [ebp - 0x28]
call fcn.004c9d5f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x482639
mov esi, 0x63424c
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
mov esi, 0x6360f8
push eax
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00445efc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0041152a
push 0x63438c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0041152a
add esp, 0x14
push edi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00411504
mov byte [ebp - 0x8c], bl
lea ecx, [ebp - 0x40]
push dword [ebp - 0x8c]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0040b632
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67e
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edi, str.CreateProcessByCmd
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], esi
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 0x3dd
push edi
push str.__s__d__szExePath:_s__strCmdLine:_s
call fcn.0040a649
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48273c
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x48273c
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x40]
call fcn.0043d474
test al, al
jne 0x48273c
push 0x3e1
push edi
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x48273e
mov bl, 1
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x4829c7
Capabilities:
Check if file exists

Disassembly:
push 0x80
mov eax, 0x5ec83a
call fcn.0059bbd7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c9d5f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x482a00
mov edi, 0x63424c
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
mov edi, 0x6360f8
push eax
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00445efc
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0041152a
push 0x63438c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0041152a
add esp, 0x14
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00411504
mov byte [ebp - 0x8c], bl
lea ecx, [ebp - 0x40]
push dword [ebp - 0x8c]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0040b632
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67e
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edi, str.CreateProcessByWmi
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], esi
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 0x42c
push edi
push str.__s__d__szExePath:_s__strCmdLine:_s
call fcn.0040a649
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482b03
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x482b03
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x40]
call fcn.0043d474
test al, al
jne 0x482b03
push 0x431
push edi
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x482b05
mov bl, 1
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x48909c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x5ecde5
call fcn.0059bc45
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x489119
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x489119
call fcn.004636fe
mov esi, eax
jmp 0x48921f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x48913c
call fcn.004636fe
jmp 0x489212
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x489132
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x48916f
mov esi, 0x8007000e
jmp 0x489214
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x489242
jb 0x48918a
cmp eax, 0xffffffff
ja 0x489242
cmp eax, 0x400
jbe 0x48919f
push eax
lea ecx, [ebp - 0x418]
call fcn.00487d05
jmp 0x4891c1
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4891c1
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x489165
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x489132
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00488f47
mov esi, eax
test edi, edi
je 0x48921f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x489238
lea ecx, [ebp - 0x418]
call fcn.00487cf0
mov eax, esi
call fcn.0059bb92
ret 0x10
push 0x80070216
call fcn.00422ce3
int3
Function at 0x489df6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x489f00
cmp dword [ebp + 0xc], 0x104
jne 0x489e60
cmp dword [ebp + 0x10], 0x73
jne 0x489ec4
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x489ec4
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, dword [ebp + 8]
jne 0x489e4c
push 0xe0
push str.BaseWallPaperFrame::DidProcessEvent
push str.__s__d___DidProcessEvent_close
call fcn.0040a649
add esp, 0xc
push 0
push 0
push 0x10
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x489f00
cmp dword [ebp + 0xc], 0x112
jne 0x489ec4
cmp dword [ebp + 0x10], 0xf120
jne 0x489ec4
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x489ec4
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, dword [ebp + 8]
jne 0x489ec4
mov eax, dword [esi + 0xc4]
sub eax, dword [esi + 0xc0]
push 0x6c
cdq
pop ecx
idiv ecx
cmp eax, 1
jbe 0x489ec4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [esi + 0x28]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x170]
mov eax, dword [ecx]
push dword [esi + 0x16c]
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x6decc8], 0
je 0x489f00
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x489f00
cmp dword [ebp + 0x10], 0x7b
jne 0x489f00
mov ecx, dword [esi + 0x28]
push 0
push 4
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x38]
mov ecx, dword [esi + 0x28]
call fcn.00489651
pop esi
pop ebp
ret 0x10
Function at 0x48b7c1
Capabilities:
Check if file exists

Disassembly:
push 0xd8
mov eax, 0x5ed264
call fcn.0059bbd7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xe0], eax
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], ebx
je 0x48b91c
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
cmp edi, eax
je 0x48b91c
mov ebx, eax
push edi
lea ecx, [ebp - 0x78]
call fcn.004894fc
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x48b8e6
lea ecx, [ebp - 0xd0]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 1
call fcn.0059a7c1
pop ecx
mov dword [ebp - 0xd4], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040b6b1
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0040b8cb
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040b9f4
push 0x12c
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
test eax, eax
je 0x48b8db
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x90]
call fcn.00435b82
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x48b8b8
mov eax, dword [eax]
push eax
push 0x34f
push str.BaseWallPaperFrame::AddWaterMark
push str.__s__d___HttpDownloadSync_watermark:_s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x90]
call fcn.0040b67e
lea ecx, [ebp - 0xd0]
call fcn.0040ba62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0048b79d
add edi, 0x68
cmp edi, ebx
jne 0x48b804
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xdc]
mov edx, ecx
mov ecx, dword [ebp - 0xe0]
push ebx
push dword [ebp + 0x10]
call fcn.004bcbd1
pop ecx
pop ecx
call fcn.0059bb81
ret 0x10

Function at 0x48dcc3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x154], eax
test eax, eax
jne 0x48dcf2
push 0x574
push str.BaseWallPaperFrame::StartSetWallpaperThread
push str.__s__d___create_event_failed
jmp 0x48dd23
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push esi
push 0x48dd2f
push edi
push edi
call fcn.005c30ff
add esp, 0x18
mov dword [esi + 0x158], eax
test eax, eax
jne 0x48dd2b
push 0x57b
push str.BaseWallPaperFrame::StartSetWallpaperThread
push str.__s__d___create_thread_failed
call fcn.0040a649
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x48e01c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x6d35ac]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 8], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push edi
cmp eax, 0x67
jne 0x48e0b1
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 2
movzx edi, ax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xf
or ax, di
pop ecx
bt ax, cx
jb 0x48e066
push 0x67
jmp 0x48e0c6
call dword [sym.imp.USER32.dll_GetMessagePos]
mov ecx, dword [ebx + 0x28]
movsx edx, ax
sub edx, dword [ebx + 0xf4]
shr eax, 0x10
cwde
sub eax, dword [ebx + 0xf8]
mov dword [ebx + 0x16c], edx
mov dword [ebx + 0x170], eax
test ecx, ecx
je 0x48e19c
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x48e19c
cmp eax, 0x68
je 0x48e19c
cmp eax, 0x69
jne 0x48e0d4
mov eax, dword [ebx]
call dword [eax + 0x44]
push 0x69
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x48e19c
cmp eax, 0x6a
jne 0x48e0e9
call fcn.00436e25
mov dword [ebx + 0x168], eax
jmp 0x48e19c
cmp eax, 0x6b
jne 0x48e11f
push 0x61c
push str.BaseWallPaperFrame::OnTimer
push str.__s__d___OnTimer_TIMER_RESTART_WORKER_n
call fcn.0040a649
add esp, 0xc
push 0x6b
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
xor edx, edx
push 2
inc edx
pop ecx
call fcn.004dcf88
pop ecx
jmp 0x48e19c
cmp eax, 0x6c
jne 0x48e19c
push 0x622
push str.BaseWallPaperFrame::OnTimer
push str.__s__d___OnTimer_TIMER_START_EMPTY_WORKER_n
call fcn.0040a649
add esp, 0xc
push 0x6c
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebx + 0x110], 0
je 0x48e184
sub esp, 0x18
lea eax, [ebx + 0x100]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [esp + 0x2c]
call fcn.00435b82
add esp, 0x18
mov ecx, eax
call fcn.004ceb02
lea ecx, [esp + 0x14]
call fcn.0040b67e
and dword [ebx + 0x110], 0
add ebx, 0x100
cmp dword [ebx + 0x14], 0x10
jb 0x48e199
mov ebx, dword [ebx]
mov byte [ebx], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
pop edi
pop ebx
and dword [eax], 0
xor ecx, esp
xor eax, eax
call fcn.0059a7a2
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48e8b6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x48e8f4
mov eax, dword [ecx]
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x762
push str.BaseWallPaperFrame::OnClickClose
push str.__s__d___OnClick_Close
call fcn.0040a649
add esp, 0xc
push 0
push 0
push 0x10
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x490160
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x34
mov eax, 0x5e2702
call fcn.0059bbd7
push 0x208
xor ebx, ebx
push ebx
push 0x6e4e90
call fcn.005b24a0
mov eax, dword [ebp + 8]
mov dword [0x6e52a0], eax
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
push str.InstallPath
mov edx, str.Software360360huabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261ea
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push 8
pop edi
cmp dword [ebp - 0x18], ebx
je 0x490218
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x490218
push 0x6594c8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00411559
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x40]
call fcn.0040b67e
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x490218
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x490253
push dword [0x6e52a0]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str._schromeshell_d
push 0x103
push 0x6e4e90
call fcn.00412a13
add esp, 0x14
jmp 0x490288
lea ecx, [ebp - 0x40]
call fcn.00425588
cmp dword [eax + 0x14], edi
jb 0x490262
mov eax, dword [eax]
push dword [0x6e52a0]
push eax
push str._schromeshell_d
push 0x103
push 0x6e4e90
call fcn.00412a13
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.0059bb81
ret 4
Function at 0x49029e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x34
mov eax, 0x5e2702
call fcn.0059bbd7
mov esi, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
mov edx, str.Software360360huabao
lea eax, [ebp - 0x28]
mov ecx, reloc.WS2_32.dll_accept
push eax
push str.InstallPath
call fcn.004261ea
cmp dword [ebp - 0x18], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
push 8
pop ebx
je 0x490341
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x490341
push 0x6594c8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00411559
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x40]
call fcn.0040b67e
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x490341
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
push 0
push 0x6e4e90
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x490392
cmp dword [esi + 0x14], ebx
jb 0x49036d
mov esi, dword [esi]
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push str._schromeshell_s
push 0x103
push 0x6e4e90
call fcn.00412a13
add esp, 0x14
jmp 0x4903c9
lea ecx, [ebp - 0x40]
call fcn.00425588
cmp dword [esi + 0x14], ebx
jb 0x4903a1
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x4903a8
mov eax, dword [eax]
push esi
push eax
push str._schromeshell_s
push 0x103
push 0x6e4e90
call fcn.00412a13
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.0059bb81
ret 4

Function at 0x4904ef
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x81c]
test eax, eax
je 0x490504
mov ecx, eax
pop ebp
jmp fcn.0049c801
mov eax, dword [ecx + 0x820]
test eax, eax
je 0x490516
mov ecx, eax
pop ebp
jmp fcn.004a5136
mov eax, dword [ecx + 0x828]
test eax, eax
je 0x490528
mov ecx, eax
pop ebp
jmp fcn.00489df6
mov eax, dword [ecx + 0x824]
test eax, eax
jne 0x490520
mov eax, dword [ecx + 0x830]
test eax, eax
je 0x490544
mov ecx, eax
pop ebp
jmp fcn.004693c4
mov eax, dword [ecx + 0x82c]
test eax, eax
je 0x490556
mov ecx, eax
pop ebp
jmp fcn.00492c09
mov ecx, dword [ecx + 0x838]
test ecx, ecx
jne 0x490522
pop ebp
ret 0x10
Function at 0x490b62
Capabilities:
Check if file exists
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
mov dword [esi], vtable.HuabaoActivateMainWnd.1.0
mov dword [esi + 4], vtable.HuabaoActivateMainWnd.0
je 0x490b7d
and dword [esi + 0x28], 0
lea edi, [esi + 0x1a8]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x490b8d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x490ba9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x490ba2
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x1dc]
call fcn.00404812
lea ecx, [esi + 0x1c4]
call fcn.0040b67e
mov ecx, edi
call fcn.0040b67e
lea ecx, [esi + 0x190]
call fcn.0040b67e
pop edi
mov ecx, esi
pop esi
jmp fcn.00489c60