Function at 0x1003d7f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b412
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100be518]
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 esi, ecx
mov dword [ebp - 0x2bc], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x54]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x2d8], ecx
test ecx, ecx
je 0x1003d84e
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp byte [esi + 0x50], 0
mov dword [ebp - 4], 0
je 0x1003d862
mov bl, 1
jmp 0x1003e220
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003d867
sub ecx, edx
add esi, 0x70
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.10005630
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1003d88e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e220
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x1003d8c4
mov esi, dword [esi]
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.1003e790
add esp, 8
test eax, eax
jne 0x1003d918
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], al
cmp edx, 0x10
jb 0x1003e205
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e1fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
jmp 0x1003e1fb
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
push 0x24
push str.0B366EA2_A363_4D44_965A_A63918D5B6A9
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10005540
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1002c860
mov edx, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 2
sete bh
cmp edx, 0x10
jb 0x1003d9c8
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d9be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e25c
push edx
push ecx
call fcn.1002f4a1
add esp, 8
test bh, bh
je 0x1003da6a
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x1003da0e
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003da04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e261
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003e205
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e1fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e266
jmp 0x1003e1fb
lea ecx, [ebp - 0x2f4]
call fcn.100370d0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10037b90
test al, al
jne 0x1003dab5
lea ecx, [ebp - 0x2f4]
call fcn.10034c20
lea ecx, [ebp - 0x290]
call fcn.10004470
lea ecx, [ebp - 0x248]
call fcn.10004470
jmp 0x1003e220
push 4
push str.info
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10005540
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10037300
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2d4], edi
call fcn.10004470
call fcn.10004ab0
mov ecx, eax
test ecx, ecx
je 0x1003e26b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x1009eb40
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.10010440
test al, al
jne 0x1003db56
push 0
push 0x1009eb40
lea ecx, [ebp - 0x2ac]
call fcn.1000aad0
push 7
push str.version
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10005540
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100379e0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 9
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003dbc0
mov ebx, dword [ebp - 0x2bc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x18]
call fcn.10005630
mov edx, dword [ebp - 0x2b4]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003dc01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10004470
mov edx, dword [ebp - 0x2ac]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003dc2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x2b4], esi
test edi, edi
jle 0x1003e1dd
push dword [ebp - 0x2c0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call edi
push 4
push str.info
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10005540
push esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10037200
mov ecx, eax
call fcn.10034ec0
push eax
lea ecx, [ebp - 0x30c]
call fcn.10037070
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x1003dce8
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dcde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10004ab0
mov ecx, eax
test ecx, ecx
je 0x1003e26b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x1009eb40
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
call fcn.10010440
test al, al
jne 0x1003dd4a
push 0
push 0x1009eb40
lea ecx, [ebp - 0x2ac]
call fcn.1000aad0
push 0xa
push str.product_id
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10005540
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x30c]
call fcn.100379e0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003ddd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.10005630
mov edx, dword [ebp - 0x2c4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003de0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x1003de4c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003de42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov edx, dword [ebp - 0x2ac]
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003de89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004ab0
mov ecx, eax
test ecx, ecx
je 0x1003e26b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2b0], eax
push 0x1009eb40
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x15
call fcn.10010440
test al, al
jne 0x1003ded0
push 0
push 0x1009eb40
lea ecx, [ebp - 0x2b0]
call fcn.1000aad0
push 0x11
push str.main_process_name
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10005540
push 0xfde9
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x30c]
call fcn.100379e0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003df52
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10005630
mov edx, dword [ebp - 0x2c8]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003df90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x1b
cmp edx, 0x10
jb 0x1003dfce
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dfc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov edx, dword [ebp - 0x2b0]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e00b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
cmp dword [ebx + 0x10], 0
jne 0x1003e066
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e066
lea eax, [ebp - 0x278]
cmp ebx, eax
je 0x1003e066
cmp dword [ebp - 0x264], 8
mov ecx, ebx
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.10005630
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.10038ab0
mov esi, eax
cmp esi, dword [ebx + 0x88]
je 0x1003e09c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.10038f10
test al, al
je 0x1003e0e4
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2cc], eax
lea ecx, [ebx + 0x88]
lea eax, [ebp - 0x2b5]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x100a39f5
call fcn.100382c0
push eax
add eax, 0x10
lea ecx, [ebx + 0x88]
push eax
push esi
lea eax, [ebp - 0x2d0]
push eax
call fcn.10038650
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x30c]
push eax
lea ecx, [esi + 0x28]
call fcn.10037140
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x1003e137
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e12d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x1003e198
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e18e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e257
push edx
push ecx
call fcn.1002f4a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 4
call fcn.10034c20
mov esi, dword [ebp - 0x2b4]
inc esi
mov dword [ebp - 0x2b4], esi
cmp esi, dword [ebp - 0x2d4]
jl 0x1003dc3e
mov esi, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2f4]
mov bl, 1
mov byte [esi + 0x50], bl
call fcn.10034c20
mov byte [ebp - 4], bl
jmp 0x1003d9d4
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 4], 0x1d
test edx, edx
je 0x1003e237
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov al, bl
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.1002f820
mov esp, ebp
pop ebp
ret 8
call fcn.10062769
call fcn.10062769
call fcn.10062769
call fcn.10062769
push 0x80004005
call fcn.100087a0
int3