Function at 0x1001e480
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2076
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101237f8]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ecx
mov dword [0x10126b48], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 8
push eax
mov dword [ebp - 0x234], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.10031050
push 0x100f01e8
push 0
call fcn.1008a18c
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x100f01ec
call fcn.10022f20
add esp, 8
lea ecx, [ebp - 0x248]
call fcn.100069b0
mov dword [ebp - 4], 0
call fcn.1001db50
mov ecx, eax
call fcn.10055f00
mov eax, dword [0x10126be4]
test al, 1
jne 0x1001e575
or eax, 1
mov dword [0x10126be4], eax
mov ecx, 0x10126be0
mov byte [ebp - 4], 1
call fcn.1002a630
push 0x100eaa50
call fcn.1005a4b4
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x10126be0
call fcn.1002a680
push ebx
call fcn.10016a00
mov ecx, eax
call fcn.100126d0
push ebx
push str.lpstrCmdLine_s
call fcn.10022f20
add esp, 8
call fcn.10031050
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
test eax, eax
jne 0x1001e61f
mov ecx, dword [edi]
lea eax, [ebp - 0x218]
push eax
push str.DLL_NETUL
push 0xcc
push dword [0x10126b48]
push edi
call dword [ecx + 8]
test eax, eax
jne 0x1001e5da
push str.InitCloudConfig_failed.
call fcn.10022f20
add esp, 4
jmp 0x1001e61f
push str.InitCloudConfig_success.
call fcn.10022f20
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esp
mov ecx, esp
push eax
call fcn.10003ed0
mov byte [ebp - 4], 2
call fcn.10016a00
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.100125f0
mov esi, dword [edi]
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
push eax
push edi
call dword [esi + 0x50]
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
push eax
call fcn.10029e50
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
push eax
call fcn.1002bc30
call fcn.10016a00
mov ecx, eax
call fcn.10011940
push eax
call fcn.1001dbe0
mov ecx, eax
call fcn.1000b050
push str.installpkg
call fcn.1001dbe0
mov ecx, eax
call fcn.1000b060
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001f36d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.aide
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.10004200
test al, al
jne 0x1001e6b4
push 4
push str.aide
lea ecx, [ebp - 0x21c]
call fcn.100055f0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
call fcn.1001dbe0
mov ecx, eax
call fcn.1000afb0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006a830
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10126b48]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.1001dbe0
mov ecx, eax
call fcn.1000afc0
mov edx, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e730
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x10126b3c]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ecx, ecx
jne 0x1001e79d
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001e790
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1001e77a
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001e77c
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov ecx, dword [0x10126b3c]
call fcn.10014e60
test eax, eax
je 0x1001e7ba
push 1
call fcn.1000c470
add esp, 4
mov esi, 3
jmp 0x1001f2d0
lea eax, [ebp - 0x228]
push eax
call fcn.1000c6c0
mov edx, dword [ebp - 0x228]
add esp, 4
add edx, 0xfffffff0
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x224], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e7f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 0
je 0x1001e86e
mov ecx, dword [0x10126b3c]
test ecx, ecx
jne 0x1001e85b
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001e84e
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1001e838
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001e83a
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov ecx, dword [0x10126b3c]
call fcn.100143c0
test al, al
je 0x1001e86e
mov esi, 4
jmp 0x1001f2d0
mov ecx, dword [0x10126b3c]
mov byte [ebp - 0x21c], 0
test ecx, ecx
jne 0x1001e8d6
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001e8c9
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1001e8b3
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001e8b5
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov ecx, dword [0x10126b3c]
call fcn.10014210
test eax, eax
je 0x1001e976
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], 4
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x224]
push eax
push str.em_lds
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x220], 1
je 0x1001e976
lea eax, [ebp - 0x220]
push eax
call fcn.1000c6c0
mov edx, dword [ebp - 0x220]
add esp, 4
add edx, 0xfffffff0
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x228], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e961
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x228], 0
je 0x1001e976
mov byte [ebp - 0x21c], 1
jmp 0x1001ea75
mov ecx, dword [0x10126b3c]
test ecx, ecx
jne 0x1001e9d7
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001e9ca
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x1001e9b4
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001e9b6
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov ecx, dword [0x10126b3c]
call fcn.10014210
test eax, eax
jne 0x1001ea75
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 4
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x228]
push eax
push str.em_lds
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x224], 1
jne 0x1001ea75
lea eax, [ebp - 0x220]
push eax
call fcn.1000c6c0
mov edx, dword [ebp - 0x220]
add esp, 4
add edx, 0xfffffff0
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ea5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
test edi, edi
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x21c], eax
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001f377
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 9
push eax
call fcn.1001cbc0
add esp, 4
mov dword [ebp - 0x220], eax
test eax, eax
jle 0x1001f0cb
cmp byte [ebp - 0x21c], 0
jne 0x1001f0cb
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001f381
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
mov ecx, dword [0x10126b3c]
mov byte [ebp - 4], 0xd
test ecx, ecx
jne 0x1001eb46
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001eb35
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1001eb1f
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001eb21
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10126b3c]
call fcn.10012500
mov dword [ebp - 0x220], eax
mov ecx, dword [eax]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x1001eb65
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1001eb7b
call fcn.10004e30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1001f38b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x100efbdc
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xf
call fcn.10004200
test al, al
jne 0x1001ec2e
push 0
push 0
push 0xffffffffffffffff
push 0x100efbdc
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [eax - 1]
mov dword [ebp - 0x224], ecx
test ecx, ecx
jle 0x1001ec23
mov esi, dword [ebp - 0x21c]
mov edx, 1
mov eax, dword [esi - 8]
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x1001ebf6
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100051c0
mov esi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x224]
push ecx
push esi
push 0xffffffffffffffff
push 0x100efbdc
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x224]
cmp eax, dword [esi - 8]
jg 0x1001f395
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x1001ec34
lea ecx, [ebp - 0x21c]
call fcn.100108d0
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
test eax, eax
je 0x1001f39f
mov ecx, esi
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001ec7e
test dx, dx
je 0x1001ec72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001ec7e
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001ec50
mov dword [ebp - 0x224], 0
jmp 0x1001ec89
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x224], ecx
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001eca0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 0
je 0x1001ee3f
mov eax, dword [0x10126b3c]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1001ed26
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001ed0c
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x1001ecf6
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001ecf8
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x101222b8
call edi
mov eax, dword [0x10126b3c]
mov dword [ebp - 0x21c], eax
jmp 0x1001ed2c
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, eax
mov dword [ebp - 0x220], ecx
test ecx, ecx
jne 0x1001ed94
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001ed82
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x1001ed6c
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001ed6e
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov eax, dword [0x10126b3c]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], eax
test eax, eax
jne 0x1001edfa
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001ede8
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x1001edd2
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001edd4
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x230]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call edi
mov eax, dword [0x10126b3c]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x220]
call fcn.10011c80
mov ecx, dword [ebp - 0x224]
mov edi, eax
call fcn.10011c70
mov ecx, dword [ebp - 0x21c]
mov esi, eax
call fcn.10012500
push dword [edi]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x228]
push str.ex1_sex2_sval1_s
push eax
call fcn.1000c4b0
mov edi, dword [ebp - 0x228]
add esp, 0x14
mov ecx, dword [0x10126b3c]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x224], ecx
test ecx, ecx
jne 0x1001eeb5
push 0x101222b8
call esi
cmp dword [0x10126b3c], 0
jne 0x1001ee9f
push 0xac
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x1001ee89
mov ecx, eax
call fcn.1000fcd0
jmp 0x1001ee8b
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x230]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126b3c], eax
push 0x101222b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10126b3c]
mov dword [ebp - 0x224], eax
mov eax, dword [0x10126bdc]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1001ef21
push 0x10122474
call esi
cmp dword [0x10126bdc], 0
jne 0x1001ef0b
push 0x20
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x1001eef5
mov ecx, eax
call fcn.10009db0
jmp 0x1001eef7
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126bdc], eax
push 0x10122474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10126bdc]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x224]
call fcn.10011210
mov ecx, dword [ebp - 0x21c]
push eax
call fcn.1000b050
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x230], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x10126bdc]
mov byte [ebp - 4], 0x15
test ecx, ecx
jne 0x1001efb0
push 0x10122474
call esi
cmp dword [0x10126bdc], 0
jne 0x1001ef9f
push 0x20
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x1001ef89
mov ecx, eax
call fcn.10009db0
jmp 0x1001ef8b
xor eax, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x230]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10126bdc], eax
push 0x10122474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10126bdc]
push 0
push edi
push 0x100f02fc
mov byte [ebp - 4], 0xd
call fcn.1000aca0
call fcn.1001de20
mov dword [ebp - 0x224], eax
test eax, eax
je 0x1001f020
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 9
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001eff6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f015
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
jmp 0x1001f2d0
call fcn.1001e090
test eax, eax
jne 0x1001f06f
lea esi, [eax + 0x10]
mov byte [ebp - 4], 9
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f047
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f2d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001f2d0
push dword [ebp - 0x240]
push dword [ebp + 0x14]
push dword [ebp - 0x244]
call fcn.100208d0
add esp, 0xc
mov byte [ebp - 4], 9
mov esi, eax
add edi, 0xfffffff0
mov ecx, ebx
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001f0a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f2d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001f2d0
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001f3a9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 0xa
call fcn.10016a00
mov ecx, eax
call fcn.10012500
push eax
push 0x100efbdc
call fcn.1001bf00
add esp, 8
test al, al
je 0x1001f152
call fcn.10016a00
mov ecx, eax
call fcn.10011c80
mov edi, eax
call fcn.10016a00
mov ecx, eax
call fcn.10011c70
mov esi, eax
call fcn.10016a00
mov ecx, eax
call fcn.10012500
push dword [edi]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x228]
push str.ex1_sex2_sval1_s
push eax
call fcn.1000c4b0
mov esi, dword [ebp - 0x228]
add esp, 0x14
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x230], esp
mov dword [eax + 0x24], 0
push 0
push esi
push str.exist
mov byte [ebp - 4], 0xb
call fcn.1001dbe0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1000aca0
cmp dword [ebp - 0x220], 0
jge 0x1001f197
push 0
push 0x100f0270
push 0
call fcn.1002bc40
call fcn.10016a00
mov ecx, eax
call fcn.10011ae0
mov edi, eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10016a00
mov ecx, eax
call fcn.100121e0
mov byte [ebp - 4], 0xc
test edi, edi
je 0x1001f270
call fcn.10031050
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x54]
call fcn.10031050
push ecx
mov ecx, esp
mov edi, eax
push 0x100f0148
lea eax, [ebp - 0x22c]
push eax
push ecx
call fcn.1001c070
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x58]
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 4], 1
jle 0x1001f21f
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.10004d80
mov eax, dword [ebp - 0x21c]
push eax
push str.RunApp_cmdLine:__s
call fcn.10022f20
add esp, 8
lea ecx, [ebp - 0x21c]
push str.___frominst_new_ver
call fcn.1001c1b0
call fcn.10031050
mov ecx, dword [ebp - 0x21c]
mov edi, eax
cmp dword [ecx - 4], 1
jle 0x1001f264
push dword [ecx - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.10004d80
mov ecx, dword [ebp - 0x21c]
mov eax, dword [edi]
push ecx
push 0x100f02e0
push edi
call dword [eax + 0x3c]
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f291
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f2ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f2cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 0x12
push esi
push str.install_ret:__d
call fcn.10022f20
mov eax, dword [0x10126be4]
add esp, 8
test al, 1
jne 0x1001f30e
or eax, 1
mov dword [0x10126be4], eax
mov ecx, 0x10126be0
mov byte [ebp - 4], 0x17
call fcn.1002a630
push 0x100eaa50
call fcn.1005a4b4
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x10126be0
call fcn.1002ab60
call fcn.1001db50
mov ecx, eax
call fcn.10056070
call fcn.100318f0
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x10126bb4
call fcn.10007780
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x248]
call fcn.100069f0
mov eax, esi
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.1005a0a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80070057
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
int3