joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e8b0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
jne 0x42e8da
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049996c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
test eax, eax
jne 0x42ea0b
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 1
push ecx
call esi
push dword [ebp - 0x10]
call fcn.0049999d
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push 1
push dword [edi]
call esi
test eax, eax
je 0x42e9ac
mov esi, dword [ebx]
test esi, esi
je 0x42e9ac
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42e9ac
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42e9ac
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.004999a6
add esp, 4
test esi, esi
je 0x42e9b5
pop esi
pop ebx
mov dword [edi + 4], 1
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049996c
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004999a6
add esp, 4
push 0x220
mov ecx, edi
call fcn.0042ea20
test eax, eax
je 0x42e9fd
mov ecx, edi
call fcn.0042e790
cmp eax, 3
je 0x42e9e4
mov ecx, edi
call fcn.0042e7e0
cmp eax, 0x2000
mov eax, 2
jne 0x42e9e9
mov eax, 3
pop esi
pop ebx
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049996c
mov esp, ebp
pop ebp
ret
pop esi
mov dword [edi + 4], 4
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049996c
mov esp, ebp
pop ebp
ret
Function at 0x42ea20
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x42ebcd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 0x20
push 2
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42ebcd
push esi
mov ecx, edi
xor esi, esi
call fcn.0042e790
cmp eax, 3
jne 0x42eb54
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
mov ecx, edi
mov dword [ebp - 0x18], esi
call fcn.0042e500
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x42eba5
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x42eae0
test esi, esi
je 0x42eae0
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42eae0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x10]
jne 0x42eba5
jmp 0x42eae2
xor esi, esi
test edi, edi
je 0x42ebb0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x42eba5
mov esi, dword [ebp - 0x14]
push ebx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42eb44
test esi, esi
je 0x42eb44
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42eb44
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
push ebx
sbb esi, esi
and esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
jmp 0x42eba5
xor esi, esi
test ebx, ebx
je 0x42eb51
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
jmp 0x42eba5
mov eax, dword [edi]
test eax, eax
je 0x42ebb0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x42ebb0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x42eba3
test esi, esi
je 0x42eba3
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42eba3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x10]
jmp 0x42eba9
xor esi, esi
test edi, edi
je 0x42ebb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049996c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0049996c
mov esp, ebp
pop ebp
ret 4
Function at 0x42f4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0042ebe0
test al, al
jne 0x42f4c2
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
pop esi
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
je 0x42f50d
call fcn.0042ebe0
test al, al
je 0x42f50d
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
push 4
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0x12
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42f50d
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x42f503
cmp eax, 3
jne 0x42f50d
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ebe0
test al, al
je 0x42f4b2
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f56d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.EnableLUA
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
Function at 0x42fb40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fce1
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004306f0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
jne 0x42fb83
xor esi, esi
jmp 0x42fbec
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3894]
cmp eax, dword [ecx + 4]
jg 0x42fc44
push 0x4d387c
lea ecx, [ebp - 0x40]
call fcn.00401f70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fbdf
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413d80
add esp, 0xc
mov esi, eax
jmp 0x42fbe4
mov esi, 1
lea ecx, [ebp - 0x40]
call fcn.00401af0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42fc28
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fc1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42fc1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
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.0049996c
mov esp, ebp
pop ebp
ret
push 0x4d3894
call fcn.00499d2f
add esp, 4
cmp dword [0x4d3894], 0xffffffff
jne 0x42fba3
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push 1
push eax
call fcn.004907e0
push str.office6_
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00401590
push str.wpscloudsvr.exe
push eax
push 0x4d387c
mov byte [ebp - 4], 3
call fcn.00401590
add esp, 0x20
lea ecx, [ebp - 0x58]
call fcn.00401af0
lea ecx, [ebp - 0x70]
call fcn.00401af0
push 0x4a8150
call fcn.00499be7
push 0x4d3894
mov byte [ebp - 4], 0
call fcn.00499ce5
add esp, 8
jmp 0x42fba3
Function at 0x4306f0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fe16
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x264], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3898]
cmp eax, dword [ecx + 4]
jg 0x430963
cmp dword [0x4ce098], 0
jne 0x430939
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x430939
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x238], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
jmp 0x4307b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4307b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00404580
push 0x12
xor eax, eax
mov dword [ebp - 0x230], 0
push str.Kingsoftoffice6_
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00404580
push str.wpscloudsvr.exe
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00401590
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x430840
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00401cd0
cmp eax, 0x4ce088
je 0x43086b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43085f
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x4ce088
call fcn.00404580
lea ecx, [ebp - 0x260]
call fcn.00401af0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4308b6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4308ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43090c
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43091c
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430912
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x430912
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x4ce088
mov ecx, esi
call fcn.00401f70
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.0049996c
mov esp, ebp
pop ebp
ret 4
push 0x4d3898
call fcn.00499d2f
add esp, 4
cmp dword [0x4d3898], 0xffffffff
jne 0x430745
push 0x4a81b0
call fcn.00499be7
push 0x4d3898
call fcn.00499ce5
add esp, 8
jmp 0x430745
Function at 0x430f80
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x430fef
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 1
je 0x430ff2
cmp esi, edi
ja 0x430ff2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
add eax, 0xa
add esi, eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x430fc3
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp ecx, 1
mov ecx, dword [ebp - 4]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0049996c
mov esp, ebp
pop ebp
ret 8
Function at 0x4314f0
Capabilities:
Delete service

