Function at 0x1009cc90
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190278
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x101ed40c]
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 - 0x3a8], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x250]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx + 0x38]
mov dword [ebp - 0x254], eax
test eax, eax
jns 0x1009ce1a
call fcn.100ca860
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1009d86f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x58
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_startup_autorunmgr.cpp
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
call fcn.10044b60
mov byte [ebp - 4], 3
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0x498]
push 0x131
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100461a0
mov esi, eax
push str.tid_:
push esi
mov byte [ebp - 4], 4
call fcn.10047780
add esp, 8
mov ecx, esi
push dword [ebp - 0x3a8]
call fcn.100804b0
push 0x101a23c0
push esi
call fcn.10047780
add esp, 8
mov ecx, esi
push dword [ebp - 0x254]
call fcn.1005c420
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x498]
call fcn.100478a0
lea ecx, [ebp - 0x274]
call fcn.10042450
lea ecx, [ebp - 0x240]
call fcn.10042450
jmp 0x1009d86f
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
lea esi, [eax + 3]
cmp dword [ebp - 0x258], eax
jle 0x1009d698
nop
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x21c], 0
inc eax
mov word [ebp - 0x3c8], si
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x21c]
movups xmm0, xmmword [ebp - 0x3c8]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x20]
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3c8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x21c]
test esi, esi
js 0x1009d07d
mov ecx, dword [eax]
lea edx, [ebp - 0x398]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x394]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x248]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
push edx
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x1009d063
mov dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x244]
push edx
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x1009d04f
mov dword [ebp - 0x3a0], 0
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx + 0x1c]
cmp dword [ebp - 0x254], 0
je 0x1009d03b
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x3a0]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
mov eax, dword [ebp - 0x3a0]
js 0x1009d041
xor ecx, ecx
mov dword [ebp - 0x224], ecx
test eax, eax
je 0x1009cff9
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push str.MbLk
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x224]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x3a0]
cmovs ecx, edx
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x1009d02d
mov eax, dword [ecx]
lea edx, [ebp - 0x39c]
push edx
push ecx
call dword [eax + 0x28]
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x228]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x3a0]
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x1009d041
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3a0]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1009d04f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1009d063
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 9
test eax, eax
je 0x1009d077
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 8
test eax, eax
je 0x1009d08b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x398]
test eax, eax
je 0x1009d661
cmp dword [ebp - 0x394], 0
je 0x1009d661
cmp word [ebp - 0x248], 0
je 0x1009d661
push eax
push str.PCManage
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x1009d661
mov eax, dword [ebp - 0x39c]
mov edx, 0x1019e5ec
test eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov word [ebp - 0x240], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009d100
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x240]
call fcn.10044c60
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x274]
call fcn.10042000
mov esi, dword [ebp - 0x228]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x1009d17c
push 1
push 0x101a23dc
lea ecx, [ebp - 0x274]
call fcn.10087570
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x21c], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1009d160
sub edx, dword [ebp - 0x21c]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10087570
mov edx, dword [ebp - 0x230]
mov esi, dword [ebp - 0x22c]
test edx, edx
je 0x1009d21c
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x240]
cmp esi, 8
cmovae eax, ecx
cmp word [eax], 0x22
jne 0x1009d1d9
cmp esi, 8
lea eax, [ebp - 0x240]
cmovae eax, ecx
lea ecx, [ebp - 0x240]
push eax
lea eax, [ebp - 0x3cc]
push eax
call fcn.10087960
mov esi, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x240]
test edx, edx
je 0x1009d21c
cmp esi, 8
lea eax, [ebp - 0x240]
cmovae eax, ecx
cmp word [eax + edx*2 - 2], 0x22
jne 0x1009d21c
cmp esi, 8
lea eax, [ebp - 0x240]
cmovae eax, ecx
lea ecx, [ebp - 0x240]
lea eax, [eax + edx*2]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x3d0]
push eax
call fcn.10087960
mov esi, dword [ebp - 0x22c]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea ecx, [ebp - 0x218]
cmp esi, 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009d260
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.10044c60
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009d3c1
call fcn.100ca860
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009d64b
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push 0x58
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x400]
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_startup_autorunmgr.cpp
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.10044b60
mov byte [ebp - 4], 0x12
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0x498]
push 0x17a
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.100461a0
mov esi, eax
push 0x101a22dc
push esi
mov byte [ebp - 4], 0x13
call fcn.10047780
mov eax, dword [ebp - 0x21c]
mov ecx, 0x1019ea04
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.100450a0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x498]
call fcn.100478a0
lea ecx, [ebp - 0x3e8]
call fcn.10042450
lea ecx, [ebp - 0x400]
call fcn.10042450
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1009d64b
lea ecx, [ebp - 0x390]
call fcn.1007fa90
mov eax, dword [ebp - 0x398]
mov edx, eax
mov byte [ebp - 4], 0x14
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1009d3e0
sub edx, esi
lea ecx, [ebp - 0x378]
sar edx, 1
push edx
push eax
call fcn.10044c60
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x310]
push eax
mov dword [ebp - 0x314], 1
call fcn.10044c60
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
push dword [ebp - 0x264]
cmovae eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x2f8]
push eax
call fcn.10044c60
mov eax, dword [ebp - 0x394]
mov edx, eax
cmp word [ebp - 0x248], 0xffff
sete byte [ebp - 0x2e0]
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1009d470
sub edx, esi
lea ecx, [ebp - 0x2bc]
sar edx, 1
push edx
push eax
call fcn.10044c60
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push ecx
cmovae eax, dword [ebp - 0x240]
mov ecx, esp
push eax
call fcn.10041f60
lea eax, [ebp - 0x3b8]
push eax
call fcn.10091620
add esp, 8
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 0x15
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009d4c3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x330]
call fcn.10044c60
mov edx, dword [ebp - 0x3b8]
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1009d501
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push ecx
cmovae eax, dword [ebp - 0x240]
mov ecx, esp
push eax
call fcn.10041f60
lea eax, [ebp - 0x3ac]
push eax
call fcn.10095650
add esp, 8
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 0x16
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009d540
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x360]
call fcn.10044c60
mov edx, dword [ebp - 0x3ac]
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1009d57e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3a8]
lea eax, [ebp - 0x240]
push eax
mov ecx, esi
call fcn.1009fa70
sub esp, 0x18
mov dword [ebp - 0x318], eax
mov ecx, esp
mov dword [ebp - 0x21c], esp
push str.FileDescription
call fcn.10042090
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 0x17
push eax
sub esp, 0x18
lea eax, [ebp - 0x240]
mov ecx, esp
push eax
call fcn.10042000
mov byte [ebp - 4], 0x14
call fcn.10092780
cmp dword [ebp - 0x364], 8
lea eax, [ebp - 0x378]
cmovae eax, dword [ebp - 0x378]
add esp, 0x30
mov ecx, esp
push eax
call fcn.10041f60
mov ecx, esi
call fcn.1009f910
test al, al
jne 0x1009d640
lea eax, [ebp - 0x390]
push eax
lea ecx, [esi + 0x14]
call fcn.1007f090
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
call fcn.1009fa70
push eax
mov ecx, esi
call fcn.100a0c10
mov eax, dword [ebp - 0x3b0]
fstp dword [ebp - 0x21c]
movss xmm0, dword [ebp - 0x21c]
addss xmm0, dword [eax]
movss dword [eax], xmm0
inc dword [esi + 4]
lea ecx, [ebp - 0x390]
call fcn.10064550
lea ecx, [ebp - 0x274]
call fcn.100424a0
lea ecx, [ebp - 0x240]
call fcn.100424a0
push dword [ebp - 0x228]
call edi
push dword [ebp - 0x39c]
call edi
push dword [ebp - 0x394]
call edi
push dword [ebp - 0x398]
call edi
mov eax, dword [ebp - 0x3a4]
mov esi, 3
cmp eax, dword [ebp - 0x258]
jl 0x1009ce50
mov dword [ebp - 0x24c], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x24c]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x18
call dword [ecx + 0x28]
mov dword [ebp - 0x3ac], eax
test eax, eax
jns 0x1009d8b4
call fcn.100ca860
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1009d85b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x58
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_startup_autorunmgr.cpp
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.10044b60
mov byte [ebp - 4], 0x1a
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0x498]
push 0x19a
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.100461a0
mov esi, eax
push str.tid_:
push esi
mov byte [ebp - 4], 0x1b
call fcn.10047780
add esp, 8
mov ecx, esi
push dword [ebp - 0x3a4]
call fcn.100804b0
push str._ITaskFolder_GetFolders_hr:
push esi
call fcn.10047780
add esp, 8
mov ecx, esi
push dword [ebp - 0x3ac]
call fcn.1005c420
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x498]
call fcn.100478a0
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x1009d802
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d7f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009da64
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x1009d85b
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d851
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009da69
push edx
push ecx
call fcn.1012659a
add esp, 8
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 1
test eax, eax
je 0x1009d86f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0
test eax, eax
je 0x1009d883
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1009d897
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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.10126919
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
cmp dword [ebp - 0x25c], eax
jle 0x1009d85b
nop dword [eax + eax]
mov dword [ebp - 0x220], 0
inc eax
mov word [ebp - 0x3c8], si
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x220]
movups xmm0, xmmword [ebp - 0x3c8]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x20]
mov esi, eax
lea eax, [ebp - 0x3c8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x1009da2a
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x224]
push edx
push eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x224]
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x1009da5a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x248], eax
push esi
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1f
call fcn.10042d30
test al, al
jne 0x1009d9be
test esi, esi
jne 0x1009d99d
xor ecx, ecx
jmp 0x1009d9b1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009d9a2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.10043c10
mov esi, dword [ebp - 0x248]
push str.microsoft
push esi
mov byte [ebp - 4], 0x20
call fcn.10155520
add esp, 8
test eax, eax
je 0x1009da06
push dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x220]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1009d9fb
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp - 0x3a8]
call fcn.1009cc90
or eax, 0xffffffff
mov byte [ebp - 4], 0x1e
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009da22
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
call edi
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x1009da3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3a4]
mov esi, 3
cmp eax, dword [ebp - 0x25c]
jl 0x1009d8e0
jmp 0x1009d85b
push 0x80004005
call fcn.10042d10
call fcn.101513dc
call fcn.101513dc
int3