Function at 0x10036f60
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156602
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x101a4494]
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 - 0xec], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x184]
push 0x98
push 0
push eax
mov dword [ebp - 0xe0], 0
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xd9]
call fcn.10035660
lea ecx, [ebp - 0x184]
mov esi, eax
call fcn.100090f0
mov edi, eax
push esi
push edi
mov dword [ebp - 4], 0
call fcn.100086f0
push str.Geeks::CPopWndMgr::ShowDesklnkDeletionWindow
push edi
call fcn.1000e150
push str.prepare_create_UI_wnd
push edi
call fcn.100086f0
add esp, 0x18
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x10037059
lea eax, [ebp - 0x184]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x180]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xe0], 2
cmovae eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc0]
call fcn.100098e0
lea ecx, [ebp - 0x184]
call fcn.10009fa0
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov esi, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov word [ebp - 0x28], ax
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 4
jb 0x100370ad
mov ebx, dword [ebx]
sub esp, 0x18
mov ecx, ebx
mov edx, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100370d0
sub ecx, edi
sar ecx, 1
push ecx
push ebx
mov ecx, edx
call fcn.1000bc10
mov ebx, dword [ebp - 0xec]
lea eax, [ebp - 0x90]
push eax
mov ecx, ebx
call fcn.10036450
cmp byte [ebp - 0x44], 0
mov byte [ebp - 4], 5
je 0x10037331
cmp dword [ebp - 0x80], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x1003714f
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push eax
call edi
test eax, eax
je 0x1003714f
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003714f
test al, 0x10
jne 0x10037196
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10034c90
or dword [ebp - 0xe0], 1
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10037177
mov eax, dword [eax]
cmp ecx, 4
jne 0x10037196
push ecx
push 0x101621c8
push eax
call fcn.1000ded0
add esp, 0xc
mov byte [ebp - 0xd9], 0
test eax, eax
je 0x1003719d
mov byte [ebp - 0xd9], 1
test byte [ebp - 0xe0], 1
je 0x100371b1
lea ecx, [ebp - 0xc0]
call fcn.100098e0
cmp byte [ebp - 0xd9], 0
jne 0x10037331
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xa8]
mov esi, dword [ebp - 0x48]
push eax
call fcn.1000bc10
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
push eax
call fcn.1000bc10
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x28]
push eax
call fcn.1000bc10
push ebx
mov dword [ebp - 0xe8], ebx
call fcn.100504eb
add esp, 4
test eax, eax
je 0x1003722b
push eax
call fcn.1005092b
add esp, 4
mov byte [ebp - 0xe4], 1
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x10037251
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1000bc10
lea ecx, [ebx + 0x48]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x1003726c
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000bc10
push ebx
mov byte [ebp - 4], 7
call fcn.10050510
add esp, 4
test eax, eax
je 0x10037286
push eax
call fcn.1005092b
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x1003732e
call fcn.10036a80
push 0
push 0x1016184c
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov edi, eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.1000bb20
lea eax, [ebp - 0xd8]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
push esi
push 0x1004
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0xe4], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebx + 0x84]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x10037316
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push 0
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.1004ebf0
lea ecx, [ebp - 0xd8]
call fcn.10009890
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x90]
call fcn.10035170
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10037376
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003736c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037419
push edx
push ecx
call fcn.100f4a6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 8
jb 0x100373bd
mov ecx, dword [ebp - 0x40]
lea edx, [esi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100373b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003741e
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x100373f9
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100373ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037423
push edx
push ecx
call fcn.100f4a6f
add esp, 8
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.100f4dc3
mov esp, ebp
pop ebp
ret 4
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
int3