Function at 0x100057d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1002428c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002f72c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
push 0x719
call fcn.100125ce
mov eax, dword [0x100308f4]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax]
sub ecx, dword [0x100308f0]
add esp, 4
lea eax, [ecx + edx - 0x580f]
mov ecx, dword [0x10030878]
mov edx, dword [0x10030874]
mov word [0x100308f4], ax
movzx eax, ax
push 0x100
sub ecx, eax
xor edi, edi
push edi
lea eax, [edx + ecx - 0xc]
push 0x1002addc
mov dword [0x10030874], eax
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
movzx ecx, word [0x100308ec]
mov edx, dword [0x10030874]
lea esi, [ecx + edx*2]
sub esi, dword [0x100308f0]
mov dword [0x100c0488], eax
add esi, 0xa7f1
mov dword [0x10030874], esi
call fcn.10005710
or ebx, 0xffffffff
test byte [0x100c1504], 1
mov dword [0x100308f0], eax
jne 0x100058bd
or dword [0x100c1504], 1
push 0x100c13d8
mov ecx, str.book_Th
mov dword [esp + 0x50], edi
call fcn.100084a0
push 0x10024360
call fcn.1001289a
mov dword [esp + 0x50], ebx
mov eax, dword [0x100308f0]
add esp, 4
mov esi, dword [esp + 0x58]
imul eax, eax, 0x10a4d
add esi, eax
movzx eax, word [0x10030896]
mov ecx, 2
mov dword [0x10030880], 0x189
mov dword [0x10030884], edi
mov dword [0x100c1028], ecx
cdq
lea esp, [esp]
movzx ebp, word [ecx*2 + 0x10030888]
imul esi, ebp
cmp eax, 0x189
jne 0x10005906
cmp edx, edi
je 0x1000590c
inc ecx
cmp ecx, 5
jl 0x100058f0
mov eax, dword [esp + 0x58]
mov dword [0x100c1028], ecx
mov ecx, dword [0x10030878]
add ecx, eax
lea edx, [ecx + esi + 0xedf7]
mov dword [0x100308f0], edx
mov edx, 0x189
mov dword [0x10030874], 0xffffffe4
call fcn.10005670
mov ecx, dword [0x100308f0]
mov dword [0x10030878], eax
mov eax, dword [0x10030880]
lea edx, [eax + ecx - 2]
sub eax, esi
test byte [0x100c1504], 2
lea eax, [ecx + eax - 0xc]
mov dword [0x1003087c], edi
mov dword [0x10030874], edx
mov dword [0x100308f0], eax
jne 0x100059a2
or dword [0x100c1504], 2
push 0x100c12a8
mov ecx, str.just_wom
mov dword [esp + 0x50], 1
call fcn.100084a0
push 0x10024350
call fcn.1001289a
add esp, 4
mov dword [esp + 0x4c], ebx
mov ecx, dword [0x100308f0]
lea edx, [ecx + esi + 4]
push str.live__Arm_break_Match_pr
push 0x100c13d8
lea esi, [esp + 0x38]
mov dword [0x10030880], edx
mov dword [0x10030884], edi
call fcn.10008520
mov dword [esp + 0x4c], 2
movzx eax, word [0x1003089a]
mov ecx, dword [0x100308f0]
cmp eax, ecx
ja 0x10005a0c
mov eax, dword [0x10030874]
mov edx, ecx
imul edx, edx, 0x10a4d
mov word [0x100308a4], ax
add eax, edx
lea ecx, [ecx + eax + 4]
inc eax
imul eax, ecx
mov dword [0x100308f0], ecx
mov dword [0x10030874], eax
push str.rathe_Instant_Boat
push 0x100c12a8
lea esi, [esp + 0x24]
call fcn.10008520
mov byte [esp + 0x4c], 3
mov esi, dword [0x10030874]
call fcn.10005710
mov ecx, 0x1d11
cmp word [0x1003089c], cx
jne 0x10005a50
movzx edx, word [0x10030898]
add edx, eax
lea esi, [esi + edx - 2]
mov dword [0x10030874], esi
sub esi, dword [0x10030878]
movzx eax, word [0x100308a8]
sub esi, 0x1c
mov dword [0x100308f0], esi
cmp eax, esi
jb 0x10005aa3
mov ecx, dword [0x100308ec]
mov esi, dword [0x1003088c]
mov edx, dword [0x10030880]
imul esi, ecx
movzx eax, cx
lea edx, [eax + edx - 2]
sub eax, edx
sub eax, 0x27
mov dword [0x100308f0], edx
mov word [0x1003088c], si
mov dword [0x10030880], eax
mov dword [0x10030884], edi
mov edx, dword [0x10030880]
call fcn.10004590
movzx edx, word [0x100308a8]
mov ecx, dword [0x100308f0]
mov dword [0x10030880], eax
mov dword [0x10030884], edi
cmp edx, ecx
jb 0x10005af6
mov esi, dword [0x100308ec]
movzx edx, si
lea ecx, [edx + eax - 2]
mov eax, dword [0x1003088c]
imul eax, esi
sub edx, ecx
sub edx, 0x27
mov word [0x1003088c], ax
mov dword [0x10030880], edx
mov dword [0x10030884], edi
mov bp, word [0x100308f4]
mov ebx, dword [0x10030878]
movzx edi, bp
mov edx, edi
imul edx, edx, 0x10a4d
add ecx, edx
mov esi, ebx
sub esi, ecx
mov dword [0x100308f0], ecx
mov eax, 8
sub esi, 0x27
sub word [eax*2 + 0x10030888], bx
sub eax, 2
cmp eax, 3
jg 0x10005b22
mov dword [0x100c1028], eax
cmp word [0x1003089a], bp
ja 0x10005b58
mov word [0x100308a4], cx
add ecx, edx
lea esi, [edi + ecx + 4]
imul ecx, esi
add ecx, edi
mov dword [0x100308f0], ecx
call fcn.10001650
mov eax, dword [esp + 0x58]
lea edi, [eax - 0x2304]
lea ecx, [eax + eax]
movzx eax, word [0x10030896]
sub ecx, edi
add ecx, 0xcad9
cdq
mov ebp, 2
mov ebx, ecx
mov dword [0x10030878], ecx
imul ebx, ebx, 0x10a4d
mov dword [0x1003087c], 0
mov dword [0x100c1028], ebp
mov dword [esp + 0x14], eax
movzx eax, word [ebp*2 + 0x10030888]
imul esi, eax
add edi, ebx
cmp ecx, dword [esp + 0x14]
jne 0x10005bbc
cmp dword [0x1003087c], edx
je 0x10005bc2
inc ebp
cmp ebp, 5
jl 0x10005ba1
movzx edx, word [0x100308a8]
mov dword [0x100308f0], edi
mov dword [0x100c1028], ebp
cmp edx, edi
jb 0x10005bf9
mov eax, ecx
imul eax, dword [0x1003088c]
lea edi, [ecx + esi - 2]
sub ecx, edi
sub ecx, 0x27
mov dword [0x100308f0], edi
mov word [0x1003088c], ax
mov esi, ecx
mov eax, dword [0x100308ec]
cmp word [0x1003089a], ax
ja 0x10005c2a
movzx eax, ax
mov ecx, eax
imul ecx, ecx, 0x10a4d
mov word [0x100308a4], di
add edi, ecx
lea esi, [eax + edi + 4]
imul edi, esi
add edi, eax
mov dword [0x100308f0], edi
push 0x719
push 0x100bf4b0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
movzx ebx, word [0x10030896]
mov ecx, dword [0x100308f0]
mov edx, 2
mov edi, esi
mov dword [0x100c1028], edx
imul edi, edi, 0x10a4d
lea ebx, [ebx]
movzx ebp, word [edx*2 + 0x10030888]
imul ecx, ebp
add eax, edi
cmp esi, ebx
je 0x10005c77
inc edx
cmp edx, 5
jl 0x10005c60
lea ecx, [eax + esi + 4]
mov dword [0x100c1028], edx
movzx edx, word [0x100308ec]
mov eax, ecx
sub eax, edx
lea esi, [esi + eax - 0xc]
lea eax, [ecx + esi - 2]
imul eax, ecx
add eax, esi
mov dword [0x10030874], eax
sub eax, edx
add eax, 0xc
sub dword [0x10030880], eax
mov eax, dword [esp + 0x28]
mov dword [0x100308f0], ecx
sbb dword [0x10030884], 0
test eax, eax
je 0x10005cc7
push eax
call fcn.100124f1
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10005cd8
push eax
call fcn.100124f1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc