Function at 0x445290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fc3f
mov eax, dword fs:[0]
push eax
sub esp, 0x794
mov eax, dword [0x4b74b0]
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 - 0x77c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x790], eax
lea eax, [ebp - 0x78c]
push eax
call fcn.00442820
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x58]
add esp, 4
push eax
call fcn.0044a2f0
push 0xb
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.00404550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0044a310
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x445367
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44535d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44535d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x445375
or ebx, 0xffffffff
jmp 0x445a42
mov dword [ebp - 0x798], 0
mov dword [ebp - 0x794], 0
push 0x440
mov byte [ebp - 4], 4
call fcn.00487839
add esp, 4
mov dword [ebp - 0x770], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4453b3
mov ecx, eax
call fcn.004416c0
mov esi, eax
jmp 0x4453b5
xor esi, esi
mov dword [ebp - 0x770], esi
push 0x10
mov byte [ebp - 4], 6
call fcn.00487839
mov edi, eax
add esp, 4
mov dword [ebp - 0x770], edi
test edi, edi
je 0x4453ee
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 0x4453f0
xor edi, edi
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x798], esi
mov dword [ebp - 0x794], edi
call fcn.00444cc0
mov dword [esi + 0x43c], eax
mov eax, dword [ebp - 0x78c]
mov dword [esi + 0x3f8], eax
mov eax, dword [ebp - 0x788]
mov dword [esi + 0x3fc], eax
call fcn.00478cd0
mov ecx, dword [0x4be620]
test al, al
lea eax, [ebp - 0x28]
cmovne ecx, dword [0x4be61c]
push ecx
push eax
call fcn.00424360
mov ecx, eax
lea ebx, [esi + 0x64]
add esp, 8
mov dword [ebp - 0x788], ecx
cmp ebx, ecx
je 0x4454e0
mov edx, dword [ebx + 0x14]
cmp edx, 8
jb 0x445498
mov eax, dword [ebx]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x445488
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44550c
mov eax, edx
push ecx
push eax
call fcn.00487869
mov ecx, dword [ebp - 0x788]
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 0x44551c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x445512
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
mov ebx, dword [ebp - 0x77c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 4]
call fcn.004038a0
mov ecx, eax
call fcn.00402430
mov ecx, eax
call fcn.004058f0
push esi
push eax
mov byte [ebp - 4], 7
call fcn.0041e020
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401b20
call fcn.004449b0
test al, al
je 0x44566e
cmp dword [esi + 0x30], 1
jne 0x44566e
mov eax, dword [esi + 0x2c]
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00401ff0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x496988
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.004053b0
add esp, 0x14
cmp eax, 1
je 0x4455fc
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d920
push eax
lea ecx, [ebp - 0x28]
call fcn.004023e0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4455fc
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4455f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4455f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str..pdf
call fcn.00447350
add esp, 8
test eax, eax
jne 0x44561d
xor ebx, ebx
jmp 0x445629
jle 0x445626
mov ebx, 1
jmp 0x445629
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x445a1d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44565f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44565f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
jmp 0x445a1d
push esi
push dword [0x4be61c]
call fcn.004248d0
push esi
push 0
push dword [0x4be61c]
call fcn.0041ccd0
push esi
push dword [0x4be61c]
call fcn.00424560
add esp, 0x1c
cmp dword [esi + 0xbc], 2
je 0x445a1b
cmp byte [esi], 0
je 0x445a1b
mov dword [ebp - 0x788], 0
cmp byte [esi + 0x7f], 0
mov byte [ebp - 4], 9
jne 0x445709
push 1
call fcn.0047f3a0
add esp, 4
test al, al
je 0x445709
push 0xa0
call fcn.00487839
add esp, 4
mov dword [ebp - 0x770], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4456f6
push 3
push esi
mov ecx, eax
call fcn.004301d0
jmp 0x4456f8
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x788], eax
call fcn.004360a0
sub esp, 8
mov dword [ebp - 0x770], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x445729
lock inc dword [edi + 4]
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [ebx + 4]
mov byte [ebp - 4], 0xb
call fcn.00403b10
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0041b9e0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x498e4c
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x768]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.00438600
xor eax, eax
mov byte [ebp - 4], 0xc
cmp byte [0x4be660], al
mov dword [ebp - 0x774], eax
mov word [ebp - 0x770], ax
mov eax, 1
je 0x4457b1
mov word [ebp - 0x774], ax
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0x772]
push eax
push 0x496e29
push str.PdfPreReadImage
push 1
call fcn.0044f3d0
add esp, 0x14
lea eax, [ebp - 0x7a0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00434d20
add esp, 4
lea ecx, [ebp - 0x768]
call fcn.0043a350
mov byte [ebp - 0x775], al
lea eax, [ebp - 0x18]
push eax
call fcn.00434d20
add esp, 4
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x7a0]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x79c]
push 0
push 0xf4240
push eax
push ecx
call fcn.004880c0
mov dword [esi + 0x400], eax
mov dword [esi + 0x404], edx
cmp byte [0x4be660], 0
mov byte [ebp - 4], 0xe
je 0x445833
push dword [ebp - 0x770]
push dword [ebp - 0x772]
push dword [ebp - 0x774]
call fcn.0044f430
add esp, 0xc
push 0x4be398
push 0x4be3a0
push 0x448d10
push 0x49ab64
call fcn.00448d80
cmp dword [0x4be3c4], 0
je 0x44586e
push 0x49abb8
push dword [0x4be39c]
push dword [0x4be398]
call fcn.00448dc0
add esp, 0xc
lea ecx, [ebp - 0x768]
mov byte [ebp - 4], 9
call fcn.004388a0
cmp byte [ebp - 0x775], 0
mov byte [ebp - 0x769], 0
je 0x445906
push 0x20
call fcn.00487839
mov ecx, eax
add esp, 4
mov dword [ebp - 0x770], ecx
test ecx, ecx
je 0x4458c2
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 0x4458c4
xor ecx, ecx
cmp byte [ebx + 0x14], 0
mov byte [ebp - 4], 9
jne 0x4458ff
cmp dword [ebx + 0xc], 0xffffffff
jne 0x4458ff
lea eax, [ebx + 0x10]
push eax
push 0
push ecx
push 0x4423c0
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 - 0x769]
jmp 0x445906
mov byte [ebp - 0x769], 0
xor eax, eax
mov dword [ebp - 0x784], eax
mov word [ebp - 0x780], ax
cmp byte [0x4be660], al
je 0x44594b
mov eax, 1
mov word [ebp - 0x784], ax
lea eax, [ebp - 0x780]
push eax
lea eax, [ebp - 0x782]
push eax
push 0x496e29
push str.KRunTimeProtector
push 1
call fcn.0044f3d0
add esp, 0x14
lea ecx, [ebp - 0x776]
mov byte [ebp - 4], 0x11
call fcn.0042f680
lea ecx, [ebp - 0x776]
call fcn.00408600
cmp byte [0x4be660], 0
mov byte [ebp - 4], 0x12
je 0x44598c
push dword [ebp - 0x780]
push dword [ebp - 0x782]
push dword [ebp - 0x784]
call fcn.0044f430
add esp, 0xc
or ebx, 0xffffffff
mov byte [ebp - 4], 9
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, dword [ebp - 0x788]
mov ecx, eax
mov eax, dword [ebp - 0x77c]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x4459fb
push str.xmain
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x770], eax
test eax, eax
je 0x4459f5
mov ecx, 0x4be390
call fcn.00429180
push eax
call fcn.00429230
push esi
push dword [ebp - 0x790]
push dword [ebp + 8]
call dword [ebp - 0x770]
add esp, 0x10
mov ebx, eax
mov eax, dword [ebp - 0x77c]
cmp byte [ebp - 0x769], 0
je 0x445a0c
lea ecx, [eax + 0xc]
call fcn.00444c80
test esi, esi
je 0x445a1d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
jmp 0x445a1d
xor ebx, ebx
test edi, edi
je 0x445a42
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x445a42
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x445a42
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x445a78
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445a6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445ab8
push edx
push ecx
call fcn.00487869
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 0x445ac8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x445abe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
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.00487877
mov esp, ebp
pop ebp
ret 8