joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e990
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 0x42e9ba
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049920c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
test eax, eax
jne 0x42eaeb
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.0049923d
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 0x42ea8c
mov esi, dword [ebx]
test esi, esi
je 0x42ea8c
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42ea8c
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 0x42ea8c
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.00499246
add esp, 4
test esi, esi
je 0x42ea95
pop esi
pop ebx
mov dword [edi + 4], 1
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049920c
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00499246
add esp, 4
push 0x220
mov ecx, edi
call fcn.0042eb00
test eax, eax
je 0x42eadd
mov ecx, edi
call fcn.0042e870
cmp eax, 3
je 0x42eac4
mov ecx, edi
call fcn.0042e8c0
cmp eax, 0x2000
mov eax, 2
jne 0x42eac9
mov eax, 3
pop esi
pop ebx
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049920c
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.0049920c
mov esp, ebp
pop ebp
ret
Function at 0x42eb00
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 0x42ecad
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 0x42ecad
push esi
mov ecx, edi
xor esi, esi
call fcn.0042e870
cmp eax, 3
jne 0x42ec34
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
mov ecx, edi
mov dword [ebp - 0x18], esi
call fcn.0042e5e0
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x42ec85
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x42ebc0
test esi, esi
je 0x42ebc0
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42ebc0
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 0x42ec85
jmp 0x42ebc2
xor esi, esi
test edi, edi
je 0x42ec90
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 0x42ec85
mov esi, dword [ebp - 0x14]
push ebx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42ec24
test esi, esi
je 0x42ec24
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42ec24
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 0x42ec85
xor esi, esi
test ebx, ebx
je 0x42ec31
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
jmp 0x42ec85
mov eax, dword [edi]
test eax, eax
je 0x42ec90
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 0x42ec90
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x42ec83
test esi, esi
je 0x42ec83
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42ec83
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 0x42ec89
xor esi, esi
test edi, edi
je 0x42ec90
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.0049920c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0049920c
mov esp, ebp
pop ebp
ret 4
Function at 0x42f580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0042ecc0
test al, al
jne 0x42f5a2
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 0x42f5ed
call fcn.0042ecc0
test al, al
je 0x42f5ed
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 0x42f5ed
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x42f5e3
cmp eax, 3
jne 0x42f5ed
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ecc0
test al, al
je 0x42f592
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 0x42f64d
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 0x42fc20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f591
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.004307d0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
jne 0x42fc63
xor esi, esi
jmp 0x42fccc
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6dc4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d38a4]
cmp eax, dword [ecx + 4]
jg 0x42fd24
push 0x4d388c
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 0x42fcbf
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413bd0
add esp, 0xc
mov esi, eax
jmp 0x42fcc4
mov esi, 1
lea ecx, [ebp - 0x40]
call fcn.00401af0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42fd08
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fcfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42fcfe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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.0049920c
mov esp, ebp
pop ebp
ret
push 0x4d38a4
call fcn.004995cf
add esp, 4
cmp dword [0x4d38a4], 0xffffffff
jne 0x42fc83
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push 1
push eax
call fcn.00490270
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 0x4d388c
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 0x4a7a00
call fcn.00499487
push 0x4d38a4
mov byte [ebp - 4], 0
call fcn.00499585
add esp, 8
jmp 0x42fc83
Function at 0x4307d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6c6
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 [0x4d6dc4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x264], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d38a8]
cmp eax, dword [ecx + 4]
jg 0x430a43
cmp dword [0x4ce098], 0
jne 0x430a19
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 0x430a19
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 0x430890
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430890
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 0x430920
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00401cd0
cmp eax, 0x4ce088
je 0x43094b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43093f
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 0x430996
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43098c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4309ec
push edx
push ecx
call fcn.004991fe
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 0x4309fc
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4309f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4309f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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.0049920c
mov esp, ebp
pop ebp
ret 4
push 0x4d38a8
call fcn.004995cf
add esp, 4
cmp dword [0x4d38a8], 0xffffffff
jne 0x430825
push 0x4a7a60
call fcn.00499487
push 0x4d38a8
call fcn.00499585
add esp, 8
jmp 0x430825
Function at 0x431060
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 0x4310cf
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 1
je 0x4310d2
cmp esi, edi
ja 0x4310d2
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 0x4310a3
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.0049920c
mov esp, ebp
pop ebp
ret 8
Function at 0x4315d0
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 0x431684
cmp edi, 0xffffffff
je 0x431684
push 0xf01ff
push str.wpscloudsvr
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x43165b
cmp esi, 0xffffffff
je 0x43165b
push 0x1388
push esi
mov ecx, ebx
call fcn.00431060
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, eax
test ecx, ecx
jne 0x43163d
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 0x43169b
cmp esi, 0xffffffff
je 0x43169b
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 0x4316a4
cmp edi, 0xffffffff
je 0x4316a4
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4319d0
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 [0x4d38ac]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x431a07
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x4d38ac]
inc eax
mov dword [0x4d38ac], eax
call fcn.004110c0
test eax, eax
je 0x431b5b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6dc4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3934]
cmp eax, dword [ecx + 4]
jg 0x431b7e
push esi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
push 0xa
push 0x10
push 0x4d38b0
push dword [0x4d3930]
call esi
push 0xa
push 0x20
mov eax, edi
cdq
push 0x4d38f0
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 0x4d38d0
push eax
call esi
mov ecx, 8
mov dword [0x4d3940], 1
mov esi, str.kcrashdumper.exe
mov dword [0x4d393c], 0
lea edi, [ebp - 0x28]
mov dword [0x4d3938], 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 0x4d3948
call fcn.004316b0
call fcn.00411460
push eax
push 0x4d38f0
push 0x4d38d0
push 0x4d38b0
push str._pid_s__tid_s__exp_s__callfrom1__module_s
push 0x4d4148
call fcn.004316f0
push 0x4d528c
push 0x4d5248
push 0
push 0
push 1
push 0
mov eax, 0xa
mov dword [0x4d5248], 0x44
push 0x4d4148
push 0x4d3948
mov dword [0x4d5274], 1
mov word [0x4d5278], ax
call fcn.00492be0
add esp, 0x48
mov dword [0x4d529c], eax
test eax, eax
je 0x431b5a
push 0xffffffffffffffff
push dword [0x4d528c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4d5290]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4d528c]
call esi
pop esi
call fcn.00431bc0
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.0049920c
mov esp, ebp
pop ebp
ret
push 0x4d3934
call fcn.004995cf
add esp, 4
cmp dword [0x4d3934], 0xffffffff
jne 0x431a3a
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x4d3934
mov dword [0x4d3930], eax
call fcn.00499585
add esp, 4
jmp 0x431a3a
Function at 0x431bc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f86d
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 0x431d14
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 0x431d0c
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 0x431c55
cmp word [eax], 0x2f
je 0x431c53
cmp edx, 1
je 0x431c55
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x431c44
mov esi, eax
mov eax, esi
test eax, eax
je 0x431d0c
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 8
mov ecx, str._nativex
cmp edx, edi
jb 0x431c94
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x431c94
cmp esi, 1
je 0x431c9c
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x431c7c
mov edx, dword [ebp - 0x5c]
add eax, 2
jmp 0x431c33
sub eax, dword [ebp - 0x60]
sar eax, 1
cmp eax, 0xffffffff
je 0x431d0c
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0048f7e0
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 0x431d04
push str.ProcNativeXCrash
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431cfd
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.0049920c
mov esp, ebp
pop ebp
ret
Function at 0x4322f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f905
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.00432510
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 [0x4d5908], al
je 0x432373
mov eax, 1
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a]
push eax
push 0x4ac4ac
push str.KClientHostSplashShow
push 1
call fcn.0045bda0
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 0x4324d4
cmp byte [ebx + 0x83], 0
jne 0x4324d4
push 0
mov dword [edi + 0x20], 1
call fcn.0048ea60
add esp, 4
test al, al
je 0x4323d1
test esi, esi
je 0x4323cb
cmp esi, 1
je 0x4323cb
cmp esi, 2
je 0x4323cb
cmp esi, 3
jne 0x4323d1
test byte [ebx + 8], 0x1f
jmp 0x4323d5
cmp dword [ebx + 8], 0
je 0x4323de
mov dword [edi + 0x20], 0
cmp dword [ebx + 0xc8], 0
je 0x4323ee
mov dword [edi + 0x20], 0
cmp dword [ebx + 4], 0
jne 0x432406
cmp dword [ebx + 0x28], 1
je 0x432406
cmp dword [ebx + 0x10], 1
je 0x432406
cmp byte [ebx + 0x7e], 0
je 0x43240d
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x30], 0
je 0x43246a
call fcn.00437030
test al, al
je 0x432463
cmp dword [edi + 0x24], 1
jne 0x43246a
cmp dword [ebx + 0x30], 1
jne 0x43246a
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x43246a
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.00438600
cmp eax, 0xffffffff
jne 0x432463
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.00438600
cmp eax, 0xffffffff
jne 0x432463
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebx + 0x2c]
jne 0x432431
jmp 0x43246a
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x10], 1
jne 0x4324d4
test byte [ebx + 8], 0x1f
je 0x4324d4
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 0x4324cb
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 0x4324c2
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 [0x4d5908], 0
mov byte [ebp - 4], 2
je 0x4324f2
push dword [ebp - 0x18]
push dword [ebp - 0x1a]
push dword [ebp - 0x1c]
call fcn.0045be00
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 0x432510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f94b
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 [0x4ad8c8]
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_GetModuleHandleA]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00438a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4