Disassembly:
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4315a4
cmp edi, 0xffffffff
je 0x4315a4
push 0xf01ff
push str.wpscloudsvr
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x43157b
cmp esi, 0xffffffff
je 0x43157b
push 0x1388
push esi
mov ecx, ebx
call fcn.00430f80
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, eax
test ecx, ecx
jne 0x43155d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x430
sete cl
xor eax, eax
mov ebx, 0x50005
test ecx, ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmovne ebx, eax
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
test esi, esi
je 0x4315bb
cmp esi, 0xffffffff
je 0x4315bb
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
test edi, edi
je 0x4315c4
cmp edi, 0xffffffff
je 0x4315c4
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4318f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d389c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x431927
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x4d389c]
inc eax
mov dword [0x4d389c], eax
call fcn.004110c0
test eax, eax
je 0x431a7b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3924]
cmp eax, dword [ecx + 4]
jg 0x431a9e
push esi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
push 0xa
push 0x10
push 0x4d38a0
push dword [0x4d3920]
call esi
push 0xa
push 0x20
mov eax, edi
cdq
push 0x4d38e0
push edx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64tow_s]
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xa
push 0x10
push 0x4d38c0
push eax
call esi
mov ecx, 8
mov dword [0x4d3930], 1
mov esi, str.kcrashdumper.exe
mov dword [0x4d392c], 0
lea edi, [ebp - 0x28]
mov dword [0x4d3928], 0xc
rep movsd dword es:[edi], dword [esi]
add esp, 0x10
lea eax, [ebp - 0x28]
movsw word es:[edi], word [esi]
push eax
call fcn.004110c0
push eax
push str._s_s
push 0x4d3938
call fcn.004315d0
call fcn.00411460
push eax
push 0x4d38e0
push 0x4d38c0
push 0x4d38a0
push str._pid_s__tid_s__exp_s__callfrom1__module_s
push 0x4d4138
call fcn.00431610
push 0x4d527c
push 0x4d5238
push 0
push 0
push 1
push 0
mov eax, 0xa
mov dword [0x4d5238], 0x44
push 0x4d4138
push 0x4d3938
mov dword [0x4d5264], 1
mov word [0x4d5268], ax
call fcn.00493150
add esp, 0x48
mov dword [0x4d528c], eax
test eax, eax
je 0x431a7a
push 0xffffffffffffffff
push dword [0x4d527c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4d5280]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4d527c]
call esi
pop esi
call fcn.00431ae0
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049996c
mov esp, ebp
pop ebp
ret
push 0x4d3924
call fcn.00499d2f
add esp, 4
cmp dword [0x4d3924], 0xffffffff
jne 0x43195a
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x4d3924
mov dword [0x4d3920], eax
call fcn.00499ce5
add esp, 4
jmp 0x43195a
Function at 0x431ae0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ffbd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4ce4bc]
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.004110c0
test eax, eax
je 0x431c34
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401960
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], ecx
cmp eax, 8
jb 0x431c2c
add eax, 0xfffffff9
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x5c], edx
sub edx, eax
mov esi, 0
sar edx, 1
je 0x431b75
cmp word [eax], 0x2f
je 0x431b73
cmp edx, 1
je 0x431b75
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x431b64
mov esi, eax
mov eax, esi
test eax, eax
je 0x431c2c
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 8
mov ecx, str._nativex
cmp edx, edi
jb 0x431bb4
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x431bb4
cmp esi, 1
je 0x431bbc
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x431b9c
mov edx, dword [ebp - 0x5c]
add eax, 2
jmp 0x431b53
sub eax, dword [ebp - 0x60]
sar eax, 1
cmp eax, 0xffffffff
je 0x431c2c
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0048fd50
push str._addonsjsapi_nativex.dll
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00401590
add esp, 0x14
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401af0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x431c24
push str.ProcNativeXCrash
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431c1d
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x40]
call fcn.00401af0
lea ecx, [ebp - 0x28]
call fcn.00401af0
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.0049996c
mov esp, ebp
pop ebp
ret
Function at 0x432210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0055
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ce4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0xc]
push esi
call fcn.00432430
xor eax, eax
mov dword [edi], vtable.KClientHostSplashShow.0
mov dword [edi + 0x98], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
cmp byte [0x4d58f8], al
je 0x432293
mov eax, 1
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a]
push eax
push 0x4ac4b4
push str.KClientHostSplashShow
push 1
call fcn.0045b9e0
add esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 1
mov al, byte [ebx + 0x80]
mov byte [edi + 0x9c], al
cmp byte [ebx], 0
je 0x4323f4
cmp byte [ebx + 0x83], 0
jne 0x4323f4
push 0
mov dword [edi + 0x20], 1
call fcn.0048efd0
add esp, 4
test al, al
je 0x4322f1
test esi, esi
je 0x4322eb
cmp esi, 1
je 0x4322eb
cmp esi, 2
je 0x4322eb
cmp esi, 3
jne 0x4322f1
test byte [ebx + 8], 0x1f
jmp 0x4322f5
cmp dword [ebx + 8], 0
je 0x4322fe
mov dword [edi + 0x20], 0
cmp dword [ebx + 0xc8], 0
je 0x43230e
mov dword [edi + 0x20], 0
cmp dword [ebx + 4], 0
jne 0x432326
cmp dword [ebx + 0x28], 1
je 0x432326
cmp dword [ebx + 0x10], 1
je 0x432326
cmp byte [ebx + 0x7e], 0
je 0x43232d
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x30], 0
je 0x43238a
call fcn.00436f40
test al, al
je 0x432383
cmp dword [edi + 0x24], 1
jne 0x43238a
cmp dword [ebx + 0x30], 1
jne 0x43238a
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x43238a
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.00438510
cmp eax, 0xffffffff
jne 0x432383
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.00438510
cmp eax, 0xffffffff
jne 0x432383
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebx + 0x2c]
jne 0x432351
jmp 0x43238a
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x10], 1
jne 0x4323f4
test byte [ebx + 8], 0x1f
je 0x4323f4
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
push 1
push ebx
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4323eb
lea eax, [ebp - 0x10]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], 4
push eax
push ebx
push ebx
push str.oleForceShowSplash
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4323e2
cmp dword [ebp + 8], ebx
setne bl
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 0x98], ebx
mov dword [edi + 0x20], ebx
cmp byte [0x4d58f8], 0
mov byte [ebp - 4], 2
je 0x432412
push dword [ebp - 0x18]
push dword [ebp - 0x1a]
push dword [ebp - 0x1c]
call fcn.0045ba40
add esp, 0xc
mov eax, edi
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 0x432430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a009b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ce4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
fld qword [0x4ad8d0]
mov dword [esi], vtable.KHostSplashShow.0
mov dword [esi + 8], 0
mov dword [esi + 0x24], eax
xor eax, eax
fstp qword [esi + 0x28]
mov byte [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 7
mov word [esi + 0x44], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 7
mov word [esi + 0x70], ax
push eax
mov byte [ebp - 4], 1
mov word [esi + 0x88], ax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00438980
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4