joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x4255d1
cmp dword [esi], 0xffffffff
jne 0x4255d1
mov eax, dword [ebp + 8]
test eax, eax
je 0x4255c1
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
push 0
push edx
push eax
push 0
push 0
call fcn.004837bf
add esp, 0x18
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
mov byte [esi + 8], 1
setne al
pop esi
pop ebp
ret 8
xor al, al
pop esi
pop ebp
ret 8

Function at 0x425600
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.enableetw
push eax
call fcn.0048385f
add esp, 8
test eax, eax
setne al
mov byte [esi + 0x10], al
test al, al
je 0x42567c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x42567c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EventRegister
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push str.EventWrite
push eax
call edi
mov ecx, dword [esi]
push str.EventUnregister
push ecx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x4256a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42572c
mov eax, dword [ebp - 4]
test eax, eax
je 0x42572c
push esi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.bOpenDEP
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x42572c
cmp dword [ebp - 8], 0
je 0x42572c
cmp dword [ebp - 0xc], 4
jne 0x42572c
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42c080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x42c0e9
lea eax, [ebp - 0x234]
push eax
push esi
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x234], 0x103
pop edi
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], 0x22c
call fcn.00480280
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42c12a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42c15d
jmp 0x42c140
cmp dword [ebp - 0x228], edi
je 0x42c15b
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42c140
jmp 0x42c15d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x4312b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5407e8
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x58d038]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [edi + 8], 0x20
mov dword [edi + 0xcc], ebx
je 0x4314dd
cmp byte [edi + 0x90], bl
jne 0x4314dd
cmp byte [edi], bl
je 0x4314dd
mov eax, dword [0x59338c]
push eax
push esi
call fcn.00415c50
add esp, 8
test eax, eax
je 0x431358
mov ecx, dword [0x593390]
push ecx
push esi
call fcn.00415c50
add esp, 8
test eax, eax
je 0x431358
mov edx, dword [0x593394]
push edx
push esi
call fcn.00415c50
add esp, 8
test eax, eax
je 0x431358
mov eax, dword [0x593398]
push eax
push esi
call fcn.00415c50
add esp, 8
test eax, eax
jne 0x431365
call fcn.0046d050
test al, al
jne 0x4314dd
lea ecx, [ebp - 0x80]
push ecx
call fcn.0046cb20
add esp, 4
mov eax, 7
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
push 1
push 0x54b7d8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004044f0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4313b0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.004044f0
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x4313d9
lea eax, [ebp - 0x48]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0x94], esp
push edx
call fcn.0046eab0
lea eax, [ebp - 0x64]
push eax
call fcn.00430ea0
add esp, 0x24
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402560
lea ecx, [ebp - 0x64]
call fcn.0046e6d0
xor eax, eax
push 0x40
lea ecx, [ebp - 0xd4]
push ebx
push ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xd8], 0x44
call fcn.00480280
mov edx, 1
add esp, 0xc
mov dword [ebp - 0xac], 1
mov word [ebp - 0xa8], dx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0042c3b0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x431480
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
push eax
push 0x551964
inc ecx
push ecx
push esi
call fcn.00482a49
add esp, 0x10
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x58]
mov dword [edi + 0xcc], 2
call fcn.0044a840
lea ecx, [ebp - 0x48]
call fcn.0046e6d0
lea ecx, [ebp - 0x2c]
call fcn.0046e6d0
lea ecx, [ebp - 0x80]
call fcn.0046e6d0
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.00480264
mov esp, ebp
pop ebp
ret
Function at 0x431760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4317c2
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push esi
push esi
push str.oleForceShowSplash
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4317b8
xor ecx, ecx
cmp dword [ebp - 8], esi
setne cl
mov esi, ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540834
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
fldz
mov edi, ecx
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 5
jnp 0x431be7
test byte [0x59351c], 1
jne 0x4319e1
or dword [0x59351c], 1
push 0x551b20
push str.KHostSplashShow_updateDPISetting
mov ecx, 0x593518
mov dword [ebp - 4], 0
call fcn.0043d040
mov dword [ebp - 4], 0xffffffff
mov al, byte [0x59368c]
test al, al
je 0x431a22
mov eax, dword [0x593518]
mov ecx, 1
mov word [ebp - 0x23c], cx
mov cx, word [0x59351a]
movzx edx, cx
mov word [ebp - 0x23a], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x238], cx
call fcn.0043d0a0
add esp, 0xc
fld1
lea ecx, [ebp - 0x234]
fstp qword [edi + 0x28]
push ecx
mov dword [ebp - 4], 1
call fcn.00469b80
add esp, 4
mov esi, 8
push esi
push str.qt.conf
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.004044f0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00480280
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x431a89
lea eax, [ebp - 0x234]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x551cb0
push str.DPIAware
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x218]
push 0x54edcc
push edx
call fcn.00415c50
add esp, 8
test eax, eax
je 0x431b26
cmp dword [ebp - 0x220], esi
jb 0x431ada
mov eax, dword [ebp - 0x234]
push eax
call fcn.00480102
add esp, 4
mov dl, byte [0x59368c]
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 4], 0xffffffff
test dl, dl
je 0x431be7
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x23a]
mov edx, dword [ebp - 0x23c]
push eax
push ecx
push edx
jmp 0x431bdf
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x431ac3
push 0x551c78
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x431b7b
lea ecx, [ebp - 0x234]
call fcn.0046e6d0
mov al, byte [0x59368c]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x431be7
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x23a]
mov eax, dword [ebp - 0x23c]
push ecx
push edx
push eax
jmp 0x431bdf
call eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [ebp - 0x240], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [ebp - 0x240]
lea ecx, [ebp - 0x234]
fdiv qword [0x551c70]
fstp qword [edi + 0x28]
call fcn.0046e6d0
mov cl, byte [0x59368c]
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x431be7
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23a]
mov ecx, dword [ebp - 0x23c]
push edx
push eax
push ecx
call fcn.0043d0c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x431c10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540876
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x58d038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
fld qword [0x551d00]
xor ebx, ebx
mov dword [esi], vtable.KHostSplashShow.0
fstp qword [esi + 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 4
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00431970
test byte [0x593524], 1
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KWpsOfficeHostSplashShow.0
mov dword [esi + 0x50], ebx
jne 0x431cc0
or dword [0x593524], 1
push 0x551b20
push str.KWpsOfficeHostSplashShow
mov ecx, 0x593520
mov byte [ebp - 4], 1
call fcn.0043d040
mov byte [ebp - 4], bl
mov al, byte [0x59368c]
test al, al
je 0x431cf8
mov eax, dword [0x593520]
mov ecx, 1
mov word [ebp - 0x18], cx
mov cx, word [0x593522]
movzx edx, cx
mov word [ebp - 0x16], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x14], cx
call fcn.0043d0a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [esi + 0x48], cl
mov dword [esi + 0x4c], ebx
cmp cl, bl
je 0x431d0d
mov edx, dword [eax + 8]
mov dword [esi + 0x4c], edx
xor ecx, ecx
cmp byte [eax + 1], bl
setne cl
mov dword [esi + 0x20], ecx
cmp dword [eax + 0x18c], ebx
jne 0x431d30
cmp dword [eax + 0x154], ebx
jne 0x431d30
cmp dword [eax + 0x140], ebx
je 0x431d33
mov dword [esi + 0x20], ebx
mov dl, byte [0x59368c]
test dl, dl
je 0x431d51
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x16]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
call fcn.0043d0c0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x431fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54090d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x58d038]
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 + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], edi
mov byte [eax], 0
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov dword [ebp - 0x240], esi
mov word [esi], ax
lea ecx, [ebp - 0x234]
mov ebx, 1
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x23c], ebx
call fcn.00469b80
add esp, 4
mov eax, dword [ebp - 0x224]
mov dword [ebp - 4], ebx
cmp eax, edi
jne 0x43204d
cmp dword [ebp - 0x220], 8
jb 0x43215f
mov edx, dword [ebp - 0x234]
push edx
jmp 0x432157
mov edi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x234]
mov ecx, ebx
cmp edi, 8
jae 0x432066
lea ecx, [ebp - 0x234]
add eax, eax
cmp word [eax + ecx - 2], 0x5c
jne 0x43209e
mov ecx, ebx
cmp edi, 8
jae 0x43207d
lea ecx, [ebp - 0x234]
lea eax, [eax + ecx - 2]
movzx eax, word [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x234]
call fcn.004016d0
mov edi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x234]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00480280
add esp, 0xc
mov eax, ebx
cmp edi, 8
jae 0x4320c9
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00481237
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x551d94
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.004835ba
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432147
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432120
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00401b70
mov edx, dword [ebp - 0x238]
mov byte [edx], 1
cmp dword [ebp - 0x220], 8
jb 0x43215f
mov eax, dword [ebp - 0x234]
push eax
call fcn.00480102
add esp, 4
mov eax, esi
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.00480264
mov esp, ebp
pop ebp
ret 8

