Function at 0x1000b9cc
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0620
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1011449c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000b9b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x100de924
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.10004280
test al, al
jne 0x1000b61a
push 0
push 0x100de924
lea ecx, [ebp - 0x18]
call fcn.100046c0
cmp dword [esi + 4], 0
mov ecx, 0x100e2088
mov eax, 0x100e2078
mov dword [ebp - 4], 1
cmovne eax, ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.10003e80
mov byte [ebp - 4], 2
call fcn.1000aae0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov edx, dword [ebp - 0x20]
or edi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b67a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000b9c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x100de924
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.10004280
test al, al
jne 0x1000b6d6
push 0
push 0x100de924
lea ecx, [ebp - 0x1c]
call fcn.100046c0
cmp dword [esi + 4], 0
mov ecx, 0x100e20ac
mov eax, 0x100e209c
mov byte [ebp - 4], 7
cmovne eax, ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.10003e80
mov byte [ebp - 4], 8
call fcn.1000aae0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b730
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b74e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x100e1d40
lea ecx, [ebp - 0x28]
call fcn.10007eb0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004e00
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.10009590
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b79e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b7bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x100e1d40
lea ecx, [ebp - 0x28]
call fcn.10007eb0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004e00
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.10009590
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b80c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b82a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
cmp eax, 0x20
ja 0x1000b8d6
je 0x1000b8c2
dec eax
cmp eax, 0xf
ja case.0x1000b84d.3
movzx eax, byte [eax + 0x1000b9e0]
jmp dword [eax*4 + 0x1000b9cc]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jge 0x1000b865
or esi, 0xffffffff
jmp 0x1000b962
push 0x100e20bc
push eax
call fcn.100a7755
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b881
or esi, 0xffffffff
jmp 0x1000b962
sub esi, dword [ebp - 0x14]
sar esi, 1
jmp 0x1000b962
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x1000b879
push 0x100e20c4
jmp 0x1000b86a
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x1000b879
push str.3ce
jmp 0x1000b86a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x1000b956
push 0x100e20d8
jmp 0x1000b945
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x1000b956
push 0x100e20e0
jmp 0x1000b945
cmp eax, 0x10000
ja 0x1000b927
je 0x1000b910
cmp eax, 0x400
je 0x1000b900
cmp eax, 0x8000
jne case.0x1000b84d.3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x1000b879
push str.mse
jmp 0x1000b86a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x1000b956
push 0x100e20e8
jmp 0x1000b945
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x1000b879
push 0x100e20fc
jmp 0x1000b86a
cmp eax, 0x20000
je 0x1000b932
xor esi, esi
jmp 0x1000b965
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jge 0x1000b940
or esi, 0xffffffff
jmp 0x1000b960
push str.slb
push dword [ebp - 0x10]
call fcn.100a7755
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b95b
or esi, 0xffffffff
jmp 0x1000b960
sub esi, dword [ebp - 0x10]
sar esi, 1
not esi
shr esi, 0x1f
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b983
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1000b9a2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
nop
push esp
mov eax, -1198845952
add byte [eax], dl
wait
mov eax, -1196748800
add byte [eax], dl
mov ecx, 0x1001000
add al, 2
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 3
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d074b
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x1011449c]
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
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100a6fe0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x10118344]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x451]
call fcn.10009c90
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call edi
or ebx, 0xffffffff
test eax, eax
je 0x1000bb5b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a6fe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x451]
call fcn.10009de0
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x1000bb5b
push str.3021_05_07
lea ecx, [ebp - 0x458]
call fcn.10003e80
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x458]
push str.grapdata
push 0x100e249c
call esi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x458]
push str.externalconfig
push 0x100e249c
call esi
mov edx, dword [ebp - 0x458]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bb5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000c242
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x468], eax
push 0x100de924
lea ecx, [ebp - 0x468]
mov dword [ebp - 4], 0
call fcn.10004280
test al, al
jne 0x1000bba5
push 0
push 0x100de924
lea ecx, [ebp - 0x468]
call fcn.100046c0
mov dword [ebp - 4], 1
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000c24c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x464], eax
push str.grapconfig
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 2
call fcn.10004280
test al, al
jne 0x1000bbf3
push 0xa
push str.grapconfig
lea ecx, [ebp - 0x464]
call fcn.100046c0
mov byte [ebp - 4], 3
call fcn.1000aae0
push 0
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x460]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov edx, dword [ebp - 0x464]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bc3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x468]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bc5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x458]
push eax
call fcn.10053a90
add esp, 4
mov eax, dword [eax]
mov byte [ebp - 4], 7
test eax, eax
je 0x1000c256
push eax
push dword [ebp - 0x460]
call fcn.100af6f9
mov edx, dword [ebp - 0x458]
add esp, 8
test eax, eax
mov byte [ebp - 4], 6
mov eax, ebx
setne byte [ebp - 0x451]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bcb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x451], 0
je 0x1000be1e
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bdb5
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configconfig.cpp
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.100058c0
mov byte [ebp - 4], 9
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x217
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10008480
mov esi, eax
push str.last_date:
push esi
mov byte [ebp - 4], 0xa
call fcn.10009b60
mov ecx, dword [ebp - 0x460]
mov edx, 0x100e1fb4
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10009f10
lea ecx, [ebp - 0x438]
call fcn.10003f50
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.10003f50
mov ecx, dword [0x10117de4]
test ecx, ecx
jne 0x1000be19
push 0x10113dd4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10117de4], 0
jne 0x1000be08
push 1
call fcn.100806a5
add esp, 4
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1000bdf6
mov ecx, eax
call fcn.10002fe0
mov ecx, eax
jmp 0x1000bdf8
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0x458], eax
mov dword [0x10117de4], ecx
push 0x10113dd4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10117de4]
call fcn.1001b7d0
call fcn.1000aae0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
je 0x1000bf12
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c200
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configconfig.cpp
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.100058c0
mov byte [ebp - 4], 0xd
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x21c
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10008480
mov esi, eax
push str.Has3_6_0Safe
push esi
mov byte [ebp - 4], 0xe
call fcn.10009b60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10009f10
lea ecx, [ebp - 0x450]
call fcn.10003f50
lea ecx, [ebp - 0x438]
call fcn.10003f50
jmp 0x1000c200
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000c260
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x458], eax
push 0x100de924
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xf
call fcn.10004280
test al, al
jne 0x1000bf59
push 0
push 0x100de924
lea ecx, [ebp - 0x458]
call fcn.100046c0
mov byte [ebp - 4], 0x10
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1000c26a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x46c], eax
push str.externalconfig
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x11
call fcn.10004280
test al, al
jne 0x1000bfa4
push 0xe
push str.externalconfig
lea ecx, [ebp - 0x46c]
call fcn.100046c0
mov byte [ebp - 4], 0x12
call fcn.1000aae0
push 0
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x46c]
push ecx
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0x13
call fcn.10009590
mov edx, dword [ebp - 0x45c]
mov eax, ebx
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bffc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x46c]
mov eax, ebx
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c01d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x458]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c03e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x45c]
push eax
call fcn.10053a90
add esp, 4
mov eax, dword [eax]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x1000c274
push eax
push dword [ebp - 0x460]
call fcn.100af6f9
mov edx, dword [ebp - 0x45c]
add esp, 8
test eax, eax
mov byte [ebp - 4], 6
mov eax, ebx
setne byte [ebp - 0x451]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c094
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x451], 0
je 0x1000c200
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c197
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configconfig.cpp
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.100058c0
mov byte [ebp - 4], 0x16
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x222
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10008480
mov esi, eax
push str.last_date:
push esi
mov byte [ebp - 4], 0x17
call fcn.10009b60
mov ecx, dword [ebp - 0x460]
mov eax, 0x100e1fb4
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10009f10
lea ecx, [ebp - 0x450]
call fcn.10003f50
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 6
call fcn.10003f50
mov ecx, dword [0x10117ddc]
test ecx, ecx
jne 0x1000c1fb
push 0x10113d9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10117ddc], 0
jne 0x1000c1ea
push 1
call fcn.100806a5
add esp, 4
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x1000c1d8
mov ecx, eax
call fcn.10002fe0
mov ecx, eax
jmp 0x1000c1da
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0x45c], eax
mov dword [0x10117ddc], ecx
push 0x10113d9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10117ddc]
call fcn.10014490
mov edx, dword [ebp - 0x460]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000c222
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.10080681
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
int3