Function at 0x42e370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4945e7
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x4bf434]
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 ebx, ecx
mov dword [ebp - 0x764], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x77c], eax
lea eax, [ebp - 0x778]
push eax
call fcn.0042c760
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x58]
add esp, 4
push eax
call fcn.0042b030
xor eax, eax
mov dword [ebp - 4], 0
push str.pdfmain.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403d90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0042b050
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42e445
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e43b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e43b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x42e453
or ebx, 0xffffffff
jmp 0x42ea30
mov dword [ebp - 0x784], 0
mov dword [ebp - 0x780], 0
push 0x3c8
mov byte [ebp - 4], 4
call fcn.00488004
add esp, 4
mov dword [ebp - 0x758], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42e491
mov ecx, eax
call fcn.0042b710
mov esi, eax
jmp 0x42e493
xor esi, esi
mov dword [ebp - 0x758], esi
push 0x10
mov byte [ebp - 4], 6
call fcn.00488004
mov edi, eax
add esp, 4
mov dword [ebp - 0x758], edi
test edi, edi
je 0x42e4cc
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_struct_KClientStartupInfo_.0
mov dword [edi + 0xc], esi
jmp 0x42e4ce
xor edi, edi
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x784], esi
mov dword [ebp - 0x780], edi
call fcn.0042dd20
mov dword [esi + 0x3c4], eax
mov eax, dword [ebp - 0x778]
mov dword [esi + 0x380], eax
mov eax, dword [ebp - 0x774]
mov dword [esi + 0x384], eax
call fcn.00474a20
mov ecx, dword [0x4c4d68]
test al, al
lea eax, [ebp - 0x28]
cmovne ecx, dword [0x4c4d64]
push ecx
push eax
call fcn.00424060
mov ecx, eax
lea ebx, [esi + 0x64]
add esp, 8
mov dword [ebp - 0x774], ecx
cmp ebx, ecx
je 0x42e5be
mov edx, dword [ebx + 0x14]
cmp edx, 8
jb 0x42e576
mov eax, dword [ebx]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x42e566
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5ea
mov eax, edx
push ecx
push eax
call fcn.00488034
mov ecx, dword [ebp - 0x774]
add esp, 8
mov dword [ebx + 0x10], 0
xor eax, eax
mov word [ebx], ax
mov dword [ebx + 0x14], 7
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42e5fa
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e5f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e5f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov ebx, dword [ebp - 0x764]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 4]
call fcn.004030b0
mov ecx, eax
call fcn.00402470
mov ecx, eax
call fcn.00405010
push esi
push eax
mov byte [ebp - 4], 7
call fcn.0041e3a0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401bb0
push esi
push dword [0x4c4d64]
call fcn.004245e0
push esi
push 0
push dword [0x4c4d64]
call fcn.0041d130
push esi
push dword [0x4c4d64]
call fcn.00424260
add esp, 0x1c
cmp dword [esi + 0xbc], 2
je 0x42eaac
cmp byte [esi], 0
je 0x42eaac
mov dword [ebp - 0x774], 0
cmp byte [esi + 0x7f], 0
mov byte [ebp - 4], 8
jne 0x42e6cf
push 1
call fcn.00478770
add esp, 4
test al, al
je 0x42e6cf
push 0x98
call fcn.00488004
add esp, 4
mov dword [ebp - 0x758], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42e6bc
push 3
push esi
mov ecx, eax
call fcn.0043b7f0
jmp 0x42e6be
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x774], eax
call fcn.00440550
mov ecx, ebx
call fcn.0042da90
test al, al
je 0x42e6f9
push str.SetProcessDEPPolicy
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e6f9
push 3
call eax
sub esp, 8
mov dword [ebp - 0x758], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x42e719
lock inc dword [edi + 4]
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [ebx + 4]
mov byte [ebp - 4], 0xa
call fcn.00403320
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00425ad0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x4a1e3c
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x750]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.004429d0
xor eax, eax
mov byte [ebp - 4], 0xb
cmp byte [0x4c6b68], al
mov dword [ebp - 0x75c], eax
mov word [ebp - 0x758], ax
mov eax, 1
je 0x42e7a1
mov word [ebp - 0x75c], ax
lea eax, [ebp - 0x758]
push eax
lea eax, [ebp - 0x75a]
push eax
push 0x49dd09
push str.PdfPreReadImage
push 1
call fcn.0044c670
add esp, 0x14
lea eax, [ebp - 0x768]
mov byte [ebp - 4], 0xc
push eax
call fcn.0042ddf0
add esp, 4
lea ecx, [ebp - 0x750]
call fcn.00444720
mov byte [ebp - 0x75d], al
lea eax, [ebp - 0x18]
push eax
call fcn.0042ddf0
add esp, 4
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x768]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x764]
push 0
push 0xf4240
push eax
push ecx
call fcn.00488640
mov dword [esi + 0x388], eax
mov dword [esi + 0x38c], edx
cmp byte [0x4c6b68], 0
mov byte [ebp - 4], 0xd
je 0x42e823
push dword [ebp - 0x758]
push dword [ebp - 0x75a]
push dword [ebp - 0x75c]
call fcn.0044c6d0
add esp, 0xc
push 0x4c4d88
push 0x4c4d90
push 0x431130
push 0x4a2734
call fcn.004311a0
cmp dword [0x4c4db4], 0
je 0x42e85e
push 0x4a2788
push dword [0x4c4d8c]
push dword [0x4c4d88]
call fcn.004311e0
add esp, 0xc
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 8
call fcn.00442c70
cmp byte [ebp - 0x75d], 0
mov byte [ebp - 0x751], 0
je 0x42e8f6
push 0x20
call fcn.00488004
mov ecx, eax
add esp, 4
mov dword [ebp - 0x758], ecx
test ecx, ecx
je 0x42e8b2
xor eax, eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
mov dword [ecx], 5
mov dword [ecx + 0x1c], eax
jmp 0x42e8b4
xor ecx, ecx
cmp byte [ebx + 0x14], 0
mov byte [ebp - 4], 8
jne 0x42e8ef
cmp dword [ebx + 0xc], 0xffffffff
jne 0x42e8ef
lea eax, [ebx + 0x10]
push eax
push 0
push ecx
push 0x42c300
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0xc], eax
test eax, eax
mov byte [ebx + 0x14], 1
setne byte [ebp - 0x751]
jmp 0x42e8f6
mov byte [ebp - 0x751], 0
xor eax, eax
mov dword [ebp - 0x770], eax
mov word [ebp - 0x76c], ax
cmp byte [0x4c6b68], al
je 0x42e93b
mov eax, 1
mov word [ebp - 0x770], ax
lea eax, [ebp - 0x76c]
push eax
lea eax, [ebp - 0x76e]
push eax
push 0x49dd09
push str.KRunTimeProtector
push 1
call fcn.0044c670
add esp, 0x14
lea ecx, [ebp - 0x75e]
mov byte [ebp - 4], 0x10
call fcn.0043acc0
lea ecx, [ebp - 0x75e]
call fcn.00407cf0
cmp byte [0x4c6b68], 0
mov byte [ebp - 4], 0x11
je 0x42e97c
push dword [ebp - 0x76c]
push dword [ebp - 0x76e]
push dword [ebp - 0x770]
call fcn.0044c6d0
add esp, 0xc
or eax, 0xffffffff
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x764], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x774]
mov dword [ebx + 8], eax
test eax, eax
je 0x42e9e7
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x758], eax
test eax, eax
je 0x42e9e7
mov ecx, 0x4c4d84
call fcn.00434c80
push eax
call fcn.00434d30
push esi
push dword [ebp - 0x77c]
push dword [ebp + 8]
call dword [ebp - 0x758]
add esp, 0x10
mov dword [ebp - 0x764], eax
cmp byte [ebp - 0x751], 0
je 0x42e9f8
lea ecx, [ebx + 0xc]
call fcn.0042dce0
test esi, esi
je 0x42ea05
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
mov ebx, dword [ebp - 0x764]
test edi, edi
je 0x42ea30
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42ea30
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x42ea30
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42ea66
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ea5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eaa6
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x42eabd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eab3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42eab3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor ebx, ebx
jmp 0x42ea0b
push edx
push ecx
call fcn.00488034
add esp, 8
mov eax, ebx
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.00488042
mov esp, ebp
pop ebp
ret 8