joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b860
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx ecx, word [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x45b8ea
push esi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push edx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x45b8e8
mov eax, dword [ebp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 4]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b9ac
test al, 0x10
lea eax, [esi + 1]
jne 0x45b9ae
mov eax, esi
pop esi
pop ebp
ret

Function at 0x45b9c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x70], 0x20
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x68], 0x80
mov dword [ebp - 0x64], 0x100
mov dword [ebp - 0x60], 0x200
mov dword [ebp - 0x5c], 0x400
mov dword [ebp - 0x58], 0x800
mov dword [ebp - 0x54], 0x1000
mov dword [ebp - 0x50], 0x2000
mov dword [ebp - 0x4c], 0x4000
mov dword [ebp - 0x48], 0x8000
mov dword [ebp - 0x44], 0x10000
mov dword [ebp - 0x40], 0x20000
mov dword [ebp - 0x3c], 0x40000
mov dword [ebp - 0x38], 0x80000
mov dword [ebp - 0x34], 0x100000
mov dword [ebp - 0x30], 0x200000
mov dword [ebp - 0x2c], 0x400000
mov dword [ebp - 0x28], 0x800000
mov dword [ebp - 0x24], 0x1000000
mov dword [ebp - 0x20], 0x2000000
mov dword [ebp - 0x1c], 0x4000000
mov dword [ebp - 0x18], 0x8000000
mov dword [ebp - 0x14], 0x10000000
mov dword [ebp - 0x10], 0x20000000
mov dword [ebp - 0xc], 0x40000000
mov dword [ebp - 8], SysReAllocString
mov edx, dword [ebp + ecx*4 - 0x88]
mov ecx, dword [ebp - 4]
or dword [eax], edx
mov eax, dword [eax]
xor ecx, ebp
call fcn.0044665f
mov esp, ebp
pop ebp
ret
Function at 0x45bae0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x45baf6
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 8
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45bb43
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 0xc]
push edx
push 0x14
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x45bb39
cmp dword [ebp - 8], 4
jne 0x45bb39
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45bb50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x200
cmp dword [ebp + 0x14], ebx
je 0x45bb9c
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x45bb92
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 8], ebx
je 0x45bb9c
mov esi, 0x100
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
or esi, 1
push esi
push ebx
push edx
push eax
mov dword [ebp - 0xc], 4
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45bbcd
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
lea ecx, [ebp + 0x14]
push ecx
push ebx
lea edx, [ebp - 0xc]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push eax
call ebx
test eax, eax
jne 0x45bbc4
mov eax, dword [ebp + 0x14]
cmp eax, 1
jbe 0x45bbc4
inc eax
push eax
push 0x40
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45bbc4
mov eax, dword [ebp - 4]
lea ecx, [ebp + 0x14]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push 0
push edi
push eax
call ebx
mov edi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x200
cmp dword [ebp + 0x14], ebx
je 0x45bc7c
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x45bc72
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 8], ebx
je 0x45bc7c
mov esi, 0x100
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
or esi, 1
push esi
push ebx
push edx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45bca9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
lea ecx, [ebp + 0x14]
push ecx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push edx
call ebx
test eax, eax
jne 0x45bca0
mov eax, dword [ebp + 0x14]
cmp eax, 1
jbe 0x45bca0
inc eax
push eax
push 0x40
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45bca0
mov edx, dword [ebp - 4]
lea eax, [ebp + 0x14]
push eax
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
push edi
push edx
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45bdd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45be23
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45be14
mov edx, dword [ebp - 4]
mov dword [eax], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45be2f
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45cfa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcdb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x38
lea ecx, [ebp - 0x24c]
push 0
push ecx
mov dword [ebp - 0x250], 0x3c
call fcn.00446290
add esp, 0xc
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45d014
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x214]
push str.runas
push ecx
mov dword [ebp - 4], 0
call fcn.00403af0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x214]
add esp, 8
lea ecx, [ebp - 0x250]
lea edx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x234], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x45d0c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x45d0a7
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d0a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45d0ed
cmp eax, 2
jne 0x45d0c5
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x45d097
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d0e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044665f
mov esp, ebp
pop ebp
ret
Function at 0x45d6f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dd56
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4914f4]
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
call fcn.0042fa4e
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45d73a
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], ebx
call fcn.0042fa4e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45d769
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x218], eax
push 0x39
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.00403400
push 9
push 0x47fcd4
lea ecx, [ebp - 0x218]
call fcn.00403400
mov esi, dword [ebp - 0x218]
push esi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x45d7eb
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d7e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
jmp 0x45d866
mov edi, dword [ebp - 0x214]
push 1
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045bb50
add esp, 0x10
or edx, 0xffffffff
cmp eax, 1
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
jne 0x45d850
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x45d884
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.0044665f
mov esp, ebp
pop ebp
ret
Function at 0x45ec40
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df9b
mov eax, dword fs:[0]
push eax
sub esp, 0x610
mov eax, dword [0x4914f4]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x1c
lea edx, [ebp - 0x610]
push edx
push 0
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ecad
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x614], eax
lea eax, [ebp - 0x610]
mov dword [ebp - 4], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ecd0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x610]
push ecx
lea ecx, [ebp - 0x614]
call fcn.00403340
push 7
push str.CFSoft
lea ecx, [ebp - 0x614]
call fcn.00403340
mov esi, dword [ebp - 0x614]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x45edcf
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x45edcf
push 0x47fbf8
push 0x471d88
call fcn.0044666e
add esp, 8
test eax, eax
jne 0x45ed77
push 0x100
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.004466f5
add esp, 8
push 0x471d88
add eax, 2
push eax
jmp 0x45ed83
push 0x471d88
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ed90
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x614]
call fcn.00403400
push 6
push 0x47fc48
lea ecx, [ebp - 0x614]
call fcn.00403340
mov esi, dword [ebp - 0x614]
push 0
push esi
call edi
push esi
lea eax, [ebp - 0x410]
push eax
call ebx
mov ecx, dword [ebp - 0x618]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
je 0x45edfe
push 0x472650
lea edx, [ebp - 0x410]
push edx
call edi
mov eax, dword [ebp - 0x618]
push eax
lea ecx, [ebp - 0x410]
push ecx
call edi
mov eax, dword [ebp - 0x61c]
test eax, eax
je 0x45ee22
lea edx, [ebp - 0x410]
push edx
push eax
call ebx
lea eax, [ebp - 0x410]
push eax
push 0x496a68
call ebx
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x496a68
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.0044665f
mov esp, ebp
pop ebp
ret
Function at 0x4627f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4914f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, 1
cmp dword [esi + 0x110], ebx
jne 0x462968
xor edi, edi
push edi
push str.noupdate.ini
mov dword [esi + 0x110], edi
call fcn.0045b8f0
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462968
mov ecx, esi
call fcn.004622d0
test eax, eax
je 0x462968
push 4
call fcn.0042313e
add esp, 4
cmp eax, edi
je 0x462877
lea ecx, [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x462879
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
call fcn.0042fa4e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4628a2
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x496c70
lea ecx, [ebp - 0x10]
push str._s.txt
push ecx
mov byte [ebp - 4], 2
call fcn.00403af0
mov ebx, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
push edx
push ebx
call fcn.00461560
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x14
cmp eax, edi
jbe 0x462904
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
and eax, 0xfffffffc
cmp eax, 4
jne 0x462904
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040b3a0
mov eax, dword [eax]
push 1
push edi
push edi
push eax
push edi
push edi
call esi
movzx ecx, byte [0x496c68]
push 1
shl ecx, 9
add ecx, 0x480078
push 0x496c70
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426d28
cmp eax, 1
jne 0x462939
push eax
push edi
push 0x496c70
push str.iexplore
push edi
push edi
call esi
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x462959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cc60
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 0x463060
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e590
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4914f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 0x4f7
jne 0x4630a9
add esi, 0x118
push esi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call fcn.0044a7e6
mov edi, dword [ebp + 0xc]
cmp ebx, 0x111
jne 0x46322e
cmp edi, 0x534
je 0x4631ef
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4630de
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
lea ecx, [edi - 0x658]
push edx
mov dword [esi + 0x108], ecx
push edi
lea ecx, [esi + 0xd4]
mov dword [ebp - 4], 0
call fcn.00461da0
test eax, eax
je 0x463208
mov ecx, esi
call fcn.00462570
mov ebx, dword [ebp - 0x10]
test eax, eax
je 0x4631cc
push ebx
mov ecx, esi
call fcn.0045b290
lea ecx, [ebp + 0x10]
call fcn.00403080
push ebx
lea eax, [ebp + 0x10]
push str.languageLanguage._s.ini
push eax
mov byte [ebp - 4], 1
call fcn.00403af0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00403080
lea ecx, [ebp + 8]
call fcn.00403080
mov ecx, dword [ebp + 0x10]
push 0
push ecx
mov byte [ebp - 4], 3
call fcn.0045b8f0
add esp, 8
push eax
lea ecx, [ebp + 0xc]
call fcn.00405850
lea edx, [ebp + 8]
push str.Language.00.ini
push edx
call fcn.0045eea0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add esp, 8
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, esi
call fcn.00462d20
mov edi, dword [esi]
mov edx, dword [edi + 0x6c]
mov ecx, esi
call edx
push eax
mov eax, dword [edi + 0x70]
mov ecx, esi
call eax
lea ecx, [ebp + 8]
call fcn.00402b30
lea ecx, [ebp + 0xc]
call fcn.00402b30
lea ecx, [ebp + 0x10]
call fcn.00402b30
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4631ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46322e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.0045a8b0
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 0x463250
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x19
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
call fcn.00408390
push 1
push 0x472650
lea ecx, [ebp - 0x214]
mov dword [ebp - 4], 0
call fcn.00403340
mov eax, dword [0x4984e4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x214]
call fcn.00403340
push 4
push str..lnk
lea ecx, [ebp - 0x214]
call fcn.00403340
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0044665f
mov esp, ebp
pop ebp
ret

Function at 0x4635b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c238
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4914f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4635ef
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, 0x4982b8
mov dword [ebp - 4], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463610
sub eax, edx
sar eax, 1
push eax
push 0x4982b8
lea ecx, [ebp - 0x10]
call fcn.00403340
push 0xe
push str.BaiduToolbar
lea ecx, [ebp - 0x10]
call fcn.00403340
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46366b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret