Function at 0x1000a2b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046f92
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x10062698]
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 - 0x2b8], ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2b0], edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.100049f0
call fcn.10016840
test eax, eax
je 0x1000a35d
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a35d
call fcn.10016840
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.start_CRunExtentionScript::Run
push esi
mov dword [ebp - 4], 0
call fcn.10002760
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.10003760
mov edi, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2b8]
cmp dword [ecx + 4], 0
jne 0x1000a3be
push dword [ebp - 0x2b4]
lea eax, [ecx + 0x20]
push eax
push 0x100612a8
push 0x10061210
push 0x10063f38
call fcn.10007940
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], esi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1000a42e
call fcn.10011c87
mov ecx, dword [ebp - 0x2b8]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x1000a42e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2b8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1000a4c5
call fcn.10016840
test eax, eax
je 0x1000b297
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b297
call fcn.10016840
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.Isnt_window
push esi
mov dword [ebp - 4], 1
call fcn.10002760
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
jmp 0x1000b28c
push 0
push 0
push eax
call fcn.10011d89
test si, si
je 0x1000a3be
mov eax, dword [ebp - 0x2b8]
lea esi, [eax + 8]
test esi, esi
je 0x1000b2d6
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10061214
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1006122c]
mov dword [esi + 8], eax
push 0x10061214
mov dword [0x1006122c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1006129c]
mov eax, dword [0x100612a4]
mov edx, dword [0x10061298]
sub eax, ecx
push 0
push dword [0x10063f3c]
push 0
push 0
push eax
mov eax, dword [0x100612a0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x2b4]
push ecx
push edx
push SysReAllocStringLen
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1000a3be
test edi, edi
je 0x1000b229
cmp word [edi], 0
je 0x1000b229
call fcn.10016840
test eax, eax
je 0x1000a548
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a548
call fcn.10016840
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.Run_cmd_
push esi
mov dword [ebp - 4], 2
call fcn.10002760
mov eax, dword [ebp - 0x2b0]
push eax
push esi
call fcn.10002760
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.10003760
mov edi, dword [ebp - 0x2b0]
push edi
lea ecx, [ebp - 0x27c]
call fcn.10008550
mov edi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 4], 3
lea ecx, [edi + 0x48]
call fcn.1001ad90
mov edx, dword [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1000a5b7
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a5ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2e2
push edx
push ecx
call fcn.1001b13d
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.10008550
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 5
push ecx
lea eax, [ebp - 0x264]
mov dword [ebp - 0x2b4], ecx
push eax
lea ecx, [edi + 0x48]
call fcn.1001ac50
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x1000a663
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a659
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2e7
push edx
push ecx
call fcn.1001b13d
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.10008550
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [edi + 0x48]
call fcn.1001ac50
mov edx, dword [ebp - 0x280]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x1000a6ee
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a6e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2ec
push edx
push ecx
call fcn.1001b13d
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.10032ad3
add esp, 4
mov dword [edi + 0x44], eax
cmp dword [edi + 0x3c], 0
je 0x1000a73c
test eax, eax
jle 0x1000a73c
mov esi, 1
jmp 0x1000a73e
xor esi, esi
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1000a785
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a77b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2f1
push edx
push ecx
call fcn.1001b13d
add esp, 8
test esi, esi
je 0x1000b229
mov edi, dword [0x10063d34]
test edi, edi
jne 0x1000a7f2
push 0x10061240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10063d34], edi
jne 0x1000a7e1
push 0x10
call fcn.1001b10d
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2b0], ecx
test ecx, ecx
je 0x1000a7d3
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
jmp 0x1000a7d5
xor ecx, ecx
xchg dword [ebp - 0x2b0], eax
mov dword [0x10063d34], ecx
push 0x10061240
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x10063d34]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10023e50
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.netcurl.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 0x1000a89b
cmp dword [edi], 0
jne 0x1000a89b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1000a89b
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
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000a89b
call eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x1000a8d5
mov eax, dword [eax]
mov dword [ebp - 0x2b4], eax
cmp edi, 8
jae 0x1000a8f0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x238], 7
movups xmmword [ebp - 0x24c], xmm0
jmp 0x1000a932
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.100074b0
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x24c], eax
push ecx
mov ecx, dword [ebp - 0x2b4]
push ecx
push eax
call fcn.10023350
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.10009cd0
cmp dword [ebp - 0x29c], 0
mov byte [ebp - 4], 9
jne 0x1000aa16
call fcn.10016840
test eax, eax
je 0x1000a9c2
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a9c2
call fcn.10016840
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.Read_fileMap_fail
push esi
mov byte [ebp - 4], 0xa
call fcn.10002760
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10003760
lea ecx, [ebp - 0x2ac]
call fcn.100033e0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1000b297
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aa07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2f6
push edx
push ecx
call fcn.1001b13d
add esp, 8
jmp 0x1000b297
cmp dword [ebp - 0x298], 0x10
lea eax, [ebp - 0x2ac]
jb 0x1000aa33
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x1000b1cd
push eax
call fcn.100188b0
mov esi, eax
add esp, 4
mov dword [ebp - 0x2b4], esi
test esi, esi
je 0x1000b1cd
push 0
push 0x1004c104
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
call fcn.1000c470
push 3
push 0x1004c708
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.1000c470
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.10019910
mov edi, dword [ebp - 0x2b8]
mov esi, eax
add edi, 0xa0
add esp, 0x10
cmp edi, esi
je 0x1000ab43
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1000ab11
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1000ab07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2e2
mov eax, edx
push ecx
push eax
call fcn.1001b13d
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 0x1000ab7d
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ab73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2fb
push edx
push ecx
call fcn.1001b13d
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 0x1000abd6
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000abcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b300
push edx
push ecx
call fcn.1001b13d
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 0x1000ac2f
mov ecx, dword [ebp - 0x27c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ac25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b305
push edx
push ecx
call fcn.1001b13d
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.1000c470
mov esi, dword [ebp - 0x2b4]
lea eax, [ebp - 0x230]
push 0
push eax
push esi
mov byte [ebp - 4], 0xd
call fcn.100198d0
mov ecx, dword [ebp - 0x2b8]
add esp, 0xc
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 9
mov dword [ecx + 0xb8], eax
cmp edx, 0x10
jb 0x1000acdd
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000acd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b30a
push edx
push ecx
call fcn.1001b13d
add esp, 8
push esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10018780
mov ecx, dword [ebp - 0x2b8]
add esp, 4
cmp dword [ecx + 0xb0], 0
je 0x1000b1cd
mov eax, dword [ecx + 0xb8]
test eax, eax
je 0x1000b1cd
cmp eax, 3
je 0x1000adf1
cmp eax, 1
je 0x1000ad8c
call fcn.10016840
test eax, eax
je 0x1000a9c2
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a9c2
call fcn.10016840
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.event_unvalid.
push esi
mov byte [ebp - 4], 0x15
call fcn.10002760
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000a9bd
call fcn.10009170
test eax, eax
je 0x1000adf1
call fcn.10016840
test eax, eax
je 0x1000a9c2
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a9c2
call fcn.10016840
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.find_script_and_exec_succ
push esi
mov byte [ebp - 4], 0xf
call fcn.10002760
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000a9bd
cmp dword [edi + 0x14], 0x10
jb 0x1000adf9
mov edi, dword [edi]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
test edi, edi
jne 0x1000ae16
xor esi, esi
mov dword [ebp - 0x114], esi
jmp 0x1000aee9
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ae20
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 - 0x2b4], esi
call fcn.100078a0
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 0x1000aedb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000aed5
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.100078a0
add esp, 0x10
push esi
push dword [ebp - 0x114]
push dword [ebp - 0x2b4]
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x1000aedb
mov ecx, dword [ebp - 0x2b0]
test ecx, ecx
jne 0x1000b30f
mov esi, dword [ebp - 0x114]
mov byte [ebp - 4], 0x10
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x1000b32e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1000af43
test esi, 0xffff0000
jne 0x1000af2d
movzx eax, si
lea ecx, [ebp - 0x2b4]
push eax
call fcn.10007300
jmp 0x1000af52
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000af32
sub ecx, edx
sar ecx, 1
jmp 0x1000af45
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x2b4]
call fcn.10005170
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x13
cmp eax, ecx
je 0x1000af6f
push eax
call fcn.100269ae
add esp, 4
mov esi, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2b8]
push esi
call fcn.10009f30
test eax, eax
jne 0x1000b00c
call fcn.10016840
test eax, eax
je 0x1000afe7
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000afe7
call fcn.10016840
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x2b0], eax
call fcn.10002be0
mov edi, eax
push str.Request_script_fail
push edi
mov byte [ebp - 4], 0x14
call fcn.10002760
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.10003760
mov byte [ebp - 4], 9
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000a9c2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000a9c2
mov byte [ebp - 4], 9
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000b028
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x2f0], 0x1004c3a4
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 0x1000b0a2
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2d4]
push eax
call edi
test eax, eax
jne 0x1000b0a2
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push esi
mov eax, dword [eax + 4]
call eax
inc esi
test eax, eax
jne 0x1000b070
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 0x1000b067
test eax, eax
je 0x1000b150
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 0x1000b0fd
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 0x1000b118
je 0x1000b13a
cmp eax, 0xf
je 0x1000b13a
cmp eax, 0xa0
jmp 0x1000b11d
cmp eax, 0x200
je 0x1000b13a
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edx, ecx
mov dword [ebp - 0x2b0], edx
cmove eax, esi
mov esi, eax
jmp 0x1000b067
mov edx, dword [ebp - 0x2b0]
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x1000b067
mov eax, dword [ebp - 0x2e0]
test eax, eax
je 0x1000b16d
push eax
call fcn.100269ae
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 0x1000b19e
push eax
call fcn.100269ae
add esp, 4
mov dword [ebp - 0x2ec], 0
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
call fcn.100033e0
lea ecx, [ebp - 0x24c]
call fcn.10006ca0
jmp 0x1000b297
call fcn.10016840
test eax, eax
je 0x1000a9c2
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000a9c2
call fcn.10016840
lea ecx, [ebp - 0x388]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.ProcessShareJson_fail
push esi
mov byte [ebp - 4], 0xe
call fcn.10002760
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x388]
jmp 0x1000a9bd
call fcn.10016840
test eax, eax
je 0x1000b297
call fcn.10016840
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b297
call fcn.10016840
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10002be0
mov esi, eax
push str.parse_params_failed__cmd:
push esi
mov dword [ebp - 4], 7
call fcn.10002760
mov eax, dword [ebp - 0x2b0]
mov ecx, 0x1004c2a8
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10002760
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10003760
mov esi, dword [ebp - 0x2b8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000b2b3
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.1001b4ae
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.100019c0
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
call fcn.10026bbe
push 0x80
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
call fcn.10007920
add esp, 0xc
call fcn.10009110
push 0x80004005
call fcn.10001ab0
int3