Function at 0x402260
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422c11
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x430038]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404b00
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0xffffffffffffffff
call dword [sym.imp.IMM32.dll_ImmDisableIME]
mov eax, dword [ebp + 8]
mov dword [0x43008c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4022b6
sub edx, esi
mov ecx, 0x430094
sar edx, 1
push edx
push eax
call fcn.00407aa0
push dword [0x43008c]
push 0x430094
call fcn.00404e30
test al, al
jne 0x40250c
call fcn.004143a0
push 0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x402505
push 0x98
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00407170
mov edx, 0x427620
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00408430
mov edx, 0x42760c
mov ecx, eax
call fcn.00408430
call fcn.004143a0
push 4
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x4024be
call fcn.004143a0
push 4
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov ebx, eax
mov esi, 0x2000
mov ecx, dword [ebx + 0x20]
sub esi, ecx
lea eax, [ecx + ebx]
mov dword [ebp - 0x160], eax
lea edi, [eax + 0x24]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004070b0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4023a7
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x17c]
mov edx, eax
call fcn.004020b0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0x10
jb 0x4023c4
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x164], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023d0
sub ecx, dword [ebp - 0x164]
cmp ecx, esi
cmovbe esi, ecx
test esi, esi
je 0x4023ff
mov edi, dword [ebp - 0x160]
push esi
push edx
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x24
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x40243b
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402431
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp edx, 8
jb 0x40249c
mov ecx, dword [ebp - 0x194]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402492
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov eax, dword [ebp - 0x160]
add eax, 0x24
sub edi, eax
add dword [ebx + 0x20], edi
call fcn.004143a0
push 0x2e
push str.e:zhanluepdfconverter_srcpreviewworker_rcpreviewworker.cpp
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xc0]
call fcn.004077b0
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
jmp 0x402e8d
lea eax, [ebp - 0x17c]
push 0
push eax
call fcn.004208d0
add esp, 8
push 0xf
push str.2345Preview.dll
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00407c00
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406d70
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x168]
cmp edx, 8
jb 0x402581
mov ecx, dword [ebp - 0x17c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402577
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x16c], 0
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x17c], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x168], 7
call fcn.0041f790
mov ecx, eax
call fcn.0041f760
test al, al
jne 0x4027b5
call fcn.004143a0
push 0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x402e49
push 0x98
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00407170
mov byte [ebp - 4], 5
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xc4]
mov edx, 0x427620
cmovae esi, dword [ebp - 0x2c]
call fcn.00408430
mov edx, esi
mov ecx, eax
call fcn.00408430
mov edx, str.peW__rT_h
mov ecx, eax
call fcn.00408430
call fcn.004143a0
push 4
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x4027a3
call fcn.004143a0
push 4
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov ebx, eax
mov esi, 0x2000
mov ecx, dword [ebx + 0x20]
sub esi, ecx
lea eax, [ecx + ebx]
mov dword [ebp - 0x160], eax
lea edi, [eax + 0x24]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004070b0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40268d
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x17c]
mov edx, eax
call fcn.004020b0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0x10
jb 0x4026aa
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x164], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4026b5
sub ecx, dword [ebp - 0x164]
cmp ecx, esi
cmovbe esi, ecx
test esi, esi
je 0x4026e4
mov edi, dword [ebp - 0x160]
push esi
push edx
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x24
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x402720
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402716
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402716
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp edx, 8
jb 0x402781
mov ecx, dword [ebp - 0x194]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402777
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov eax, dword [ebp - 0x160]
add eax, 0x24
sub edi, eax
add dword [ebx + 0x20], edi
call fcn.004143a0
push 0x37
push str.e:zhanluepdfconverter_srcpreviewworker_rcpreviewworker.cpp
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [ebp - 0xc4]
call fcn.00402eb0
xor bl, bl
jmp 0x402e4f
lea eax, [ebp - 0x194]
push eax
call fcn.0041f840
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4027cc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x180]
cmp edx, 8
jb 0x402815
mov ecx, dword [ebp - 0x194]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40280b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40280b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 8
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x430090], eax
test eax, eax
jne 0x402a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.004143a0
push 0
push 0
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
call edx
test al, al
je 0x402e49
push 0x98
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00407170
mov byte [ebp - 4], 7
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edx, 0x4276b4
push edi
cmovae esi, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00408430
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
mov edx, 0x4276b0
mov ecx, eax
call fcn.00408070
mov edx, esi
mov ecx, eax
call fcn.00408430
mov edx, 0x4276a0
mov ecx, eax
call fcn.00408430
call fcn.004143a0
push 4
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x4027a3
call fcn.004143a0
push 4
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov ebx, eax
mov esi, 0x2000
mov ecx, dword [ebx + 0x20]
sub esi, ecx
lea eax, [ecx + ebx]
mov dword [ebp - 0x160], eax
lea edi, [eax + 0x24]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004070b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x402928
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x17c]
mov edx, eax
call fcn.004020b0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0x10
jb 0x402945
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x164], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402950
sub ecx, dword [ebp - 0x164]
cmp ecx, esi
cmovbe esi, ecx
test esi, esi
je 0x40297f
mov edi, dword [ebp - 0x160]
push esi
push edx
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x24
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x4029bb
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4029b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp edx, 8
jb 0x402a1c
mov ecx, dword [ebp - 0x194]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402a12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov eax, dword [ebp - 0x160]
add eax, 0x24
sub edi, eax
add dword [ebx + 0x20], edi
call fcn.004143a0
push 0x3f
push str.e:zhanluepdfconverter_srcpreviewworker_rcpreviewworker.cpp
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [ebp - 0xc4]
call fcn.00402eb0
xor bl, bl
jmp 0x402e4f
call fcn.00402ef0
test al, al
jne 0x402c54
call fcn.004143a0
push 0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x402e49
push 0x98
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00407170
mov byte [ebp - 4], 9
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xc4]
mov edx, 0x427620
cmovae esi, dword [ebp - 0x2c]
call fcn.00408430
mov edx, esi
mov ecx, eax
call fcn.00408430
mov edx, 0x4276c0
mov ecx, eax
call fcn.00408430
call fcn.004143a0
push 4
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x4027a3
call fcn.004143a0
push 4
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov ebx, eax
mov esi, 0x2000
mov ecx, dword [ebx + 0x20]
sub esi, ecx
lea eax, [ebx + ecx]
mov dword [ebp - 0x160], eax
lea edi, [eax + 0x24]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004070b0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x402b2c
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x17c]
mov edx, eax
call fcn.004020b0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0x10
jb 0x402b49
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x164], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402b54
sub ecx, dword [ebp - 0x164]
cmp ecx, esi
cmovbe esi, ecx
test esi, esi
je 0x402b83
mov edi, dword [ebp - 0x160]
push esi
push edx
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x24
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x402bbf
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402bb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp edx, 8
jb 0x402c20
mov ecx, dword [ebp - 0x194]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402c16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov eax, dword [ebp - 0x160]
add eax, 0x24
sub edi, eax
add dword [ebx + 0x20], edi
call fcn.004143a0
push 0x45
push str.e:zhanluepdfconverter_srcpreviewworker_rcpreviewworker.cpp
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [ebp - 0xc4]
call fcn.00402eb0
xor bl, bl
jmp 0x402e4f
push 0x430094
mov ecx, 0x430080
call fcn.004053a0
test al, al
jne 0x402e4d
call fcn.004143a0
push 0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x402e49
push 0x98
lea eax, [ebp - 0x15c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x15c]
call fcn.00407170
mov edx, 0x427620
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
call fcn.00408430
mov edx, 0x4276d0
mov ecx, eax
call fcn.00408430
call fcn.004143a0
push 4
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x402e3e
call fcn.004143a0
push 4
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov ebx, eax
mov esi, 0x2000
mov ecx, dword [ebx + 0x20]
sub esi, ecx
lea eax, [ebx + ecx]
mov dword [ebp - 0x160], eax
lea edi, [eax + 0x24]
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004070b0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x402d26
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x194]
mov edx, eax
call fcn.004020b0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0x10
jb 0x402d43
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x164], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402d50
sub ecx, dword [ebp - 0x164]
cmp ecx, esi
cmovbe esi, ecx
test esi, esi
je 0x402d7f
mov edi, dword [ebp - 0x160]
push esi
push edx
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x24
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x402dbb
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
cmp edx, 8
jb 0x402e1c
mov ecx, dword [ebp - 0x1ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov eax, dword [ebp - 0x160]
add eax, 0x24
sub edi, eax
add dword [ebx + 0x20], edi
call fcn.004143a0
push 0x4c
push str.e:zhanluepdfconverter_srcpreviewworker_rcpreviewworker.cpp
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [ebp - 0x15c]
call fcn.00402eb0
xor bl, bl
jmp 0x402e4f
mov bl, 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402e8b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004210a4
mov esp, ebp
pop ebp
ret 4