Function at 0x1000b9d0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047b72
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x100632c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2b0], edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10006230
call fcn.10016490
test eax, eax
je 0x1000ba7d
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000ba7d
call fcn.10016490
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.start_CRunExtentionScript::Run
push esi
mov dword [ebp - 4], 0
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005100
mov edi, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 4], 0
jne 0x1000bae4
push dword [ebp - 0x2b8]
add eax, 0x20
push eax
push 0x100620b0
push section..data
push 0x100647f4
call fcn.10008fb0
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], esi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1000bb4e
call fcn.100114e5
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x1000bb4e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2b4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1000bbe5
call fcn.10016490
test eax, eax
je 0x1000c9f7
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c9f7
call fcn.10016490
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.Isnt_window
push esi
mov dword [ebp - 4], 1
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
jmp 0x1000c9ec
push 0
push 0
push eax
call fcn.100115e7
test si, si
je 0x1000bade
mov eax, dword [ebp - 0x2b4]
lea esi, [eax + 8]
test esi, esi
je 0x1000ca36
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10062004
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1006201c]
mov dword [esi + 8], eax
push 0x10062004
mov dword [0x1006201c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100620a0]
mov eax, dword [0x100620a8]
mov edx, dword [0x1006209c]
sub eax, ecx
push 0
push dword [0x100647f8]
push 0
push 0
push eax
mov eax, dword [0x100620a4]
sub eax, edx
push eax
mov eax, dword [ebp - 0x2b8]
push ecx
push edx
push 0x80000000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1000bade
test edi, edi
je 0x1000c989
cmp word [edi], 0
je 0x1000c989
call fcn.10016490
test eax, eax
je 0x1000bc68
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bc68
call fcn.10016490
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.Run_cmd_
push esi
mov dword [ebp - 4], 2
call fcn.10003f20
mov eax, dword [ebp - 0x2b0]
push eax
push esi
call fcn.10003f20
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005100
mov edi, dword [ebp - 0x2b0]
push edi
lea ecx, [ebp - 0x27c]
call fcn.10009c50
mov edi, dword [ebp - 0x2b4]
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 4], 3
lea ecx, [edi + 0x48]
call fcn.1001aef0
mov edx, dword [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1000bcd7
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bccd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca42
push edx
push ecx
call fcn.1001b29d
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push str.name
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 4
call fcn.10009c50
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 5
push ecx
lea eax, [ebp - 0x264]
mov dword [ebp - 0x2b8], ecx
push eax
lea ecx, [edi + 0x48]
call fcn.1001adb0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x1000bd83
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bd79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca47
push edx
push ecx
call fcn.1001b29d
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
push str.length
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.10009c50
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [edi + 0x48]
call fcn.1001adb0
mov edx, dword [ebp - 0x280]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x1000be0e
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000be04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca4c
push edx
push ecx
call fcn.1001b29d
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x280], 7
call fcn.10032c53
add esp, 4
mov dword [edi + 0x44], eax
cmp dword [edi + 0x3c], 0
je 0x1000be5c
test eax, eax
jle 0x1000be5c
mov esi, 1
jmp 0x1000be5e
xor esi, esi
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1000bea5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000be9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca51
push edx
push ecx
call fcn.1001b29d
add esp, 8
test esi, esi
je 0x1000c989
mov edi, dword [0x100647e8]
test edi, edi
jne 0x1000bf1a
push 0x10062030
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100647e8], edi
jne 0x1000bf09
push 0x1c
call fcn.1001b26d
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2b0], ecx
test ecx, ecx
je 0x1000befb
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
jmp 0x1000befd
xor ecx, ecx
xchg dword [ebp - 0x2b0], eax
mov dword [0x100647e8], ecx
push 0x10062030
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x100647e8]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10024530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000bffa
lea eax, [ebp - 0x218]
push eax
call fcn.10011640
add esp, 4
test eax, eax
je 0x1000bffa
cmp dword [edi], 0
jne 0x1000bffa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1000bffa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000bffa
call eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b8]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x1000c034
mov eax, dword [eax]
mov dword [ebp - 0x2b8], eax
cmp edi, 8
jae 0x1000c04f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x238], 7
movups xmmword [ebp - 0x24c], xmm0
jmp 0x1000c091
mov esi, edi
lea ecx, [ebp - 0x24c]
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10008b20
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x24c], eax
push ecx
mov ecx, dword [ebp - 0x2b8]
push ecx
push eax
call fcn.10023a30
add esp, 0xc
mov dword [ebp - 0x238], esi
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x2ac]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24c]
call fcn.1000b3f0
cmp dword [ebp - 0x29c], 0
mov byte [ebp - 4], 9
jne 0x1000c175
call fcn.10016490
test eax, eax
je 0x1000c121
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c121
call fcn.10016490
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.Read_fileMap_fail
push esi
mov byte [ebp - 4], 0xa
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10005100
lea ecx, [ebp - 0x2ac]
call fcn.10004ba0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1000c9f7
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c166
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca56
push edx
push ecx
call fcn.1001b29d
add esp, 8
jmp 0x1000c9f7
cmp dword [ebp - 0x298], 0x10
lea eax, [ebp - 0x2ac]
jb 0x1000c192
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x1000c92d
push eax
call fcn.10018d40
mov esi, eax
add esp, 4
mov dword [ebp - 0x2b8], esi
test esi, esi
je 0x1000c92d
push 0
push 0x1004b81c
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
call fcn.1000dbd0
push 3
push 0x1004bfcc
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
call fcn.1000dbd0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x294]
push esi
push eax
call fcn.10019d50
mov edi, dword [ebp - 0x2b4]
mov esi, eax
add edi, 0xa0
add esp, 0x10
cmp edi, esi
je 0x1000c2a2
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1000c270
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1000c266
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca42
mov eax, edx
push ecx
push eax
call fcn.1001b29d
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x280]
cmp edx, 0x10
jb 0x1000c2dc
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c2d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca5b
push edx
push ecx
call fcn.1001b29d
add esp, 8
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x1000c335
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c32b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca60
push edx
push ecx
call fcn.1001b29d
add esp, 8
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1000c38e
mov ecx, dword [ebp - 0x27c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c384
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca65
push edx
push ecx
call fcn.1001b29d
add esp, 8
push 5
push str.event
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000dbd0
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x230]
push 0
push eax
push esi
mov byte [ebp - 4], 0xd
call fcn.10019d10
mov ecx, dword [ebp - 0x2b4]
add esp, 0xc
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 9
mov dword [ecx + 0xb8], eax
cmp edx, 0x10
jb 0x1000c43c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c432
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ca6a
push edx
push ecx
call fcn.1001b29d
add esp, 8
push esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10018c10
mov ecx, dword [ebp - 0x2b4]
add esp, 4
cmp dword [ecx + 0xb0], 0
je 0x1000c92d
mov eax, dword [ecx + 0xb8]
test eax, eax
je 0x1000c92d
cmp eax, 3
je 0x1000c550
cmp eax, 1
je 0x1000c4eb
call fcn.10016490
test eax, eax
je 0x1000c121
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c121
call fcn.10016490
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.event_unvalid.
push esi
mov byte [ebp - 4], 0x15
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000c11c
call fcn.1000a870
test eax, eax
je 0x1000c550
call fcn.10016490
test eax, eax
je 0x1000c121
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c121
call fcn.10016490
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.find_script_and_exec_succ
push esi
mov byte [ebp - 4], 0xf
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000c11c
cmp dword [edi + 0x14], 0x10
jb 0x1000c558
mov edi, dword [edi]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
test edi, edi
jne 0x1000c575
xor esi, esi
mov dword [ebp - 0x114], esi
jmp 0x1000c649
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c580
sub ecx, edx
lea eax, [ebp - 0x110]
push 0x80
push eax
lea eax, [ebp - 0x114]
lea esi, [ecx + 1]
push esi
push eax
mov dword [ebp - 0x2b8], esi
call fcn.10008f10
add esp, 0x10
push esi
push dword [ebp - 0x114]
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x2b0], ecx
test eax, eax
jne 0x1000c63b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000c635
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [ebp - 0x110]
push 0x80
push eax
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.10008f10
add esp, 0x10
push esi
push dword [ebp - 0x114]
push dword [ebp - 0x2b8]
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x1000c63b
mov ecx, dword [ebp - 0x2b0]
test ecx, ecx
jne 0x1000ca6f
mov esi, dword [ebp - 0x114]
mov byte [ebp - 4], 0x10
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x1000ca8e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1000c6a3
test esi, 0xffff0000
jne 0x1000c68d
movzx eax, si
lea ecx, [ebp - 0x2b8]
push eax
call fcn.1000adb0
jmp 0x1000c6b2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c692
sub ecx, edx
sar ecx, 1
jmp 0x1000c6a5
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x2b8]
call fcn.10006bb0
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x13
cmp eax, ecx
je 0x1000c6cf
push eax
call fcn.10026fbe
add esp, 4
mov esi, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2b4]
push esi
call fcn.1000b650
test eax, eax
jne 0x1000c76c
call fcn.10016490
test eax, eax
je 0x1000c747
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c747
call fcn.10016490
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x2b0], eax
call fcn.100043a0
mov edi, eax
push str.Request_script_fail
push edi
mov byte [ebp - 4], 0x14
call fcn.10003f20
mov eax, dword [ebp - 0x2b0]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
call fcn.10005100
mov byte [ebp - 4], 9
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c121
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c121
mov byte [ebp - 4], 9
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c788
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x2f0], 0x1004bc08
movups xmmword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 1
mov byte [ebp - 4], 0x16
xor esi, esi
mov dword [ebp - 0x2b0], edx
test edx, edx
je 0x1000c802
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2d4]
push eax
call edi
test eax, eax
jne 0x1000c802
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push esi
mov eax, dword [eax + 4]
call eax
inc esi
test eax, eax
jne 0x1000c7d0
mov dword [ebp - 0x2b0], eax
push 0
push 0
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov edx, dword [ebp - 0x2b0]
cmp eax, 0xffffffff
je 0x1000c7c7
test eax, eax
je 0x1000c8b0
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x1000c85d
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x2d0]
cmp eax, 0x118
ja 0x1000c878
je 0x1000c89a
cmp eax, 0xf
je 0x1000c89a
cmp eax, 0xa0
jmp 0x1000c87d
cmp eax, 0x200
je 0x1000c89a
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edx, ecx
mov dword [ebp - 0x2b0], edx
cmove eax, esi
mov esi, eax
jmp 0x1000c7c7
mov edx, dword [ebp - 0x2b0]
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x1000c7c7
mov eax, dword [ebp - 0x2e0]
test eax, eax
je 0x1000c8cd
push eax
call fcn.10026fbe
add esp, 4
mov dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
test eax, eax
je 0x1000c8fe
push eax
call fcn.10026fbe
add esp, 4
mov dword [ebp - 0x2ec], 0
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
call fcn.10004ba0
lea ecx, [ebp - 0x24c]
call fcn.10008670
jmp 0x1000c9f7
call fcn.10016490
test eax, eax
je 0x1000c121
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c121
call fcn.10016490
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.ProcessShareJson_fail
push esi
mov byte [ebp - 4], 0xe
call fcn.10003f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000c11c
call fcn.10016490
test eax, eax
je 0x1000c9f7
call fcn.10016490
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c9f7
call fcn.10016490
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.100043a0
mov esi, eax
push str.parse_params_failed__cmd:
push esi
mov dword [ebp - 4], 7
call fcn.10003f20
mov eax, dword [ebp - 0x2b0]
mov ecx, 0x1004b9c0
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10003f20
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10005100
mov esi, dword [ebp - 0x2b4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000ca13
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b60e
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.10003180
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
push 0x80
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
call fcn.10008f90
add esp, 0xc
call fcn.1000a810
push 0x80004005
call fcn.10003270
int3