Function at 0x100223a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087474
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x100bc1b4]
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 dword [ebp - 0x250], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], esi
push dword [esi]
push str._enter_app_s
call fcn.1000b130
push dword [esi + 8]
call fcn.10038450
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.100381a0
add esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp - 0x254]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
jne 0x10022514
push dword [ebp - 0x254]
push 0x1009083c
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x10022480
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x10022480
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022480
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 3
push str._rootdir_s_is_not_exist
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x100225dc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100225dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100225dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x100225dc
mov eax, dword [esi + 0x40]
lea ebx, [esi + 0x40]
mov dword [ebp - 0x258], ebx
cmp dword [eax - 0xc], 0
je 0x10023213
mov eax, dword [esi + 0x3c]
cmp dword [eax - 0xc], 0
je 0x10023213
call fcn.10037660
test eax, eax
je 0x1002261c
push 0x100908ac
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0xb
push str._hr_give_up
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100225fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100536aa
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
call fcn.1001f6e0
add esp, 8
xor ebx, ebx
test eax, eax
js 0x1002263d
cmp dword [ebp - 0x230], 4
sete bl
mov ecx, dword [ebp - 0x250]
lea edi, [esi + 0x40]
push edi
mov dword [ebp - 0x24c], ebx
call fcn.10021f10
mov dword [ebp - 0x238], eax
test ebx, ebx
je 0x100226ec
test eax, eax
je 0x100226ec
push 0x100908d0
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0xf
push str._is_ok
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xe
jmp 0x100225bf
push str.svc_start
lea ecx, [ebp - 0x240]
call fcn.10007b40
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
cmp dword [esi + 0x38], 0
je 0x10022776
push edi
call fcn.10036880
add esp, 4
test eax, eax
jne 0x10022776
push str.svc_qg
lea ecx, [ebp - 0x240]
call fcn.10007b40
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
jmp 0x100225d9
lea eax, [ebp - 0x244]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.100095b0
test bl, bl
je 0x10022817
lea eax, [ebp - 0x244]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x15
push str.bIsRunning:
push esi
call fcn.1000a400
mov ebx, dword [ebp - 0x24c]
add esp, 8
mov ecx, esi
push ebx
call fcn.1000a230
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.100095b0
mov esi, dword [ebp - 0x248]
jmp 0x1002281d
mov ebx, dword [ebp - 0x24c]
test ebx, ebx
jne 0x10022fc9
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x3c]
push dword [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10022eed
mov ecx, dword [0x100bdedc]
test ecx, ecx
jne 0x100228d3
push 0x100b2058
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100bdedc], ebx
jne 0x100228ba
push 0x1c
call fcn.10053309
mov edi, eax
add esp, 4
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 0x17
test edi, edi
je 0x100228ae
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x100228b0
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x100bdedc], edi
push 0x100b2058
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100bdedc]
test ecx, ecx
jne 0x100228d3
xor eax, eax
jmp 0x1002292f
mov eax, dword [0x100bded8]
test eax, eax
jne 0x1002292f
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x100bded8], 0
jne 0x1002291f
push 4
call fcn.10053309
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x1002290d
mov ecx, eax
call fcn.10016050
mov ecx, eax
jmp 0x1002290f
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x240], eax
mov dword [0x100bded8], ecx
mov eax, dword [0x100bdedc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x100bded8]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.10016070
test eax, eax
je 0x10022eed
movaps xmm0, xmmword [str.stAppData.b360Se_]
lea eax, [ebp - 0x23c]
push eax
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x224], 0x7469736e
mov dword [ebp - 0x220], 0x3a657669
mov byte [ebp - 0x21c], 0
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x10022a11
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.1000a400
mov eax, dword [ebp - 0x248]
add esp, 8
mov ecx, esi
push dword [eax + 0x34]
call fcn.1000a230
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
mov esi, dword [ebp - 0x248]
cmp dword [esi + 0x34], 0
lea ebx, [esi + 0x40]
je 0x10022d55
push ebx
call fcn.10036580
add esp, 4
test eax, eax
jne 0x10022d55
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x22
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x10022ac0
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x24
push str.check_rescue
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
mov esi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
test ecx, ecx
je 0x10022d83
push esi
call fcn.1000c390
test eax, eax
je 0x10022d83
push str.svc_force
lea ecx, [ebp - 0x240]
call fcn.10007b40
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
mov ecx, dword [0x100bd5b8]
test ecx, ecx
jne 0x10022b86
push 0x100b2020
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100bd5b8], 0
jne 0x10022b6d
push 0x1c
call fcn.10053309
mov edi, eax
add esp, 4
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 0x27
test edi, edi
je 0x10022b61
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x10022b63
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x100bd5b8], edi
push 0x100b2020
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100bd5b8]
test ecx, ecx
jne 0x10022b86
xor eax, eax
jmp 0x10022be2
mov eax, dword [0x100bd5b4]
test eax, eax
jne 0x10022be2
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x100bd5b4], 0
jne 0x10022bd2
push 0x18
call fcn.10053309
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x10022bc0
mov ecx, eax
call fcn.10017560
mov ecx, eax
jmp 0x10022bc2
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x240], eax
mov dword [0x100bd5b4], ecx
mov eax, dword [0x100bd5b8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x100bd5b4]
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, eax
call fcn.100186d0
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x100232d5
push eax
push dword [esi]
call fcn.10060d4f
add esp, 8
test eax, eax
jne 0x10022caf
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x2a
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x10022ca0
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x2c
push str.current_product__no_stop
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x23c]
call fcn.100095b0
mov eax, dword [ebp - 0x250]
push 0
mov ecx, dword [eax]
call fcn.10012410
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x2e
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x10022d3a
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x30
push str.rescue_svc
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x23c]
call fcn.100095b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10008ed0
mov esi, dword [ebp - 0x248]
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10022e36
lea eax, [ebp - 0x218]
push eax
push str._svcpath___s_load_fail
call fcn.1000b130
add esp, 8
jmp 0x100225d9
push str.svc_safe
lea ecx, [ebp - 0x240]
call fcn.10007b40
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x33
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x35
push str.no_rescue_svc
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x34
jmp 0x100225bf
push 0x10090a20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10022e4d
push 0x1008e708
call eax
mov ecx, dword [ebp - 0x250]
push ebx
call fcn.10021f10
lea ecx, [ebp - 0x240]
test eax, eax
je 0x10022ea8
push str.svc_succ
call fcn.10007b40
mov byte [ebp - 4], 0x37
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
push str._type__svc_succ_1
call fcn.1000b130
add esp, 4
jmp 0x100225d9
push str.svc_fails
call fcn.10007b40
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
push str._type__svc_fails_1
call fcn.1000b130
add esp, 4
jmp 0x100225d9
push str.svc_other
lea ecx, [ebp - 0x240]
call fcn.10007b40
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x240]
push 0
push esi
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
lea eax, [ebp - 0x218]
push eax
push str._svcpath___s_is_not_exist
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x1c
push str._svcpath_
push esi
call fcn.1000a400
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.100066a0
push str.is_not_exist
push esi
call fcn.1000a400
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x1b
jmp 0x100225bf
cmp dword [ebp - 0x238], 0
jne 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x39
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x1002307a
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x2f0]
mov ebx, dword [eax]
call fcn.10008420
mov edi, eax
mov byte [ebp - 4], 0x3b
push str.SetAutoRun:
push edi
call fcn.1000a400
mov edx, dword [ebp - 0x258]
mov esi, 0x1008facc
mov edx, dword [edx]
test edx, edx
cmovne esi, edx
push esi
push edi
call fcn.100066a0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x250]
call fcn.100232e0
lea ecx, [ebp - 0x240]
test eax, eax
je 0x10023156
push str.svc_succ
call fcn.10007b40
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp - 0x248]
push 0
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
push 0x10090aa8
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 8
mov byte [ebp - 4], 0x3e
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x40
push str._type__svc_succ_2
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x3f
jmp 0x100225bf
push str.svc_fails
call fcn.10007b40
mov byte [ebp - 4], 0x42
mov eax, dword [ebp - 0x248]
push 0
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1001e7c0
mov ecx, eax
call fcn.10031b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10008ed0
push 0x10090ae4
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 8
mov byte [ebp - 4], 0x43
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100095b0
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0x45
push str._type__svc_fails_2
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x44
jmp 0x100225bf
push 0x1009088c
call fcn.1000b130
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x10023268
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x10023268
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10023268
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test bl, bl
je 0x100225d9
lea eax, [ebp - 0x23c]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f0]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 7
push str._except_1
push esi
call fcn.1000a400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f0]
call fcn.1000a600
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x100225d9
or edi, 0xffffffff
jmp 0x100224e8
push 0x80004005
call fcn.1000b090
int3