Function at 0x432950
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
call edx
test eax, eax
je 0x4329a4
cmp dword [esi + 8], 0
je 0x432984
mov eax, dword [esi + 0x10]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
lea edx, [esi + 0x10]
push edx
push 0
push esi
push 0x4327b0
push 0
push 0
mov dword [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
ret
Function at 0x4346f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x434713
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00434680
mov edi, dword [ebp - 0x18]
push edi
push esi
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x434787
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x54bf94
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x434787
cmp dword [ebp - 4], ebx
je 0x434787
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
cmp eax, 0x60002
ja 0x434774
jne 0x434776
cmp dword [ecx + 0xc], 0x23f0406c
jb 0x434776
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.0044a840
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x434794
push edi
call fcn.00480102
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x58d038]
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 ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x81]
xor ebx, ebx
push edx
mov dword [ebp - 0x88], ecx
push 0x104
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x81], bl
call fcn.004345c0
mov esi, dword [ebp - 0x9c]
push 0x104
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
cmp edi, 0x104
jbe 0x434ffa
push edi
lea ecx, [ebp - 0x9c]
call fcn.00434680
mov esi, dword [ebp - 0x9c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435010
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408300
push 0x55229c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.00434e70
mov edx, dword [ebp - 0x8c]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.0041af50
push str..dll
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 3
call fcn.0041af50
add esp, 0x24
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00408f40
mov edi, 0x10
cmp dword [ebp - 0x50], edi
jb 0x435087
mov edx, dword [ebp - 0x64]
push edx
call fcn.00480102
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x4350a5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480102
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x6c], edi
jb 0x4350c3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4350ce
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x435108
cmp dword [ebp - 0x18], edi
jb 0x4350ea
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00480102
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x435104
push esi
call fcn.00480102
add esp, 4
xor eax, eax
jmp 0x43514d
mov ecx, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x18], edi
jb 0x43512d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00480102
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x435147
push esi
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x88]
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.00480264
mov esp, ebp
pop ebp
ret
Function at 0x4359e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541013
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x58d038]
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
xor esi, esi
push esi
xor eax, eax
mov edi, 7
push 0x551f80
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.00401b70
xor ecx, ecx
push 0x13
mov word [ebp - 0x2c], cx
push str.HardwareAccelerated
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.00401b70
push 0x35
xor edx, edx
push str.SoftwarekingsoftOffice6.0wppApplication_Settings
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
call fcn.00401b70
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x64]
push 0x80000001
push eax
mov byte [ebp - 4], 2
call fcn.00421ef0
add esp, 0x14
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jb 0x435aa9
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x435ac6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x70], ebx
jb 0x435aea
mov edx, dword [ebp - 0x84]
push edx
call fcn.00480102
add esp, 4
mov ecx, dword [ebp - 0x54]
push 0x10
push str.AccelerationNone
push ecx
xor eax, eax
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.004014a0
test eax, eax
jne 0x435b26
cmp dword [ebp - 0x50], ebx
jb 0x435b22
mov edx, dword [ebp - 0x64]
push edx
call fcn.00480102
add esp, 4
xor al, al
jmp 0x435b56
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 0x4358f0
push esi
push esi
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], ebx
jb 0x435b54
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00480102
add esp, 4
mov al, 1
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.00480264
mov esp, ebp
pop ebp
ret